Enum ReferenceTypeId.ReferenceTypeIdEnum
java.lang.Object
java.lang.Enum<ReferenceTypeId.ReferenceTypeIdEnum>
com.commercetools.api.models.common.ReferenceTypeId.ReferenceTypeIdEnum
- All Implemented Interfaces:
ReferenceTypeId
,JsonEnum
,Serializable
,Comparable<ReferenceTypeId.ReferenceTypeIdEnum>
,java.lang.constant.Constable
- Enclosing interface:
- ReferenceTypeId
public static enum ReferenceTypeId.ReferenceTypeIdEnum
extends Enum<ReferenceTypeId.ReferenceTypeIdEnum>
implements ReferenceTypeId
possible values of ReferenceTypeId
-
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.api.models.common.ReferenceTypeId
ReferenceTypeId.ReferenceTypeIdEnum
-
Enum Constant Summary
Enum ConstantDescriptionapproval-flowapproval-ruleassociate-roleattribute-groupbusiness-unitcartcart-discountcategorychannelcustomercustomer-email-tokencustomer-groupcustomer-password-tokendirect-discountdiscount-codeextensioninventory-entrykey-value-documentorderorder-editpaymentproductproduct-discountproduct-priceproduct-selectionproduct-tailoringproduct-typequotequote-requestreviewshipping-methodshopping-liststaged-quotestandalone-pricestatestoresubscriptiontax-categorytypezone -
Field Summary
Fields inherited from interface com.commercetools.api.models.common.ReferenceTypeId
APPROVAL_FLOW, APPROVAL_RULE, ASSOCIATE_ROLE, ATTRIBUTE_GROUP, BUSINESS_UNIT, CART, CART_DISCOUNT, CATEGORY, CHANNEL, CUSTOMER, CUSTOMER_EMAIL_TOKEN, CUSTOMER_GROUP, CUSTOMER_PASSWORD_TOKEN, DIRECT_DISCOUNT, DISCOUNT_CODE, EXTENSION, INVENTORY_ENTRY, KEY_VALUE_DOCUMENT, ORDER, ORDER_EDIT, PAYMENT, PRODUCT, PRODUCT_DISCOUNT, PRODUCT_PRICE, PRODUCT_SELECTION, PRODUCT_TAILORING, PRODUCT_TYPE, QUOTE, QUOTE_REQUEST, REVIEW, SHIPPING_METHOD, SHOPPING_LIST, STAGED_QUOTE, STANDALONE_PRICE, STATE, STORE, SUBSCRIPTION, TAX_CATEGORY, TYPE, ZONE
-
Method Summary
Modifier and TypeMethodDescriptionthe JSON valuetoString()
convert value to stringReturns the enum constant of this type with the specified name.static ReferenceTypeId.ReferenceTypeIdEnum[]
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
Methods inherited from interface com.commercetools.api.models.common.ReferenceTypeId
name
-
Enum Constant Details
-
APPROVAL_FLOW
approval-flow -
APPROVAL_RULE
approval-rule -
ASSOCIATE_ROLE
associate-role -
ATTRIBUTE_GROUP
attribute-group -
BUSINESS_UNIT
business-unit -
CART
cart -
CART_DISCOUNT
cart-discount -
CATEGORY
category -
CHANNEL
channel -
CUSTOMER
customer -
CUSTOMER_EMAIL_TOKEN
customer-email-token -
CUSTOMER_GROUP
customer-group -
CUSTOMER_PASSWORD_TOKEN
customer-password-token -
DIRECT_DISCOUNT
direct-discount -
DISCOUNT_CODE
discount-code -
EXTENSION
extension -
INVENTORY_ENTRY
inventory-entry -
KEY_VALUE_DOCUMENT
key-value-document -
ORDER
order -
ORDER_EDIT
order-edit -
PAYMENT
payment -
PRODUCT
product -
PRODUCT_DISCOUNT
product-discount -
PRODUCT_PRICE
product-price -
PRODUCT_SELECTION
product-selection -
PRODUCT_TAILORING
product-tailoring -
PRODUCT_TYPE
product-type -
QUOTE
quote -
QUOTE_REQUEST
quote-request -
REVIEW
review -
SHIPPING_METHOD
shipping-method -
SHOPPING_LIST
shopping-list -
STAGED_QUOTE
staged-quote -
STANDALONE_PRICE
standalone-price -
STATE
state -
STORE
store -
SUBSCRIPTION
subscription -
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:ReferenceTypeId
the JSON value- Specified by:
getJsonName
in interfaceJsonEnum
- Specified by:
getJsonName
in interfaceReferenceTypeId
- Returns:
- json value
-
toString
Description copied from interface:ReferenceTypeId
convert value to string- Specified by:
toString
in interfaceJsonEnum
- Specified by:
toString
in interfaceReferenceTypeId
- Overrides:
toString
in classEnum<ReferenceTypeId.ReferenceTypeIdEnum>
- Returns:
- string representation
-