@facturacr/atv-sdk
Version:
Librería (SDK) de Javascript/NodeJS para acceder al API de Administración Tributaria Virtual (ATV) del Ministerio de Hacienda.
28 lines • 712 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReferenceInformation = void 0;
class ReferenceInformation {
constructor(props) {
this.props = props;
}
get docType() {
return this.props.docType;
}
get refNumber() {
return this.props.refNumber;
}
get issueDate() {
return this.props.issueDate;
}
get code() {
return this.props.code;
}
get reason() {
return this.props.reason;
}
static create(props) {
return new ReferenceInformation(Object.assign({}, props));
}
}
exports.ReferenceInformation = ReferenceInformation;
//# sourceMappingURL=ReferenceInformation.js.map