Interface ProductPublishAction

All Superinterfaces:
ProductUpdateAction, ResourceUpdateAction<ProductUpdateAction>

public interface ProductPublishAction extends ProductUpdateAction

Publishes product data from the Product's staged projection to its current projection. Produces the ProductPublished Message.


Example to create an instance using the builder pattern

     ProductPublishAction productPublishAction = ProductPublishAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getScope

      All or Prices

      Returns:
      scope
    • setScope

      void setScope(ProductPublishScope scope)

      All or Prices

      Parameters:
      scope - value to be set
    • of

      static ProductPublishAction of()
      factory method
      Returns:
      instance of ProductPublishAction
    • of

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

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

      static ProductPublishActionBuilder builder()
      builder factory method for ProductPublishAction
      Returns:
      builder
    • builder

      create builder for ProductPublishAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withProductPublishAction

      default <T> T withProductPublishAction(Function<ProductPublishAction,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<ProductPublishAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference