UNPKG

@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.

42 lines (32 loc) 925 B
'use strict'; const AbstractResponsePart = require('../AbstractResponsePart'); class Issuer extends AbstractResponsePart { /** * @param {Object} values * @param {String} [values.fullname] * @param {String} [values.institution] * @param {String} [values.country] */ constructor(values) { if (typeof values !== 'object') { values = {}; } super(values); if (Object.hasOwn(values, 'fullname')) { this.fullname = values.fullname; } if (Object.hasOwn(values, 'institution')) { this.institution = values.institution; } if (Object.hasOwn(values, 'country')) { this.country = values.country; } } initValues() { super.initValues(); this.fullname = null; this.institution = null; this.country = null; } } module.exports = Issuer;