TransactionResponse

open class TransactionResponse(error: TransactionError = TransactionError.NONE, errorMessage: String = "", saleId: String = "", transactionId: String = "", terminalId: String = "", terminalIdObscured: String = "", currencyId: Int = 0, totalAmount: Long = 0, merchantReceipt: String = "", cardholderReceipt: String = "", denialReasons: DenialReasons = DenialReasons.NONE, paymentData: PaymentData = CardPaymentData(), transactionTime: Date = Calendar.getInstance().time) : GenericResponse

Constructors

Link copied to clipboard
fun TransactionResponse(error: TransactionError = TransactionError.NONE, errorMessage: String = "", saleId: String = "", transactionId: String = "", terminalId: String = "", terminalIdObscured: String = "", currencyId: Int = 0, totalAmount: Long = 0, merchantReceipt: String = "", cardholderReceipt: String = "", denialReasons: DenialReasons = DenialReasons.NONE, paymentData: PaymentData = CardPaymentData(), transactionTime: Date = Calendar.getInstance().time)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setCardholderReceipt(cardholderReceipt: String)
Link copied to clipboard
fun setCurrencyId(value: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setErrorMessage(errorMessage: String)
Link copied to clipboard
fun setMerchantReceipt(merchantReceipt: String)
Link copied to clipboard
fun setPaymentDetails(paymentDetails: PaymentData)
Link copied to clipboard
fun setSaleId(value: String)
Link copied to clipboard
fun setSuccess(success: Boolean)
Link copied to clipboard
fun setTerminalId(value: String)
Link copied to clipboard
Link copied to clipboard
fun setTotalAmount(value: Long)
Link copied to clipboard
Link copied to clipboard
fun setTransactionTime(transactionTime: Date)

Inheritors

Link copied to clipboard
Link copied to clipboard