diff --git a/lib/Client.js b/lib/Client.js index 5abcd9c..da3e76c 100644 --- a/lib/Client.js +++ b/lib/Client.js @@ -144,6 +144,16 @@ module.exports = class Client { return res.orderData(); }; + async upload(order) { + let res = await this.ebicsRequest(order.toXML()); + order.transactionId = res.transactionId(); + const orderId = res.orderId(); + + res = await this.ebicsRequest(order.toTransferXML()); + + return res.transactionId(); + } + async downloadAndUnzip(order) { }