Class ProductPriceCustomFieldChangedMessageBuilder

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

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

     ProductPriceCustomFieldChangedMessage productPriceCustomFieldChangedMessage = ProductPriceCustomFieldChangedMessage.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)
             .priceId("{priceId}")
             .variantId(0.3)
             .staged(true)
             .name("{name}")
             .build()
 
  • Constructor Details

    • ProductPriceCustomFieldChangedMessageBuilder

      public ProductPriceCustomFieldChangedMessageBuilder()
  • Method Details