Class DiscountCodeCreatedMessagePayloadBuilder

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

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

     DiscountCodeCreatedMessagePayload discountCodeCreatedMessagePayload = DiscountCodeCreatedMessagePayload.builder()
             .discountCode(discountCodeBuilder -> discountCodeBuilder)
             .build()