Package net.codecrete.qrbill.generator
Enum Class Address.Type
- All Implemented Interfaces:
Serializable
,Comparable<Address.Type>
,Constable
- Enclosing class:
Address
Address type.
Staring November 21, 2025, banks will only accepts payments with structured addresses.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCombined address elementsConflictingStructured addressUndetermined -
Method Summary
Modifier and TypeMethodDescriptionstatic Address.Type
Returns the enum constant of this class with the specified name.static Address.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNDETERMINED
UndeterminedThis is a temporary state and not suitable for a valid payment.
-
STRUCTURED
Structured address -
COMBINED_ELEMENTS
Combined address elements -
CONFLICTING
ConflictingThis a an invalid state and will prevent the generation of a QR bill.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-