@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.
17 lines (12 loc) • 471 B
JavaScript
;
const AbstractMapper = require('./AbstractMapper');
const SecuritySettings = require('../SecuritySettings');
class SecuritySettingsMapper extends AbstractMapper {
mapResponseToModel() {
const values = {
hashingAlgorithm: typeof this.source.hashingAlgorithm !== 'undefined' ? this.source.hashingAlgorithm : null
};
this._modelObject = new SecuritySettings(values);
}
}
module.exports = SecuritySettingsMapper;