Interface ProductTailoringDeletedMessagePayload

All Superinterfaces:
MessagePayload, MessagePayloadMixin

public interface ProductTailoringDeletedMessagePayload extends MessagePayload

Generated after a successful Delete Product Tailoring or Delete ProductTailoring assigned to Product in Store request.


Example to create an instance using the builder pattern

     ProductTailoringDeletedMessagePayload productTailoringDeletedMessagePayload = ProductTailoringDeletedMessagePayload.builder()
             .store(storeBuilder -> storeBuilder)
             .product(productBuilder -> productBuilder)
             .build()
 
  • Field Details

    • PRODUCT_TAILORING_DELETED

      static final String PRODUCT_TAILORING_DELETED
      discriminator value for ProductTailoringDeletedMessagePayload
      See Also:
  • Method Details

    • getStore

      @NotNull @Valid @NotNull @Valid StoreKeyReference getStore()

      The Store to which the Product Tailoring belongs.

      Returns:
      store
    • getProductKey

      String getProductKey()

      User-defined unique identifier of the Product this Product Tailoring belongs to.

      Returns:
      productKey
    • getProduct

      @NotNull @Valid @NotNull @Valid ProductReference getProduct()

      Reference to the Product the Product Tailoring belongs to.

      Returns:
      product
    • setStore

      void setStore(StoreKeyReference store)

      The Store to which the Product Tailoring belongs.

      Parameters:
      store - value to be set
    • setProductKey

      void setProductKey(String productKey)

      User-defined unique identifier of the Product this Product Tailoring belongs to.

      Parameters:
      productKey - value to be set
    • setProduct

      void setProduct(ProductReference product)

      Reference to the Product the Product Tailoring belongs to.

      Parameters:
      product - value to be set
    • of

      factory method
      Returns:
      instance of ProductTailoringDeletedMessagePayload
    • of

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

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

      builder factory method for ProductTailoringDeletedMessagePayload
      Returns:
      builder
    • builder

      create builder for ProductTailoringDeletedMessagePayload instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withProductTailoringDeletedMessagePayload

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