public static enum Transaction.Type extends Enum<Transaction.Type>
Enum Constant and Description |
---|
_UNKNOWN |
AUTHORIZATION |
PAYMENT |
PAYMENT_REVERSAL |
REFUND |
Modifier and Type | Method and Description |
---|---|
static Transaction.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.Type AUTHORIZATION
public static final Transaction.Type PAYMENT
public static final Transaction.Type REFUND
public static final Transaction.Type PAYMENT_REVERSAL
public static final Transaction.Type _UNKNOWN
public static Transaction.Type[] values()
for (Transaction.Type c : Transaction.Type.values()) System.out.println(c);
public static Transaction.Type 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 nullCopyright © 2023 ChargeBee. All rights reserved.