Package model
Enum PaymentInstrument.AddressVerificationEnum
- java.lang.Object
-
- java.lang.Enum<PaymentInstrument.AddressVerificationEnum>
-
- model.PaymentInstrument.AddressVerificationEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PaymentInstrument.AddressVerificationEnum>
- Enclosing class:
- PaymentInstrument
public static enum PaymentInstrument.AddressVerificationEnum extends Enum<PaymentInstrument.AddressVerificationEnum>
Additional address information that’s required to verify the identity of the merchant.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentInstrument.AddressVerificationEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_ADDRESSNO_MATCHNOT_SUPPORTEDPOSTAL_CODE_AND_STREET_MATCHPOSTAL_CODE_MATCHSTREET_MATCHUNKNOWNUNKNOWN_DEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentInstrument.AddressVerificationEnumfromValue(String value)StringgetRawValue()StringgetValue()voidsetRawValue(String s)StringtoString()static PaymentInstrument.AddressVerificationEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PaymentInstrument.AddressVerificationEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POSTAL_CODE_AND_STREET_MATCH
public static final PaymentInstrument.AddressVerificationEnum POSTAL_CODE_AND_STREET_MATCH
-
STREET_MATCH
public static final PaymentInstrument.AddressVerificationEnum STREET_MATCH
-
POSTAL_CODE_MATCH
public static final PaymentInstrument.AddressVerificationEnum POSTAL_CODE_MATCH
-
NO_ADDRESS
public static final PaymentInstrument.AddressVerificationEnum NO_ADDRESS
-
NO_MATCH
public static final PaymentInstrument.AddressVerificationEnum NO_MATCH
-
NOT_SUPPORTED
public static final PaymentInstrument.AddressVerificationEnum NOT_SUPPORTED
-
UNKNOWN
public static final PaymentInstrument.AddressVerificationEnum UNKNOWN
-
UNKNOWN_DEFAULT
public static final PaymentInstrument.AddressVerificationEnum UNKNOWN_DEFAULT
-
-
Method Detail
-
values
public static PaymentInstrument.AddressVerificationEnum[] 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 (PaymentInstrument.AddressVerificationEnum c : PaymentInstrument.AddressVerificationEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentInstrument.AddressVerificationEnum valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<PaymentInstrument.AddressVerificationEnum>
-
setRawValue
public void setRawValue(String s)
-
getRawValue
public String getRawValue()
-
fromValue
public static PaymentInstrument.AddressVerificationEnum fromValue(String value)
-
-