UNPKG

fints

Version:

FinTS client library with psd2 support

25 lines 675 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const segment_1 = require("./segment"); class HISPASProps { constructor() { this.painFormats = []; } } exports.HISPASProps = HISPASProps; /** * HISPAS */ class HISPAS extends segment_1.SegmentClass(HISPASProps) { constructor() { super(...arguments); this.type = "HISPAS"; } serialize() { throw new Error("Not implemented."); } deserialize(input) { const [[], [], [], [...painFormats],] = input; this.painFormats = painFormats.filter(x => x.indexOf("pain") !== -1); } } exports.HISPAS = HISPAS; //# sourceMappingURL=hispas.js.map