CancellationResult

@ObjCName(name = "TeyaPaymentCancellationResult", exact = true)
enum CancellationResult : Enum<PaymentStateSubscription.CancellationResult>

Enum representing the result of the cancellation attempt.

Entries

Link copied to clipboard

Payment not yet created, but communication to create it is under way.

Link copied to clipboard

This is the successful result. It means the system is attempting to cancel the payment request. The payment app may still ignore the cancellation request, if it happens too late in the process.

Link copied to clipboard

The payment was already finished, nothing to cancel.

Link copied to clipboard

There was a network error when attempting to communicate with the server.

Link copied to clipboard

There was an unexpected error when attempting to communicate with the server.

Link copied to clipboard

Cancellation is not supported by the integration, e.g., All In One.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.