PaymentState
Enum representing the main state of the payment.
PosLink specifics:
If the update flow connection is lost, then the state will not change, but PaymentStateReason would be PaymentStateReason.CommunicationFailedNetwork.
Entries
Temporary state which means we got acknowledgement from the Teya payment app that the payment is in progress.
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.
Final state which means the payment was successful.
Final state which means the payment was not successful. Check PaymentStateReason for why that may have happened.
Final state which means there was a communication failure either when trying to create the payment or when trying to get state updates.
Properties
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.