public static enum ChargeRequest.TenderType extends java.lang.Enum<ChargeRequest.TenderType>
Enum Constant and Description |
---|
CARD
Allow Magstripe cards, Chip Cards, Keyed-In Cards, Contactless (NFC) Payments, Square
Prepaid Gift Cards. For Japanese sellers, also allows E-money payments.
|
CARD_ON_FILE
Allow Card On File transactions.
|
CASH
Allow Cash transactions.
|
OTHER
Allow Check, Third-Party Gift Cards, and Other Tender transactions.
|
PAYPAY
Allow PayPay transactions.
|
Modifier and Type | Method and Description |
---|---|
static ChargeRequest.TenderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChargeRequest.TenderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChargeRequest.TenderType CARD
Note: For Japanese sellers, also accepts E-money payments for Transportation IC, QUICPay, and iD.
public static final ChargeRequest.TenderType CARD_ON_FILE
public static final ChargeRequest.TenderType CASH
public static final ChargeRequest.TenderType OTHER
public static final ChargeRequest.TenderType PAYPAY
public static ChargeRequest.TenderType[] values()
for (ChargeRequest.TenderType c : ChargeRequest.TenderType.values()) System.out.println(c);
public static ChargeRequest.TenderType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null