@hipay/hipay-enterprise-sdk-nodejs
Version:
The HiPay Enterprise SDK for NodeJS is a library for developers who want to integrate HiPay Enterprise payment methods to any NodeJS platform.
30 lines (22 loc) • 622 B
JavaScript
;
const AbstractResponsePart = require('./AbstractResponsePart');
class SecuritySettings extends AbstractResponsePart {
/**
* @param {Object} values
* @param {String} [values.hashingAlgorithm]
*/
constructor(values) {
if (typeof values !== 'object') {
values = {};
}
super(values);
if (Object.hasOwn(values, 'hashingAlgorithm')) {
this.hashingAlgorithm = values.hashingAlgorithm;
}
}
initValues() {
super.initValues();
this.hashingAlgorithm = null;
}
}
module.exports = SecuritySettings;