cecon-interfaces
Version:
Interfaces de Projetos Cecon
40 lines (39 loc) • 1.41 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioChefConfigOperationEntity = void 0;
var enums_1 = require("../enums");
var PayioChefConfigOperationEntity = /** @class */ (function () {
function PayioChefConfigOperationEntity(data) {
this.barcodeFormat = enums_1.EBarcodeFormat.CODE_6_PRICE_6;
this.barcodeInitialFlag = '2';
this.bipOnPrint = true;
this.headerMessages = [];
this.listItems = [];
this.multiOrder = false;
/**@deprecated
* Use SCALE mode default
*/
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.tabRegistered = false;
this.urlLogo = '';
this.visionDeviceId = '';
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PayioChefConfigOperationEntity;
}());
exports.PayioChefConfigOperationEntity = PayioChefConfigOperationEntity;