Package-level declarations
Types
Link copied to clipboard
Enum representing the result of the cancellation attempt.
Link copied to clipboard
Represents the result of a payment cancellation attempt.
Link copied to clipboard
Enum representing the sub-state for PaymentState.InProgress of the payment. It provides more information about the current in progress payment and what is happening in the Teya payment application.
Link copied to clipboard
Enum representing the main state of the payment.
Link copied to clipboard
data class PaymentStateDetails(val eposTransactionId: String, val amount: Int, val tip: Int?, val currency: String, val state: PaymentState, val inProgressState: InProgressState?, val gatewayTransactionId: GatewayTransactionId? = null, val reason: PaymentStateReason? = null, val debugErrorMessage: String? = null, val metadata: PaymentStateDetails.Metadata? = null, val transactionTimestamp: Long? = null, val wasUnsubscribed: Boolean = false)
Class holding all information about the state of the payment.
Link copied to clipboard
Enum representing the reason for the current payment state.
Link copied to clipboard
data class PrintStateDetails(val receiptId: String?, val status: PrintStateDetails.PrintStatus, val printFailure: PrintStateDetails.PrintFailure?, val errorMessage: String?)
Class holding all information about the state of the printing action.
Link copied to clipboard
Enum representing the final result of the refund.
Link copied to clipboard
data class RefundResultDetails(val gatewayRefundId: GatewayRefundId?, val result: RefundResult, val debugErrorMessage: String? = null)
Details about the refund result.