Enum ResourceTypeId.ResourceTypeIdEnum
java.lang.Object
java.lang.Enum<ResourceTypeId.ResourceTypeIdEnum>
com.commercetools.api.models.type.ResourceTypeId.ResourceTypeIdEnum
- All Implemented Interfaces:
ResourceTypeId
,JsonEnum
,Serializable
,Comparable<ResourceTypeId.ResourceTypeIdEnum>
,java.lang.constant.Constable
- Enclosing interface:
- ResourceTypeId
public static enum ResourceTypeId.ResourceTypeIdEnum
extends Enum<ResourceTypeId.ResourceTypeIdEnum>
implements ResourceTypeId
possible values of ResourceTypeId
-
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.type.ResourceTypeId
ResourceTypeId.ResourceTypeIdEnum
-
Enum Constant Summary
Enum ConstantDescriptionaddressapproval-flowapproval-ruleassetassociate-rolebusiness-unitcart-discountcategorychannelcustom-line-itemcustomercustomer-groupdiscount-codeinventory-entryline-itemorderorder-deliveryorder-editorder-parcelorder-return-itempaymentpayment-interface-interactionproduct-priceproduct-selectionproduct-tailoringquotereviewshippingshipping-methodshopping-listshopping-list-text-line-itemstandalone-pricestoretransaction -
Field Summary
Fields inherited from interface com.commercetools.api.models.type.ResourceTypeId
ADDRESS, APPROVAL_FLOW, APPROVAL_RULE, ASSET, ASSOCIATE_ROLE, BUSINESS_UNIT, CART_DISCOUNT, CATEGORY, CHANNEL, CUSTOM_LINE_ITEM, CUSTOMER, CUSTOMER_GROUP, DISCOUNT_CODE, INVENTORY_ENTRY, LINE_ITEM, ORDER, ORDER_DELIVERY, ORDER_EDIT, ORDER_PARCEL, ORDER_RETURN_ITEM, PAYMENT, PAYMENT_INTERFACE_INTERACTION, PRODUCT_PRICE, PRODUCT_SELECTION, PRODUCT_TAILORING, QUOTE, REVIEW, SHIPPING, SHIPPING_METHOD, SHOPPING_LIST, SHOPPING_LIST_TEXT_LINE_ITEM, STANDALONE_PRICE, STORE, TRANSACTION
-
Method Summary
Modifier and TypeMethodDescriptionthe JSON valuetoString()
convert value to stringReturns the enum constant of this type with the specified name.static ResourceTypeId.ResourceTypeIdEnum[]
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.type.ResourceTypeId
name
-
Enum Constant Details
-
ADDRESS
address -
ASSET
asset -
APPROVAL_FLOW
approval-flow -
APPROVAL_RULE
approval-rule -
ASSOCIATE_ROLE
associate-role -
BUSINESS_UNIT
business-unit -
CART_DISCOUNT
cart-discount -
CATEGORY
category -
CHANNEL
channel -
CUSTOMER
customer -
CUSTOMER_GROUP
customer-group -
CUSTOM_LINE_ITEM
custom-line-item -
DISCOUNT_CODE
discount-code -
INVENTORY_ENTRY
inventory-entry -
LINE_ITEM
line-item -
ORDER
order -
ORDER_EDIT
order-edit -
ORDER_DELIVERY
order-delivery -
ORDER_PARCEL
order-parcel -
ORDER_RETURN_ITEM
order-return-item -
PAYMENT
payment -
PAYMENT_INTERFACE_INTERACTION
payment-interface-interaction -
PRODUCT_PRICE
product-price -
PRODUCT_SELECTION
product-selection -
PRODUCT_TAILORING
product-tailoring -
QUOTE
quote -
REVIEW
review -
SHIPPING
shipping -
SHIPPING_METHOD
shipping-method -
SHOPPING_LIST
shopping-list -
SHOPPING_LIST_TEXT_LINE_ITEM
shopping-list-text-line-item -
STANDALONE_PRICE
standalone-price -
STORE
store -
TRANSACTION
transaction
-
-
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:ResourceTypeId
the JSON value- Specified by:
getJsonName
in interfaceJsonEnum
- Specified by:
getJsonName
in interfaceResourceTypeId
- Returns:
- json value
-
toString
Description copied from interface:ResourceTypeId
convert value to string- Specified by:
toString
in interfaceJsonEnum
- Specified by:
toString
in interfaceResourceTypeId
- Overrides:
toString
in classEnum<ResourceTypeId.ResourceTypeIdEnum>
- Returns:
- string representation
-