Package io.sendon.payment.response
Enum GetPaymentHistories.ChargeStatus
- java.lang.Object
-
- java.lang.Enum<GetPaymentHistories.ChargeStatus>
-
- io.sendon.payment.response.GetPaymentHistories.ChargeStatus
-
- All Implemented Interfaces:
Serializable,Comparable<GetPaymentHistories.ChargeStatus>
- Enclosing class:
- GetPaymentHistories
public static enum GetPaymentHistories.ChargeStatus extends Enum<GetPaymentHistories.ChargeStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCEL_COMPLETECANCEL_FAILEDCANCEL_PENDINGCHARGE_COMPLETE
-
Field Summary
Fields Modifier and Type Field Description StringchargeStatus
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GetPaymentHistories.ChargeStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static GetPaymentHistories.ChargeStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHARGE_COMPLETE
public static final GetPaymentHistories.ChargeStatus CHARGE_COMPLETE
-
CANCEL_PENDING
public static final GetPaymentHistories.ChargeStatus CANCEL_PENDING
-
CANCEL_FAILED
public static final GetPaymentHistories.ChargeStatus CANCEL_FAILED
-
CANCEL_COMPLETE
public static final GetPaymentHistories.ChargeStatus CANCEL_COMPLETE
-
-
Field Detail
-
chargeStatus
public final String chargeStatus
-
-
Method Detail
-
values
public static GetPaymentHistories.ChargeStatus[] 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.ChargeStatus c : GetPaymentHistories.ChargeStatus.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.ChargeStatus 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
-
-