Interface CheckoutPaymentChargeFailedEvent

All Superinterfaces:
Event

public interface CheckoutPaymentChargeFailedEvent extends Event

Generated when an attempt to charge a payment fails in Checkout. Even if a payment was previously authorized, charging it may still fail.


Example to create an instance using the builder pattern

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