PaymentState

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

Enum representing the main state of the payment.

PosLink specifics:

Entries

Link copied to clipboard

Initial temporary state of the payment. It will be the local state until we get the response of the payment creation.

Link copied to clipboard

Temporary state which means the payment request has been created.

Link copied to clipboard

Temporary state which means we got acknowledgement from the Teya payment app that the payment is in progress.

Link copied to clipboard

Temporary state which means the system is trying to cancel the payment. It is possible that the payment will not be cancelled and moved back to InProgress or Successful / ProcessingFailed.

Link copied to clipboard

Final state which means the payment was cancelled.

Link copied to clipboard

Final state which means the payment was successful.

Link copied to clipboard

Final state which means the payment was not successful. Check PaymentStateReason for why that may have happened.

Link copied to clipboard

Final state which means there was a communication failure either when trying to create the payment or when trying to get state updates.

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
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.