Class CheckoutPaymentRefundedEventBuilder

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

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

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