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