Class ProductPriceChangedMessagePayloadBuilder

java.lang.Object
com.commercetools.api.models.message.ProductPriceChangedMessagePayloadBuilder
All Implemented Interfaces:
Builder<ProductPriceChangedMessagePayload>

public class ProductPriceChangedMessagePayloadBuilder extends Object implements Builder<ProductPriceChangedMessagePayload>
ProductPriceChangedMessagePayloadBuilder
Example to create an instance using the builder pattern

     ProductPriceChangedMessagePayload productPriceChangedMessagePayload = ProductPriceChangedMessagePayload.builder()
             .variantId(0.3)
             .oldPrice(oldPriceBuilder -> oldPriceBuilder)
             .newPrice(newPriceBuilder -> newPriceBuilder)
             .staged(true)
             .build()