scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
25 lines (24 loc) • 738 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OrderTotalEntity = void 0;
var OrderTotalEntity = /** @class */ (function () {
// #endregion Properties (5)
// #region Constructors (1)
function OrderTotalEntity(data) {
// #region Properties (5)
this.additionalFees = 0;
this.benefits = 0;
this.deliveryFee = 0;
this.orderAmount = 0;
this.subTotal = 0;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return OrderTotalEntity;
}());
exports.OrderTotalEntity = OrderTotalEntity;