Enum ImportResourceType.ImportResourceTypeEnum
java.lang.Object
java.lang.Enum<ImportResourceType.ImportResourceTypeEnum>
com.commercetools.importapi.models.common.ImportResourceType.ImportResourceTypeEnum
- All Implemented Interfaces:
ImportResourceType
,JsonEnum
,Serializable
,Comparable<ImportResourceType.ImportResourceTypeEnum>
,java.lang.constant.Constable
- Enclosing interface:
- ImportResourceType
public static enum ImportResourceType.ImportResourceTypeEnum
extends Enum<ImportResourceType.ImportResourceTypeEnum>
implements ImportResourceType
possible values of ImportResourceType
-
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.importapi.models.common.ImportResourceType
ImportResourceType.ImportResourceTypeEnum
-
Enum Constant Summary
Enum ConstantDescriptioncategorycustomerdiscount-codeinventoryorderorder-patchpriceproductproduct-draftproduct-typeproduct-variantproduct-variant-patchstandalone-pricetype -
Field Summary
Fields inherited from interface com.commercetools.importapi.models.common.ImportResourceType
CATEGORY, CUSTOMER, DISCOUNT_CODE, INVENTORY, ORDER, ORDER_PATCH, PRICE, PRODUCT, PRODUCT_DRAFT, PRODUCT_TYPE, PRODUCT_VARIANT, PRODUCT_VARIANT_PATCH, STANDALONE_PRICE, TYPE
-
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from interface com.commercetools.importapi.models.common.ImportResourceType
name
-
Enum Constant Details
-
CATEGORY
category -
CUSTOMER
customer -
INVENTORY
inventory -
ORDER
order -
ORDER_PATCH
order-patch -
PRICE
price -
PRODUCT
product -
PRODUCT_DRAFT
product-draft -
PRODUCT_TYPE
product-type -
PRODUCT_VARIANT
product-variant -
PRODUCT_VARIANT_PATCH
product-variant-patch -
STANDALONE_PRICE
standalone-price -
TYPE
type -
DISCOUNT_CODE
discount-code
-
-
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:ImportResourceType
the JSON value- Specified by:
getJsonName
in interfaceImportResourceType
- Specified by:
getJsonName
in interfaceJsonEnum
- Returns:
- json value
-
toString
Description copied from interface:ImportResourceType
convert value to string- Specified by:
toString
in interfaceImportResourceType
- Specified by:
toString
in interfaceJsonEnum
- Overrides:
toString
in classEnum<ImportResourceType.ImportResourceTypeEnum>
- Returns:
- string representation
-