Interface ImportResourceType
- All Superinterfaces:
JsonEnum
- All Known Implementing Classes:
ImportResourceType.ImportResourceTypeEnum
The resource types that can be imported.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
possible values of ImportResourceType -
Field Summary
Modifier and TypeFieldDescriptionstatic final ImportResourceType
The Category import resource type.static final ImportResourceType
The Customer import resource type.static final ImportResourceType
The Discount Code import resource type.static final ImportResourceType
The Inventory import resource type.static final ImportResourceType
The Order import resource type.static final ImportResourceType
The Order patch import resource type.static final ImportResourceType
The Embedded Price import resource type.static final ImportResourceType
The Product import resource type.static final ImportResourceType
The Product draft import resource type.static final ImportResourceType
The Product Type import resource type.static final ImportResourceType
The Product Variant import resource type.static final ImportResourceType
The Product Variant patch resource type.static final ImportResourceType
The Standalone Price import resource type.static final ImportResourceType
The Type import resource type. -
Method Summary
Modifier and TypeMethodDescriptionstatic ImportResourceType
factory method for a enum value of ImportResourceType if no enum has been found an anonymous instance will be createdstatic Optional<ImportResourceType>
findEnumViaJsonName
(String jsonName) method to find enum using the JSON valuethe JSON valuename()
the enum valuetoString()
convert value to stringstatic ImportResourceType[]
values()
possible enum values
-
Field Details
-
CATEGORY
The Category import resource type.
-
CUSTOMER
The Customer import resource type.
-
INVENTORY
The Inventory import resource type.
-
ORDER
The Order import resource type.
-
ORDER_PATCH
The Order patch import resource type.
-
PRICE
The Embedded Price import resource type.
-
PRODUCT
The Product import resource type.
-
PRODUCT_DRAFT
The Product draft import resource type.
-
PRODUCT_TYPE
The Product Type import resource type.
-
PRODUCT_VARIANT
The Product Variant import resource type.
-
PRODUCT_VARIANT_PATCH
The Product Variant patch resource type.
-
STANDALONE_PRICE
The Standalone Price import resource type.
-
TYPE
The Type import resource type.
-
DISCOUNT_CODE
The Discount Code import resource type.
-
-
Method Details
-
getJsonName
String getJsonName()the JSON value- Specified by:
getJsonName
in interfaceJsonEnum
- Returns:
- json value
-
name
String name()the enum value -
toString
String toString()convert value to string -
findEnum
factory method for a enum value of ImportResourceType if no enum has been found an anonymous instance will be created- Parameters:
value
- the enum value to be wrapped- Returns:
- enum instance
-
findEnumViaJsonName
method to find enum using the JSON value- Parameters:
jsonName
- the json value to be wrapped- Returns:
- optional of enum instance
-
values
possible enum values- Returns:
- array of possible enum values
-