Class ProductSelectionVariantSelectionChangedMessagePayloadBuilder

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

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

     ProductSelectionVariantSelectionChangedMessagePayload productSelectionVariantSelectionChangedMessagePayload = ProductSelectionVariantSelectionChangedMessagePayload.builder()
             .product(productBuilder -> productBuilder)
             .oldVariantSelection(oldVariantSelectionBuilder -> oldVariantSelectionBuilder)
             .newVariantSelection(newVariantSelectionBuilder -> newVariantSelectionBuilder)
             .build()