| Properties | |
|---|---|
| Boolean status | |
| String message | |
| DeviceState state | Indicates the different states in the transaction flow |
| DebitCardRequestDTO transactionData | Class containing the card properties. |
| states | |
|---|---|
*INSERT_CARD* |
Prompting user to insert a card. |
*PROCESSING* |
Transaction is processing. |
*INPUT_PIN* |
User needs to enter card pin |
*CARD_DATA* |
Get transaction information. |
*PIN_DATA* |
|
*REMOVE_CARD* |
Prompting user to remove card. |
*READCARD_FAILED* |
The inserted card could not be read. |
*FAILED* |
Transaction failed. |
*DECLINED* |
Card was declined. |
*APPROVED* |
Transaction approved. |
*AWAITING_ONLINE_RESPONSE* |
|
*BLUETOOTH_CONNECTED* |
|
*BLUETOOTH_FAILED* |
|
*PRINTER_BIND_SERVICE* |
|
*PRINTER_SERVICE_CONNECTION* |
|
*PRINTER_SUCCESS* |
Printer has been connected successfully. |
*PRINTER_ERROR* |
Printer failed to connect. |
*DEVICE_INFO* |
| Public Methods | Return | |
|---|---|---|
getAcceptorCode() |
String | |
getAccountType() |
CardAccountType | Card account type see CardAccountType |
getAcquiringInstitutionalCod() |
String | Acquiring institution code |
getAmount() |
BigDecimal | amount to process. |
getCardExpiryDate() |
String | Card expiry date. |
getCustomerName() |
String | Card owners name |
getIccData() |
String | |
getMerchantName() |
String | Merchant name |
getPan() |
String | Primary account number of the card |
getPinBlock() |
String | |
getPostDataCode() |
String | |
getRrn() |
String | Transaction reference number |
getSequenceNumber() |
String | |
getServiceCode() |
String | |
getStan() |
String | |
getTerminalId() |
String | |
getTrack2Data() |
String | |
getTransactionCode() |
String |
| Enum Values | |
|---|---|
*DEFAULT* |
|
*SAVINGS* |
Saving account |
*CURRENT* |
Current account |
*CREDIT* |
Credit account |