Interface ProductTailoringSetSlugAction

All Superinterfaces:
ProductTailoringUpdateAction

public interface ProductTailoringSetSlugAction extends ProductTailoringUpdateAction

Generates the ProductTailoringSlugSet Message.


Example to create an instance using the builder pattern

     ProductTailoringSetSlugAction productTailoringSetSlugAction = ProductTailoringSetSlugAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getSlug

      @Valid @Valid LocalizedString getSlug()

      Value to set. If empty, any existing value will be removed.

      Returns:
      slug
    • getStaged

      Boolean getStaged()

      If true, only the staged slug is updated. If false, both the current and staged slug are updated.

      Returns:
      staged
    • setSlug

      void setSlug(LocalizedString slug)

      Value to set. If empty, any existing value will be removed.

      Parameters:
      slug - value to be set
    • setStaged

      void setStaged(Boolean staged)

      If true, only the staged slug is updated. If false, both the current and staged slug are updated.

      Parameters:
      staged - value to be set
    • of

      factory method
      Returns:
      instance of ProductTailoringSetSlugAction
    • of

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

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

      builder factory method for ProductTailoringSetSlugAction
      Returns:
      builder
    • builder

      create builder for ProductTailoringSetSlugAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withProductTailoringSetSlugAction

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