Interface CheckoutOrderCreationFailedEvent

All Superinterfaces:
Event

public interface CheckoutOrderCreationFailedEvent extends Event

Generated when an order creation attempt fails in Checkout. This event includes information about why the order could not be created.


Example to create an instance using the builder pattern

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