Class ProductSelectionVariantSelectionChangedMessageBuilder

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

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

     ProductSelectionVariantSelectionChangedMessage productSelectionVariantSelectionChangedMessage = ProductSelectionVariantSelectionChangedMessage.builder()
             .id("{id}")
             .version(0.3)
             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .sequenceNumber(0.3)
             .resource(resourceBuilder -> resourceBuilder)
             .resourceVersion(0.3)
             .product(productBuilder -> productBuilder)
             .oldVariantSelection(oldVariantSelectionBuilder -> oldVariantSelectionBuilder)
             .newVariantSelection(newVariantSelectionBuilder -> newVariantSelectionBuilder)
             .build()