CustomCardResponse

class CustomCardResponse(error: TransactionError = TransactionError.NONE, errorMessage: String = "", cardNumber: String = "", cardName: String = "", posEntryMode: PosEntryModes = PosEntryModes.NONE) : GenericResponse

Contains the response to a read custom card request.

See also

CustomCardResponseHandler
PaymentTerminal

#readCustomCard(CustomCardResponseHandler)

Constructors

Link copied to clipboard
fun CustomCardResponse(error: TransactionError = TransactionError.NONE, errorMessage: String = "", cardNumber: String = "", cardName: String = "", posEntryMode: PosEntryModes = PosEntryModes.NONE)

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
fun setCardName(cardName: String)
Link copied to clipboard
fun setCardNumber(cardNumber: String)
Link copied to clipboard
fun setErrorMessage(errorMessage: String)
Link copied to clipboard
fun setPosEntryMode(posEntryMode: PosEntryModes)
Link copied to clipboard
fun setSuccess(success: Boolean)