Class OrderDiscountCodeStateSetMessagePayloadBuilder

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

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

     OrderDiscountCodeStateSetMessagePayload orderDiscountCodeStateSetMessagePayload = OrderDiscountCodeStateSetMessagePayload.builder()
             .discountCode(discountCodeBuilder -> discountCodeBuilder)
             .state(DiscountCodeState.NOT_ACTIVE)
             .build()