Package io.sendon.payment.response
Enum GetPaymentHistories.ChargeMethod
- java.lang.Object
-
- java.lang.Enum<GetPaymentHistories.ChargeMethod>
-
- io.sendon.payment.response.GetPaymentHistories.ChargeMethod
-
- All Implemented Interfaces:
Serializable,Comparable<GetPaymentHistories.ChargeMethod>
- Enclosing class:
- GetPaymentHistories
public static enum GetPaymentHistories.ChargeMethod extends Enum<GetPaymentHistories.ChargeMethod>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANK_TRANSFERCREDIT_CARDVACCOUNT
-
Field Summary
Fields Modifier and Type Field Description StringchargeMethod
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GetPaymentHistories.ChargeMethodvalueOf(String name)Returns the enum constant of this type with the specified name.static GetPaymentHistories.ChargeMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VACCOUNT
public static final GetPaymentHistories.ChargeMethod VACCOUNT
-
CREDIT_CARD
public static final GetPaymentHistories.ChargeMethod CREDIT_CARD
-
BANK_TRANSFER
public static final GetPaymentHistories.ChargeMethod BANK_TRANSFER
-
-
Field Detail
-
chargeMethod
public final String chargeMethod
-
-
Method Detail
-
values
public static GetPaymentHistories.ChargeMethod[] 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 (GetPaymentHistories.ChargeMethod c : GetPaymentHistories.ChargeMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetPaymentHistories.ChargeMethod 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
-
-