Class ProductPriceAddedMessagePayloadBuilder

java.lang.Object
com.commercetools.api.models.message.ProductPriceAddedMessagePayloadBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<ProductPriceAddedMessagePayload>

public class ProductPriceAddedMessagePayloadBuilder extends Object implements io.vrap.rmf.base.client.Builder<ProductPriceAddedMessagePayload>
ProductPriceAddedMessagePayloadBuilder
Example to create an instance using the builder pattern

     ProductPriceAddedMessagePayload productPriceAddedMessagePayload = ProductPriceAddedMessagePayload.builder()
             .variantId(0.3)
             .price(priceBuilder -> priceBuilder)
             .staged(true)
             .build()
 
  • Constructor Details

    • ProductPriceAddedMessagePayloadBuilder

      public ProductPriceAddedMessagePayloadBuilder()
  • Method Details