public enum PaymentInstrumentType extends Enum<PaymentInstrumentType>
Java class for PaymentInstrumentType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PaymentInstrumentType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Card"/>
<enumeration value="Check"/>
<enumeration value="Mobile"/>
<enumeration value="StoredValue"/>
<enumeration value="Cash"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CARD
Payment card (credit or debit).
|
CASH
Cash managed by a cash handling system.
|
CHECK
Paper check.
|
MOBILE
Operator account accessed by a mobile phone.
|
STORED_VALUE
Account accesed by a stored value instrument such as a card or a certificate.
|
| Modifier and Type | Method and Description |
|---|---|
static PaymentInstrumentType |
fromValue(String v)
From value payment instrument type.
|
String |
value()
Value string.
|
static PaymentInstrumentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentInstrumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentInstrumentType CARD
public static final PaymentInstrumentType CHECK
public static final PaymentInstrumentType MOBILE
public static final PaymentInstrumentType STORED_VALUE
public static final PaymentInstrumentType CASH
public static PaymentInstrumentType[] values()
for (PaymentInstrumentType c : PaymentInstrumentType.values()) System.out.println(c);
public static PaymentInstrumentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static PaymentInstrumentType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.