UNPKG

cybersource-rest-client

Version:

Node.js SDK for the CyberSource REST API

128 lines (106 loc) 5.04 kB
/** * CyberSource Merged Spec * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html * * OpenAPI spec version: 0.0.1 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 2.4.38 * * Do not edit the class manually. * */ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['ApiClient'], factory); } else if (typeof module === 'object' && module.exports) { // CommonJS-like environments that support module.exports, like Node. module.exports = factory(require('../ApiClient')); } else { // Browser globals (root is window) if (!root.CyberSource) { root.CyberSource = {}; } root.CyberSource.PtsV2PayoutsPost201ResponseProcessorInformationElectronicVerificationResults = factory(root.CyberSource.ApiClient); } }(this, function(ApiClient) { 'use strict'; /** * The PtsV2PayoutsPost201ResponseProcessorInformationElectronicVerificationResults model module. * @module model/PtsV2PayoutsPost201ResponseProcessorInformationElectronicVerificationResults * @version 0.0.1 */ /** * Constructs a new <code>PtsV2PayoutsPost201ResponseProcessorInformationElectronicVerificationResults</code>. * @alias module:model/PtsV2PayoutsPost201ResponseProcessorInformationElectronicVerificationResults * @class */ var exports = function() { var _this = this; }; /** * Constructs a <code>PtsV2PayoutsPost201ResponseProcessorInformationElectronicVerificationResults</code> from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {module:model/PtsV2PayoutsPost201ResponseProcessorInformationElectronicVerificationResults} obj Optional instance to populate. * @return {module:model/PtsV2PayoutsPost201ResponseProcessorInformationElectronicVerificationResults} The populated <code>PtsV2PayoutsPost201ResponseProcessorInformationElectronicVerificationResults</code> instance. */ exports.constructFromObject = function(data, obj) { if (data) { obj = obj || new exports(); if (data.hasOwnProperty('emailRaw')) { obj['emailRaw'] = ApiClient.convertToType(data['emailRaw'], 'String'); } if (data.hasOwnProperty('firstNameRaw')) { obj['firstNameRaw'] = ApiClient.convertToType(data['firstNameRaw'], 'String'); } if (data.hasOwnProperty('lastNameRaw')) { obj['lastNameRaw'] = ApiClient.convertToType(data['lastNameRaw'], 'String'); } if (data.hasOwnProperty('middleNameRaw')) { obj['middleNameRaw'] = ApiClient.convertToType(data['middleNameRaw'], 'String'); } if (data.hasOwnProperty('nameRaw')) { obj['nameRaw'] = ApiClient.convertToType(data['nameRaw'], 'String'); } if (data.hasOwnProperty('phoneNumberRaw')) { obj['phoneNumberRaw'] = ApiClient.convertToType(data['phoneNumberRaw'], 'String'); } } return obj; } /** * Raw Electronic Verification response code from the processor for the customer's email address. Valid values: - '1': Verified - '2': Failed - '3': Not performed * @member {String} emailRaw */ exports.prototype['emailRaw'] = undefined; /** * Raw electronic verification response code from the processor for the customer's first name. Valid values: - '01': Match - '50': Partial Match - '99': No Match * @member {String} firstNameRaw */ exports.prototype['firstNameRaw'] = undefined; /** * Raw electronic verification response code from the processor for the customer's last name. Valid values: - '01': Match - '50': Partial Match - '99': No Match * @member {String} lastNameRaw */ exports.prototype['lastNameRaw'] = undefined; /** * Raw electronic verification response code from the processor for the customer's middle name. Valid values: - '01': Match - '50': Partial Match - '99': No Match * @member {String} middleNameRaw */ exports.prototype['middleNameRaw'] = undefined; /** * Raw Electronic Verification response code from the processor for the customer's name. Valid values: - '01': Match - '50': Partial Match - '99': No Match * @member {String} nameRaw */ exports.prototype['nameRaw'] = undefined; /** * Raw Electronic Verification response code from the processor for the customer's phone number. Valid values: - '1': Verified - '2': Failed - '3': Not performed * @member {String} phoneNumberRaw */ exports.prototype['phoneNumberRaw'] = undefined; return exports; }));