PaymentStateDetails
Class holding all information about the state of the payment.
Constructors
Types
Additional metadata related to the payment, such as card details or response codes. Useful to prepare a consolidated receipt on ePOS side. Available if payment finished successfully.
Properties
useful for logging and reporting issues with Teya.
The ePOS id passed in the makePayment call.
The gatewayTransactionId when this is a payment, or null for a refund.
The gatewayTransactionId when this is a refund, or null for a payment.
Teya backend id for the transaction created. This field will not be null on PaymentState.Successful state. It is a GatewayPaymentId for a payment and a GatewayRefundId for a refund — read it through gatewayPaymentId or gatewayRefundId.
more granular state for PaymentState.InProgress main state. Always null for All In One integration. See InProgressState.
Additional metadata related to the payment, such as card details or response codes. Useful to prepare a consolidated receipt on ePOS side. Available if payment finished successfully.
The reason for the current payment state, if applicable. See PaymentStateReason.
The current state of the payment, see PaymentState.
The timestamp (in milliseconds since epoch) when the transaction occurred.
If true, it means that the listener was unsubscribed from, it serves as a final call to it so that even if you unsubscribe, you'll always get one final call.