cecon-interfaces
Version:
Interfaces de Projetos Cecon
28 lines (27 loc) • 889 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioCatalogOptionEntity = void 0;
var enums_1 = require("../enums");
var PayioCatalogOptionEntity = /** @class */ (function () {
function PayioCatalogOptionEntity(data) {
this.description = '';
this.externalCode = '';
this.id = '';
this.imagePath = '';
this.index = 0;
this.name = '';
this.price = { value: 0 };
this.productId = '';
this.sequence = 0;
this.status = enums_1.EPayioCatalogStatus.AVAILABLE;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PayioCatalogOptionEntity;
}());
exports.PayioCatalogOptionEntity = PayioCatalogOptionEntity;