Interface ProductSetPriceModeAction

All Superinterfaces:
ProductUpdateAction, ResourceUpdateAction<ProductUpdateAction>

public interface ProductSetPriceModeAction extends ProductUpdateAction

Controls whether the Prices of a Product Variant are embedded into the Product or standalone.


Example to create an instance using the builder pattern

     ProductSetPriceModeAction productSetPriceModeAction = ProductSetPriceModeAction.builder()
             .build()
 
  • Field Details

    • SET_PRICE_MODE

      static final String SET_PRICE_MODE
      discriminator value for ProductSetPriceModeAction
      See Also:
  • Method Details

    • getPriceMode

      ProductPriceModeEnum getPriceMode()

      Specifies which type of Prices should be used when looking up a price for the Product.

      Returns:
      priceMode
    • setPriceMode

      void setPriceMode(ProductPriceModeEnum priceMode)

      Specifies which type of Prices should be used when looking up a price for the Product.

      Parameters:
      priceMode - value to be set
    • of

      factory method
      Returns:
      instance of ProductSetPriceModeAction
    • of

      factory method to create a shallow copy ProductSetPriceModeAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of ProductSetPriceModeAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for ProductSetPriceModeAction
      Returns:
      builder
    • builder

      create builder for ProductSetPriceModeAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withProductSetPriceModeAction

      default <T> T withProductSetPriceModeAction(Function<ProductSetPriceModeAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<ProductSetPriceModeAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference