Class CategorySlugChangedMessageBuilder

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

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

     CategorySlugChangedMessage categorySlugChangedMessage = CategorySlugChangedMessage.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)
             .slug(slugBuilder -> slugBuilder)
             .build()
 
  • Constructor Details

    • CategorySlugChangedMessageBuilder

      public CategorySlugChangedMessageBuilder()
  • Method Details