Package com.clover.common2.payments
Enum PayIntent.TransactionType
- java.lang.Object
-
- java.lang.Enum<PayIntent.TransactionType>
-
- com.clover.common2.payments.PayIntent.TransactionType
-
- All Implemented Interfaces:
Serializable
,Comparable<PayIntent.TransactionType>
- Enclosing class:
- PayIntent
public static enum PayIntent.TransactionType extends Enum<PayIntent.TransactionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTH
BALANCE_INQUIRY
CAPTURE_PREAUTH
CASH_ADVANCE
CREDIT
CREDIT_REVERSAL
DATA
PAYMENT
PAYMENT_ADJUSTMENT
PAYMENT_REVERSAL
REFUND_ADJUSTMENT
TOKENIZE_CARD
VAS_DATA
VERIFY_CARD
-
Field Summary
Fields Modifier and Type Field Description String
intentValue
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PayIntent.TransactionType
getForValue(String intentValue)
static PayIntent.TransactionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PayIntent.TransactionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAYMENT
public static final PayIntent.TransactionType PAYMENT
-
CREDIT
public static final PayIntent.TransactionType CREDIT
-
AUTH
public static final PayIntent.TransactionType AUTH
-
DATA
public static final PayIntent.TransactionType DATA
-
BALANCE_INQUIRY
public static final PayIntent.TransactionType BALANCE_INQUIRY
-
PAYMENT_REVERSAL
public static final PayIntent.TransactionType PAYMENT_REVERSAL
-
PAYMENT_ADJUSTMENT
public static final PayIntent.TransactionType PAYMENT_ADJUSTMENT
-
CREDIT_REVERSAL
public static final PayIntent.TransactionType CREDIT_REVERSAL
-
REFUND_ADJUSTMENT
public static final PayIntent.TransactionType REFUND_ADJUSTMENT
-
CASH_ADVANCE
public static final PayIntent.TransactionType CASH_ADVANCE
-
CAPTURE_PREAUTH
public static final PayIntent.TransactionType CAPTURE_PREAUTH
-
VAS_DATA
public static final PayIntent.TransactionType VAS_DATA
-
VERIFY_CARD
public static final PayIntent.TransactionType VERIFY_CARD
-
TOKENIZE_CARD
public static final PayIntent.TransactionType TOKENIZE_CARD
-
-
Field Detail
-
intentValue
public final String intentValue
-
-
Method Detail
-
values
public static PayIntent.TransactionType[] 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 (PayIntent.TransactionType c : PayIntent.TransactionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PayIntent.TransactionType 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
-
getForValue
public static PayIntent.TransactionType getForValue(String intentValue)
-
-