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