mobyo-interfaces
Version:
Interfaces de Projetos Mobyo
29 lines (28 loc) • 940 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioAddressEntity = void 0;
var coords_entity_1 = require("../../../general/entities/coords.entity");
var PayioAddressEntity = /** @class */ (function () {
// #endregion Properties (11)
// #region Constructors (1)
function PayioAddressEntity(data) {
// #region Properties (11)
this.city = '';
this.complement = '';
this.coords = new coords_entity_1.CoordsEntity();
this.neighborhood = '';
this.postalCode = '';
this.state = '';
this.streetName = '';
this.streetNumber = '';
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PayioAddressEntity;
}());
exports.PayioAddressEntity = PayioAddressEntity;