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 ConstantsEnum ConstantDescriptionbusiness-unitcategorycustomerdiscount-codeinventoryorderorder-patchpriceproductproduct-draftproduct-selectionproduct-typeproduct-variantproduct-variant-patchstandalone-pricetype -
Field Summary
Fields inherited from interface com.commercetools.importapi.models.common.ImportResourceType
BUSINESS_UNIT, CATEGORY, CUSTOMER, DISCOUNT_CODE, INVENTORY, ORDER, ORDER_PATCH, PRICE, PRODUCT, PRODUCT_DRAFT, PRODUCT_SELECTION, 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, valueOfMethods inherited from interface com.commercetools.importapi.models.common.ImportResourceType
name
-
Enum Constant Details
-
BUSINESS_UNIT
business-unit -
CATEGORY
category -
CUSTOMER
customer -
DISCOUNT_CODE
discount-code -
INVENTORY
inventory -
ORDER
order -
ORDER_PATCH
order-patch -
PRICE
price -
PRODUCT
product -
PRODUCT_DRAFT
product-draft -
PRODUCT_SELECTION
product-selection -
PRODUCT_TYPE
product-type -
PRODUCT_VARIANT
product-variant -
PRODUCT_VARIANT_PATCH
product-variant-patch -
STANDALONE_PRICE
standalone-price -
TYPE
type
-
-
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:ImportResourceTypethe JSON value- Specified by:
getJsonNamein interfaceImportResourceType- Specified by:
getJsonNamein interfaceJsonEnum- Returns:
- json value
-
toString
Description copied from interface:ImportResourceTypeconvert value to string- Specified by:
toStringin interfaceImportResourceType- Specified by:
toStringin interfaceJsonEnum- Overrides:
toStringin classEnum<ImportResourceType.ImportResourceTypeEnum>- Returns:
- string representation
-