@lexriver/yandex-pay
Version:
A TypeScript client for Yandex Pay API to integrate payment processing in your Node.js applications
28 lines (27 loc) • 990 B
JavaScript
/**
* Indicates where order creation was initialized
* Used for subsequent analysis
*/
export 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 || (EnumOrderSource = {}));