Types

Link copied to clipboard

Event is sent after payment was confirmed to be completed. This is a final event.

Link copied to clipboard

Event is sent during the PENDING state when the user confirms that they have completed required external action. Implementation proceeds with the actual payment confirmation process.

Link copied to clipboard

Event is sent when unretryable error occurs. This is a final event.

Link copied to clipboard

Event is sent when parameters submission failed and the error is retriable, otherwise expect DidFail event.

Link copied to clipboard

Event is sent when user asked to confirm cancellation, e.g. via dialog.

Link copied to clipboard

Event indicates that initial data has been loaded successfully. Currently waiting for the next step.

Link copied to clipboard
data class DidSubmitParameters(val additionalParametersExpected: Boolean) : PONativeAlternativePaymentEvent

Event is sent when parameters were submitted successfully. Inspect the associated value additionalParametersExpected to check whether additional user input is required.

Link copied to clipboard

Event is sent when user changes any editable value.

Link copied to clipboard

Placeholder that allows adding additional cases while staying backward compatible. Warning: Do not match this case directly, use when-else instead.

Link copied to clipboard

Initial event that is sent prior any other event.

Link copied to clipboard

Event is sent just before submitting user input. This is usually a result of a user action, e.g. button press.

Link copied to clipboard

Event is sent after all information is collected and implementation is waiting for a PSP to confirm the payment.