Enum Transaction.StatusEnum
- java.lang.Object
-
- java.lang.Enum<Transaction.StatusEnum>
-
- software.amazon.spapi.models.vendor.transactionstatus.v1.Transaction.StatusEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Transaction.StatusEnum>
- Enclosing class:
- Transaction
public static enum Transaction.StatusEnum extends java.lang.Enum<Transaction.StatusEnum>
Current processing status of the transaction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Transaction.StatusEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILURE
PROCESSING
SUCCESS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Transaction.StatusEnum
fromValue(java.lang.String input)
java.lang.String
getValue()
java.lang.String
toString()
static Transaction.StatusEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Transaction.StatusEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAILURE
@SerializedName("Failure") public static final Transaction.StatusEnum FAILURE
-
PROCESSING
@SerializedName("Processing") public static final Transaction.StatusEnum PROCESSING
-
SUCCESS
@SerializedName("Success") public static final Transaction.StatusEnum SUCCESS
-
-
Method Detail
-
values
public static Transaction.StatusEnum[] 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 (Transaction.StatusEnum c : Transaction.StatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Transaction.StatusEnum 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
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Transaction.StatusEnum>
-
fromValue
public static Transaction.StatusEnum fromValue(java.lang.String input)
-
-