Class CartDiscountCreatedMessagePayloadBuilder

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

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

     CartDiscountCreatedMessagePayload cartDiscountCreatedMessagePayload = CartDiscountCreatedMessagePayload.builder()
             .cartDiscount(cartDiscountBuilder -> cartDiscountBuilder)
             .build()