Enum Class Address.Type

java.lang.Object
java.lang.Enum<Address.Type>
net.codecrete.qrbill.generator.Address.Type
All Implemented Interfaces:
Serializable, Comparable<Address.Type>, Constable
Enclosing class:
Address

public static enum Address.Type extends Enum<Address.Type>
Address type.

Staring November 21, 2025, banks will only accepts payments with structured addresses.

  • Enum Constant Details

    • UNDETERMINED

      public static final Address.Type UNDETERMINED
      Undetermined

      This is a temporary state and not suitable for a valid payment.

    • STRUCTURED

      public static final Address.Type STRUCTURED
      Structured address
    • COMBINED_ELEMENTS

      public static final Address.Type COMBINED_ELEMENTS
      Combined address elements
    • CONFLICTING

      public static final Address.Type CONFLICTING
      Conflicting

      This a an invalid state and will prevent the generation of a QR bill.

  • Method Details

    • values

      public static Address.Type[] 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

      public static Address.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null