@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
29 lines • 765 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Zugferd = void 0;
const index_1 = require("./../index");
class Zugferd {
constructor(data) {
this.xmlFile = index_1.ZugferdFileData.fromJson(data.xmlFile);
}
static getXmlFileDescription() {
return "";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new Zugferd(data);
}
toJson() {
var _a;
return {
'xmlFile': (_a = this.xmlFile) === null || _a === void 0 ? void 0 : _a.toJson(),
};
}
clone() {
return Zugferd.fromJson(this.toJson());
}
}
exports.Zugferd = Zugferd;
//# sourceMappingURL=Zugferd.js.map