UNPKG

mobyo-interfaces

Version:
56 lines (55 loc) 1.74 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DesenfilaContainerOrderEntity = void 0; var i_container_order_payment_1 = require("./i-container-order-payment"); var DesenfilaContainerOrderEntity = /** @class */ (function () { function DesenfilaContainerOrderEntity(data) { this.active = true; this.addition = 0; this.amount = 0; this.callback = ''; this.consumation = 0; this.containerId = ''; this.createdAt = new Date(); this.createdBy = ''; this.debug = false; this.dest = { customerId: '', doc: '', email: '', name: '', phone: '', }; this.pix = undefined; this.diffConsumation = 0; this.discount = 0; this.from = ''; this.hasReceipt = false; this.id = ''; this.invite = 0; this.items = []; this.merchantId = ''; this.netAmount = 0; this.paid = false; this.paidBy = ''; this.paidValue = 0; this.payment = new i_container_order_payment_1.DesenfilaContainerOrderPaymentEntity(); this.payments = []; this.pendingPayment = 0; this.pos = ''; this.refId = ''; this.status = ''; this.updatedAt = new Date(); this.updatedBy = ''; this.version = ''; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return DesenfilaContainerOrderEntity; }()); exports.DesenfilaContainerOrderEntity = DesenfilaContainerOrderEntity;