Interface ProductCatalogModel

All Superinterfaces:
JsonEnum
All Known Implementing Classes:
ProductCatalogModel.ProductCatalogModelEnum

public interface ProductCatalogModel extends JsonEnum

Determines how Product Variants are managed in the Project.

  • Field Details

    • CLASSIC

      static final ProductCatalogModel CLASSIC

      Product Variants are embedded in the Product. This is the default behavior.

    • MODULAR

      static final ProductCatalogModel MODULAR

      Product Variants are managed as standalone entities through the Variants endpoint. Variant-related update actions on Products are not available in this mode. Pricing is exclusively handled through StandalonePrices; Embedded Prices are not supported.

  • 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 ProductCatalogModel findEnum(String value)
      factory method for a enum value of ProductCatalogModel 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<ProductCatalogModel> 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 ProductCatalogModel[] values()
      possible enum values
      Returns:
      array of possible enum values