UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

34 lines 1.22 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ConverterTransform = void 0; const index_1 = require("./../index"); class ConverterTransform { constructor(data) { this.xRechnung = index_1.XRechnung.fromJson(data === null || data === void 0 ? void 0 : data.xRechnung); this.xslTransformation = index_1.XslTransformation.fromJson(data === null || data === void 0 ? void 0 : data.xslTransformation); } static getXRechnungDescription() { return ""; } static getXslTransformationDescription() { return ""; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new ConverterTransform(data); } toJson() { var _a, _b; return { 'xRechnung': (_a = this.xRechnung) === null || _a === void 0 ? void 0 : _a.toJson(), 'xslTransformation': (_b = this.xslTransformation) === null || _b === void 0 ? void 0 : _b.toJson(), }; } clone() { return ConverterTransform.fromJson(this.toJson()); } } exports.ConverterTransform = ConverterTransform; //# sourceMappingURL=ConverterTransform.js.map