react-native-yoco
Version:
The Yoco SDK allows app developers to integrate with Yoco card machines to accept in-person payments from within their application. The most common scenario is to accept Yoco payments from within your Point of Sale application.
25 lines • 1.2 kB
JavaScript
export var PaymentType;
(function (PaymentType) {
PaymentType["CARD"] = "CARD";
PaymentType["CASH"] = "CASH";
})(PaymentType || (PaymentType = {}));
export var SupportedCurrency;
(function (SupportedCurrency) {
SupportedCurrency["ZAR"] = "ZAR";
})(SupportedCurrency || (SupportedCurrency = {}));
export var ResultCodes;
(function (ResultCodes) {
ResultCodes["UNKNOWN"] = "UNKNOWN";
ResultCodes["ERROR_CANCELLED"] = "ERROR_CANCELLED";
ResultCodes["ERROR_BLUETOOTH_DISABLED"] = "ERROR_BLUETOOTH_DISABLED";
ResultCodes["ERROR_INVALID_TOKEN"] = "ERROR_INVALID_TOKEN";
ResultCodes["ERROR_NO_CONNECTIVITY"] = "ERROR_NO_CONNECTIVITY";
ResultCodes["ERROR_PERMISSION_DENIED"] = "ERROR_PERMISSION_DENIED";
ResultCodes["ERROR_PRINT_FAILED"] = "ERROR_PRINT_FAILED";
ResultCodes["ERROR_REFUND_FAILED"] = "ERROR_REFUND_FAILED";
ResultCodes["ERROR_TRANSACTION_FAILED"] = "ERROR_TRANSACTION_FAILED";
ResultCodes["ERROR_TRANSACTION_LOOKUP_FAILED"] = "ERROR_TRANSACTION_LOOKUP_FAILED";
ResultCodes["IN_PROGRESS"] = "IN_PROGRESS";
ResultCodes["SUCCESSFUL"] = "SUCCESSFUL";
})(ResultCodes || (ResultCodes = {}));
//# sourceMappingURL=ReactNativeYocoEnums.js.map