Add upload method in Client.js file

This commit is contained in:
Vladislav Hristov 2018-05-31 12:08:07 +03:00
parent 140c2ccd69
commit 0b79929e1c

View File

@ -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) {
}