Enum CardholderStatus

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<CardholderStatus>

    public enum CardholderStatus
    extends java.lang.Enum<CardholderStatus>
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static CardholderStatus valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static CardholderStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • PENDING

        @SerializedName("pending")
        public static final CardholderStatus PENDING
      • RESTRICTED

        @SerializedName("restricted")
        public static final CardholderStatus RESTRICTED
      • REQUIREMENTS_DUE

        @SerializedName("requirements_due")
        public static final CardholderStatus REQUIREMENTS_DUE
      • INACTIVE

        @SerializedName("inactive")
        public static final CardholderStatus INACTIVE
      • REJECTED

        @SerializedName("rejected")
        public static final CardholderStatus REJECTED
    • Method Detail

      • values

        public static CardholderStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CardholderStatus c : CardholderStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CardholderStatus valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null