Enum StateType.StateTypeEnum
java.lang.Object
java.lang.Enum<StateType.StateTypeEnum>
com.commercetools.history.models.common.StateType.StateTypeEnum
- All Implemented Interfaces:
StateType,io.vrap.rmf.base.client.JsonEnum,Serializable,Comparable<StateType.StateTypeEnum>,java.lang.constant.Constable
- Enclosing interface:
- StateType
public static enum StateType.StateTypeEnum
extends Enum<StateType.StateTypeEnum>
implements StateType
possible values of StateType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface com.commercetools.history.models.common.StateType
StateType.StateTypeEnum -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLineItemStateOrderStatePaymentStateProductStateReviewState -
Field Summary
Fields inherited from interface com.commercetools.history.models.common.StateType
LINE_ITEM_STATE, ORDER_STATE, PAYMENT_STATE, PRODUCT_STATE, REVIEW_STATE -
Method Summary
Modifier and TypeMethodDescriptionthe JSON valuetoString()convert value to stringstatic StateType.StateTypeEnumReturns the enum constant of this type with the specified name.static StateType.StateTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
ORDER_STATE
OrderState -
LINE_ITEM_STATE
LineItemState -
PRODUCT_STATE
ProductState -
REVIEW_STATE
ReviewState -
PAYMENT_STATE
PaymentState
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getJsonName
Description copied from interface:StateTypethe JSON value- Specified by:
getJsonNamein interfaceio.vrap.rmf.base.client.JsonEnum- Specified by:
getJsonNamein interfaceStateType- Returns:
- json value
-
toString
Description copied from interface:StateTypeconvert value to string- Specified by:
toStringin interfaceio.vrap.rmf.base.client.JsonEnum- Specified by:
toStringin interfaceStateType- Overrides:
toStringin classEnum<StateType.StateTypeEnum>- Returns:
- string representation
-