falcotura-atv-sdk
Version:
Librería (SDK) de Javascript/NodeJS para acceder al API de Administración Tributaria Virtual (ATV) del Ministerio de Hacienda.
40 lines • 891 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Person = void 0;
class Person {
constructor(props) {
this.props = props;
}
get fullName() {
return this.props.fullName;
}
get identifierType() {
return this.props.identifier.type;
}
get identifierId() {
return this.props.identifier.id;
}
get commercialName() {
return this.props.commercialName;
}
get activityCode() {
return this.props.activityCode;
}
get location() {
return this.props.location;
}
get phone() {
return this.props.phone;
}
get fax() {
return this.props.fax;
}
get email() {
return this.props.email;
}
static create(props) {
return new Person(props);
}
}
exports.Person = Person;
//# sourceMappingURL=Person.js.map