cecon-interfaces
Version:
Interfaces de Projetos Cecon
30 lines (29 loc) • 874 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NatipayOrderItemEntity = void 0;
var NatipayOrderItemEntity = /** @class */ (function () {
function NatipayOrderItemEntity(data) {
this.externalCode = '';
this.id = '';
this.index = 0;
this.name = '';
this.observations = '';
this.picture = '';
this.price = 0;
this.productId = 0;
this.quantity = 0;
this.totalPrice = 0;
this.unit = '';
this.unitPrice = 0;
this.weight = 0;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return NatipayOrderItemEntity;
}());
exports.NatipayOrderItemEntity = NatipayOrderItemEntity;