mirror of
https://github.com/node-ebics/node-ebics-client.git
synced 2024-11-24 15:12:06 +00:00
Add upload method in Client.js file
This commit is contained in:
parent
140c2ccd69
commit
0b79929e1c
@ -144,6 +144,16 @@ module.exports = class Client {
|
|||||||
return res.orderData();
|
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) {
|
async downloadAndUnzip(order) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user