UNPKG

@teaploy/megaprint

Version:
23 lines (22 loc) 692 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Address = void 0; class Address { constructor(address, postalCode, municipality, department, country = 'GT') { this.address = address; this.postalCode = postalCode; this.municipality = municipality; this.department = department; this.country = country; } toDte() { return { 'dte:Direccion': this.address, 'dte:CodigoPostal': this.postalCode, 'dte:Municipio': this.municipality, 'dte:Departamento': this.department, 'dte:Pais': this.country, }; } } exports.Address = Address;