Companion

object Companion

Functions

Link copied to clipboard
fun approved(transaction: CompletedTransaction, transactionId: String? = null): RefundResult
Link copied to clipboard
fun declined(reason: ErrorReason, transactionId: String? = null): RefundResult
Link copied to clipboard
fun userError(reason: ErrorReason, transactionId: String? = null): RefundResult

Creates a refund result for user-correctable terminal errors.