Interface ImportResourceType

All Superinterfaces:
JsonEnum
All Known Implementing Classes:
ImportResourceType.ImportResourceTypeEnum

public interface ImportResourceType extends JsonEnum

The resource types that can be imported.

  • Field Details

    • CATEGORY

      static final ImportResourceType CATEGORY

      The Category import resource type.

    • CUSTOMER

      static final ImportResourceType CUSTOMER

      The Customer import resource type.

    • INVENTORY

      static final ImportResourceType INVENTORY

      The Inventory import resource type.

    • ORDER

      static final ImportResourceType ORDER

      The Order import resource type.

    • ORDER_PATCH

      static final ImportResourceType ORDER_PATCH

      The Order patch import resource type.

    • PRICE

      static final ImportResourceType PRICE

      The Embedded Price import resource type.

    • PRODUCT

      static final ImportResourceType PRODUCT

      The Product import resource type.

    • PRODUCT_DRAFT

      static final ImportResourceType PRODUCT_DRAFT

      The Product draft import resource type.

    • PRODUCT_TYPE

      static final ImportResourceType PRODUCT_TYPE

      The Product Type import resource type.

    • PRODUCT_VARIANT

      static final ImportResourceType PRODUCT_VARIANT

      The Product Variant import resource type.

    • PRODUCT_VARIANT_PATCH

      static final ImportResourceType PRODUCT_VARIANT_PATCH

      The Product Variant patch resource type.

    • STANDALONE_PRICE

      static final ImportResourceType STANDALONE_PRICE

      The Standalone Price import resource type.

    • TYPE

      static final ImportResourceType TYPE

      The Type import resource type.

    • DISCOUNT_CODE

      static final ImportResourceType DISCOUNT_CODE

      The Discount Code import resource type.

  • Method Details

    • getJsonName

      String getJsonName()
      the JSON value
      Specified by:
      getJsonName in interface JsonEnum
      Returns:
      json value
    • name

      String name()
      the enum value
      Specified by:
      name in interface JsonEnum
      Returns:
      name
    • toString

      String toString()
      convert value to string
      Specified by:
      toString in interface JsonEnum
      Overrides:
      toString in class Object
      Returns:
      string representation
    • findEnum

      static ImportResourceType findEnum(String value)
      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

      static Optional<ImportResourceType> findEnumViaJsonName(String jsonName)
      method to find enum using the JSON value
      Parameters:
      jsonName - the json value to be wrapped
      Returns:
      optional of enum instance
    • values

      static ImportResourceType[] values()
      possible enum values
      Returns:
      array of possible enum values