Package com.xendit.model
Enum CreditCardEnum.ChargeType
- java.lang.Object
-
- java.lang.Enum<CreditCardEnum.ChargeType>
-
- com.xendit.model.CreditCardEnum.ChargeType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CreditCardEnum.ChargeType>
- Enclosing class:
- CreditCardEnum
public static enum CreditCardEnum.ChargeType extends java.lang.Enum<CreditCardEnum.ChargeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MULTIPLE_USE_TOKENRECURRINGSINGLE_USE_TOKEN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CreditCardEnum.ChargeTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CreditCardEnum.ChargeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_USE_TOKEN
public static final CreditCardEnum.ChargeType SINGLE_USE_TOKEN
-
MULTIPLE_USE_TOKEN
public static final CreditCardEnum.ChargeType MULTIPLE_USE_TOKEN
-
RECURRING
public static final CreditCardEnum.ChargeType RECURRING
-
-
Method Detail
-
values
public static CreditCardEnum.ChargeType[] 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 (CreditCardEnum.ChargeType c : CreditCardEnum.ChargeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreditCardEnum.ChargeType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-