Class OrderDiscountCodeStateSetMessagePayloadBuilder

java.lang.Object
com.commercetools.api.models.message.OrderDiscountCodeStateSetMessagePayloadBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<OrderDiscountCodeStateSetMessagePayload>

public class OrderDiscountCodeStateSetMessagePayloadBuilder extends Object implements io.vrap.rmf.base.client.Builder<OrderDiscountCodeStateSetMessagePayload>
OrderDiscountCodeStateSetMessagePayloadBuilder
Example to create an instance using the builder pattern

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