@solidgate/node-sdk
Version:
28 lines (23 loc) • 579 B
JavaScript
module.exports = class FormResignDTO {
constructor(resignIntent, merchant, signature) {
this.resignIntent = resignIntent
this.signature = signature
this.merchant = merchant
}
getSignature() {
return this.signature
}
getMerchant() {
return this.merchant
}
getResignIntent() {
return this.resignIntent
}
toObject() {
return {
'resignIntent': this.getResignIntent(),
'merchant': this.getMerchant(),
'signature': this.getSignature()
}
}
}