Class CheckoutPaymentChargedEventBuilder

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

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

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