Class CheckoutPaymentAuthorizedEventBuilder

java.lang.Object
com.commercetools.api.models.event.CheckoutPaymentAuthorizedEventBuilder
All Implemented Interfaces:
Builder<CheckoutPaymentAuthorizedEvent>

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

     CheckoutPaymentAuthorizedEvent checkoutPaymentAuthorizedEvent = CheckoutPaymentAuthorizedEvent.builder()
             .id("{id}")
             .notificationType("{notificationType}")
             .resourceType(EventSubscriptionResourceTypeId.CHECKOUT)
             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .data(dataBuilder -> dataBuilder)
             .build()