Class MessageDeliveryPayloadBuilder

java.lang.Object
com.commercetools.api.models.subscription.MessageDeliveryPayloadBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<MessageDeliveryPayload>
Direct Known Subclasses:
MessageDeliveryBuilder

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

     MessageDeliveryPayload messageDeliveryPayload = MessageDeliveryPayload.builder()
             .projectKey("{projectKey}")
             .resource(resourceBuilder -> resourceBuilder)
             .id("{id}")
             .version(0.3)
             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .sequenceNumber(0.3)
             .resourceVersion(0.3)
             .build()