Package cz.gopay.api.v3.model.payment
Enum Payment.SessionState
- java.lang.Object
-
- java.lang.Enum<Payment.SessionState>
-
- cz.gopay.api.v3.model.payment.Payment.SessionState
-
- All Implemented Interfaces:
Serializable,Comparable<Payment.SessionState>
- Enclosing class:
- Payment
public static enum Payment.SessionState extends Enum<Payment.SessionState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHORIZEDCANCELEDCREATEDPAIDPARTIALLY_REFUNDEDPAYMENT_METHOD_CHOSENREFUNDEDTIMEOUTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Payment.SessionStatevalueOf(String name)Returns the enum constant of this type with the specified name.static Payment.SessionState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final Payment.SessionState CREATED
-
PAYMENT_METHOD_CHOSEN
public static final Payment.SessionState PAYMENT_METHOD_CHOSEN
-
PAID
public static final Payment.SessionState PAID
-
AUTHORIZED
public static final Payment.SessionState AUTHORIZED
-
CANCELED
public static final Payment.SessionState CANCELED
-
TIMEOUTED
public static final Payment.SessionState TIMEOUTED
-
REFUNDED
public static final Payment.SessionState REFUNDED
-
PARTIALLY_REFUNDED
public static final Payment.SessionState PARTIALLY_REFUNDED
-
-
Method Detail
-
values
public static Payment.SessionState[] 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 (Payment.SessionState c : Payment.SessionState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Payment.SessionState 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
-
-