public static enum TenderCardDetails.EntryMethod extends java.lang.Enum<TenderCardDetails.EntryMethod>
Enum Constant and Description |
---|
CHIP
The card was processed as a chip card transaction (EMV) with a Square Reader.
|
CONTACTLESS
The card was processed as a contactless transaction (NFC) with a Square Reader.
|
MANUALLY_ENTERED
The card information was typed in manually.
|
SWIPE
The card was swiped through a Square Reader.
|
Modifier and Type | Method and Description |
---|---|
static TenderCardDetails.EntryMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TenderCardDetails.EntryMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TenderCardDetails.EntryMethod MANUALLY_ENTERED
public static final TenderCardDetails.EntryMethod SWIPE
public static final TenderCardDetails.EntryMethod CHIP
public static final TenderCardDetails.EntryMethod CONTACTLESS
public static TenderCardDetails.EntryMethod[] values()
for (TenderCardDetails.EntryMethod c : TenderCardDetails.EntryMethod.values()) System.out.println(c);
public static TenderCardDetails.EntryMethod 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