hyperwallet-sdk
Version:
A library to manage users, transfer methods and payments through the Hyperwallet API
34 lines (26 loc) • 1.17 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var HyperwalletVerificationDocument = function HyperwalletVerificationDocument(properties) {
var _this = this;
_classCallCheck(this, HyperwalletVerificationDocument);
this.CONSTRUCTOR_FIELDS = ["category", "type", "status", "country", "reasons", "createdOn", "uploadFiles"];
this.CONSTRUCTOR_FIELDS.forEach(function (key) {
_this[key] = properties[key];
});
}
/**
* Create a instance of the SDK Client
*
* @param {string} category The category of the document
* @param {string} type The type of the document
* @param {string} status The status of the document
* @param {string} country The country origin of the document
* @param {Array<HyperwalletVerificationDocumentReason>} reasons - The reasons for the documents rejection
* @param {DateTime} createdOn - The document creation date
* @param {Object} uploadFiles - The files uploaded
*/
;
exports.default = HyperwalletVerificationDocument;
;