UNPKG

@simonbackx/paynl-node

Version:

Simple PayNL SDK for Node.js that uses promises and no singletons

17 lines 628 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StartResult = void 0; class StartResult { constructor(data) { this.transactionId = data.transaction.transactionId; this.paymentURL = data.transaction.paymentURL; this.popupAllowed = data.transaction.popupAllowed; this.paymentReference = data.transaction.paymentReference; if (data.terminal) { this.terminalHash = data.terminal.hash; this.terminalStatusUrl = data.terminal.statusUrl; } } } exports.StartResult = StartResult; //# sourceMappingURL=StartResult.js.map