@lexriver/yandex-pay
Version:
A TypeScript client for Yandex Pay API to integrate payment processing in your Node.js applications
31 lines (30 loc) • 1.12 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EnumOrderSource = void 0;
/**
* Indicates where order creation was initialized
* Used for subsequent analysis
*/
var EnumOrderSource;
(function (EnumOrderSource) {
/**
* The button is placed on the website. A payment link is generated after certain user actions (clicking the button) on the website
*/
EnumOrderSource["Website"] = "WEBSITE";
/**
* The button is placed in the mobile app. A payment link is generated after certain user actions (tapping the button) in the app
*/
EnumOrderSource["App"] = "APP";
/**
* A payment link is generated by a manager in the CRM system or another admin panel
*/
EnumOrderSource["Crm"] = "CRM";
/**
* A payment link is generated to be displayed in the offline cash register
*/
EnumOrderSource["CashRegister"] = "CASH_REGISTER";
/**
* The payment link is generated in the CMS plugin.
*/
EnumOrderSource["CmsPlugin"] = "CMS_PLUGIN";
})(EnumOrderSource || (exports.EnumOrderSource = EnumOrderSource = {}));