Package model
Enum PaymentInstrument.InstrumentTypeEnum
- java.lang.Object
-
- java.lang.Enum<PaymentInstrument.InstrumentTypeEnum>
-
- model.PaymentInstrument.InstrumentTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PaymentInstrument.InstrumentTypeEnum>
- Enclosing class:
- PaymentInstrument
public static enum PaymentInstrument.InstrumentTypeEnum extends Enum<PaymentInstrument.InstrumentTypeEnum>
The type of `Payment Instrument`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentInstrument.InstrumentTypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLE_PAYBANK_ACCOUNTGOOGLE_PAYPAYMENT_CARDPAYMENT_CARD_PRESENTSWIPED_PAYMENT_CARDTOKENUNKNOWN_DEFAULTVANTIV_OMNI_TOKENVIRTUAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentInstrument.InstrumentTypeEnumfromValue(String value)StringgetRawValue()StringgetValue()voidsetRawValue(String s)StringtoString()static PaymentInstrument.InstrumentTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PaymentInstrument.InstrumentTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BANK_ACCOUNT
public static final PaymentInstrument.InstrumentTypeEnum BANK_ACCOUNT
-
TOKEN
public static final PaymentInstrument.InstrumentTypeEnum TOKEN
-
APPLE_PAY
public static final PaymentInstrument.InstrumentTypeEnum APPLE_PAY
-
VIRTUAL
public static final PaymentInstrument.InstrumentTypeEnum VIRTUAL
-
PAYMENT_CARD_PRESENT
public static final PaymentInstrument.InstrumentTypeEnum PAYMENT_CARD_PRESENT
-
GOOGLE_PAY
public static final PaymentInstrument.InstrumentTypeEnum GOOGLE_PAY
-
VANTIV_OMNI_TOKEN
public static final PaymentInstrument.InstrumentTypeEnum VANTIV_OMNI_TOKEN
-
SWIPED_PAYMENT_CARD
public static final PaymentInstrument.InstrumentTypeEnum SWIPED_PAYMENT_CARD
-
PAYMENT_CARD
public static final PaymentInstrument.InstrumentTypeEnum PAYMENT_CARD
-
UNKNOWN_DEFAULT
public static final PaymentInstrument.InstrumentTypeEnum UNKNOWN_DEFAULT
-
-
Method Detail
-
values
public static PaymentInstrument.InstrumentTypeEnum[] 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.InstrumentTypeEnum c : PaymentInstrument.InstrumentTypeEnum.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.InstrumentTypeEnum 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.InstrumentTypeEnum>
-
setRawValue
public void setRawValue(String s)
-
getRawValue
public String getRawValue()
-
fromValue
public static PaymentInstrument.InstrumentTypeEnum fromValue(String value)
-
-