Enum ChangeHistoryResourceType.ChangeHistoryResourceTypeEnum
java.lang.Object
java.lang.Enum<ChangeHistoryResourceType.ChangeHistoryResourceTypeEnum>
com.commercetools.history.models.change_history.ChangeHistoryResourceType.ChangeHistoryResourceTypeEnum
- All Implemented Interfaces:
ChangeHistoryResourceType
,JsonEnum
,Serializable
,Comparable<ChangeHistoryResourceType.ChangeHistoryResourceTypeEnum>
,java.lang.constant.Constable
- Enclosing interface:
- ChangeHistoryResourceType
public static enum ChangeHistoryResourceType.ChangeHistoryResourceTypeEnum
extends Enum<ChangeHistoryResourceType.ChangeHistoryResourceTypeEnum>
implements ChangeHistoryResourceType
possible values of ChangeHistoryResourceType
-
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.change_history.ChangeHistoryResourceType
ChangeHistoryResourceType.ChangeHistoryResourceTypeEnum
-
Enum Constant Summary
Enum ConstantDescriptionassociate-rolebusiness-unitcart-discountcategorychannelcustomercustomer-groupdiscount-codeinventory-entrykey-value-documentorderpaymentproductproduct-discountproduct-selectionproduct-typequotequote-requestreviewshopping-liststaged-quotestatestoretax-categorytypezone -
Field Summary
Fields inherited from interface com.commercetools.history.models.change_history.ChangeHistoryResourceType
ASSOCIATE_ROLE, BUSINESS_UNIT, CART_DISCOUNT, CATEGORY, CHANNEL, CUSTOMER, CUSTOMER_GROUP, DISCOUNT_CODE, INVENTORY_ENTRY, KEY_VALUE_DOCUMENT, ORDER, PAYMENT, PRODUCT, PRODUCT_DISCOUNT, PRODUCT_SELECTION, PRODUCT_TYPE, QUOTE, QUOTE_REQUEST, REVIEW, SHOPPING_LIST, STAGED_QUOTE, STATE, STORE, TAX_CATEGORY, TYPE, ZONE
-
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from interface com.commercetools.history.models.change_history.ChangeHistoryResourceType
name
-
Enum Constant Details
-
ASSOCIATE_ROLE
associate-role -
BUSINESS_UNIT
business-unit -
CART_DISCOUNT
cart-discount -
CATEGORY
category -
CHANNEL
channel -
CUSTOMER
customer -
CUSTOMER_GROUP
customer-group -
DISCOUNT_CODE
discount-code -
INVENTORY_ENTRY
inventory-entry -
KEY_VALUE_DOCUMENT
key-value-document -
ORDER
order -
PAYMENT
payment -
PRODUCT
product -
PRODUCT_DISCOUNT
product-discount -
PRODUCT_SELECTION
product-selection -
PRODUCT_TYPE
product-type -
QUOTE_REQUEST
quote-request -
QUOTE
quote -
REVIEW
review -
SHOPPING_LIST
shopping-list -
STAGED_QUOTE
staged-quote -
STATE
state -
STORE
store -
TAX_CATEGORY
tax-category -
TYPE
type -
ZONE
zone
-
-
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:ChangeHistoryResourceType
the JSON value- Specified by:
getJsonName
in interfaceChangeHistoryResourceType
- Specified by:
getJsonName
in interfaceJsonEnum
- Returns:
- json value
-
toString
Description copied from interface:ChangeHistoryResourceType
convert value to string- Specified by:
toString
in interfaceChangeHistoryResourceType
- Specified by:
toString
in interfaceJsonEnum
- Overrides:
toString
in classEnum<ChangeHistoryResourceType.ChangeHistoryResourceTypeEnum>
- Returns:
- string representation
-