Enum Class PassportElementType

java.lang.Object
java.lang.Enum<PassportElementType>
io.github.natanimn.telebof.enums.PassportElementType
All Implemented Interfaces:
Serializable, Comparable<PassportElementType>, Constable

public enum PassportElementType extends Enum<PassportElementType>
Describes passport element type
Since:
26 July 2025
  • Enum Constant Details

    • PERSONAL_DETAILS

      @SerializedName("personal_details") public static final PassportElementType PERSONAL_DETAILS
    • PASSPORT

      @SerializedName("passport") public static final PassportElementType PASSPORT
    • DRIVER_LICENSE

      @SerializedName("driver_license") public static final PassportElementType DRIVER_LICENSE
    • IDENTITY_CARD

      @SerializedName("identity_card") public static final PassportElementType IDENTITY_CARD
    • INTERNAL_PASSPORT

      @SerializedName("internal_passport") public static final PassportElementType INTERNAL_PASSPORT
    • ADDRESS

      @SerializedName("address") public static final PassportElementType ADDRESS
    • UTILITY_BILL

      @SerializedName("utility_bill") public static final PassportElementType UTILITY_BILL
    • BANK_STATEMENT

      @SerializedName("bank_statement") public static final PassportElementType BANK_STATEMENT
    • RENTAL_AGREEMENT

      @SerializedName("rental_agreement") public static final PassportElementType RENTAL_AGREEMENT
    • PASSPORT_REGISTRATION

      @SerializedName("passport_registration") public static final PassportElementType PASSPORT_REGISTRATION
    • TEMPORARY_REGISTRATION

      @SerializedName("temporary_registration") public static final PassportElementType TEMPORARY_REGISTRATION
    • EMAIL

      @SerializedName("email") public static final PassportElementType EMAIL
    • PHONE_NUMBER

      @SerializedName("phone_number") public static final PassportElementType PHONE_NUMBER
  • Method Details

    • values

      public static PassportElementType[] 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 PassportElementType 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