mirror of
https://github.com/node-ebics/node-ebics-client.git
synced 2024-11-25 15:42:07 +00:00
35 lines
642 B
JavaScript
35 lines
642 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const GenericOrder = require('./GenericOrder');
|
||
|
|
||
|
module.exports = class HPB extends GenericOrder {
|
||
|
constructor (client) {
|
||
|
super(client);
|
||
|
|
||
|
this._schema.header = {
|
||
|
"@": { authenticate: true },
|
||
|
static: {
|
||
|
HostID: this.hostId,
|
||
|
Nonce: this.nonce(),
|
||
|
Timestamp: this.timestamp(),
|
||
|
PartnerID: this.partnerId,
|
||
|
UserID: this.userId,
|
||
|
Product: {
|
||
|
"@": { Language: "de" },
|
||
|
"#": this.productString,
|
||
|
},
|
||
|
OrderDetails: {
|
||
|
OrderType: "HPB",
|
||
|
OrderAttribute: "DZHNN"
|
||
|
},
|
||
|
SecurityMedium: "0000"
|
||
|
},
|
||
|
mutable: {}
|
||
|
};
|
||
|
};
|
||
|
|
||
|
root() {
|
||
|
return "ebicsNoPubKeyDigestsRequest";
|
||
|
};
|
||
|
};
|