UNPKG

mobyo-interfaces

Version:
38 lines (37 loc) 1.37 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioChefConfigOperationEntity = void 0; var enums_1 = require("../enums"); var PayioChefConfigOperationEntity = /** @class */ (function () { // #endregion Properties (17) // #region Constructors (1) function PayioChefConfigOperationEntity(data) { // #region Properties (17) this.barcodeFormat = enums_1.EBarcodeFormat.CODE_6_PRICE_6; this.barcodeInitialFlag = '2'; this.bipOnPrint = true; this.headerMessages = []; this.listItems = []; this.multiOrder = false; this.operationMode = enums_1.EPayioChefOperationMode.SCALE; this.printFormat = 'simple'; this.showBarCode = true; this.showNetWeight = true; this.showOrderNumber = true; this.showPricePerKg = true; this.showTotalPrice = true; this.startOrderIn = 1; this.tabFormat = ''; this.tabMode = enums_1.EPayioChefTabMode.MANUAL; this.urlLogo = ''; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioChefConfigOperationEntity; }()); exports.PayioChefConfigOperationEntity = PayioChefConfigOperationEntity;