Interface OrderDiscountCodeStateSetMessagePayload

All Superinterfaces:
MessagePayload, MessagePayloadMixin, OrderMessagePayload

public interface OrderDiscountCodeStateSetMessagePayload extends OrderMessagePayload

Generated after the DiscountCodeState changes due to a recalculation.


Example to create an instance using the builder pattern

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