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