CheckoutEvent

data class CheckoutEvent(val type: CheckoutEvent.Type, val occurredAt: Instant, val flowId: String, val sequence: Int, val order: CheckoutOrder? = null, val action: CheckoutAction? = null, val failure: CheckoutFailure? = null, val complete: Boolean? = null, val paymentMethod: String? = null)(source)

One ordered, application-facing event from a Checkout presentation.

Constructors

Link copied to clipboard
constructor(type: CheckoutEvent.Type, occurredAt: Instant, flowId: String, sequence: Int, order: CheckoutOrder? = null, action: CheckoutAction? = null, failure: CheckoutFailure? = null, complete: Boolean? = null, paymentMethod: String? = null)

Types

Link copied to clipboard

Canonical Checkout lifecycle transition.

Properties

Link copied to clipboard

Sanitized payer action when further interaction is required.

Link copied to clipboard

Whether the currently entered payment details are complete.

Link copied to clipboard

Sanitized failure details for attempt or terminal failures.

Link copied to clipboard

Identifier shared by events from one presentation.

Link copied to clipboard

Time the SDK observed the transition.

Link copied to clipboard

Client-safe Order snapshot when the event concerns an Order.

Link copied to clipboard

Selected payment-method family for change events.

Link copied to clipboard

Monotonic position within the presentation.

Link copied to clipboard

Lifecycle transition represented by this event.