Class ProductPublishedMessagePayloadBuilder

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

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

     ProductPublishedMessagePayload productPublishedMessagePayload = ProductPublishedMessagePayload.builder()
             .plusRemovedImageUrls(removedImageUrlsBuilder -> removedImageUrlsBuilder)
             .productProjection(productProjectionBuilder -> productProjectionBuilder)
             .scope(ProductPublishScope.ALL)
             .build()