UNPKG

cybersource-rest-client

Version:

Node.js SDK for the CyberSource REST API

83 lines (66 loc) 3.43 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.Ptsv1pushfundstransferPointOfServiceInformationEmv = factory(root.CyberSource.ApiClient); } }(this, function(ApiClient) { 'use strict'; /** * The Ptsv1pushfundstransferPointOfServiceInformationEmv model module. * @module model/Ptsv1pushfundstransferPointOfServiceInformationEmv * @version 0.0.1 */ /** * Constructs a new <code>Ptsv1pushfundstransferPointOfServiceInformationEmv</code>. * @alias module:model/Ptsv1pushfundstransferPointOfServiceInformationEmv * @class */ var exports = function() { var _this = this; }; /** * Constructs a <code>Ptsv1pushfundstransferPointOfServiceInformationEmv</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/Ptsv1pushfundstransferPointOfServiceInformationEmv} obj Optional instance to populate. * @return {module:model/Ptsv1pushfundstransferPointOfServiceInformationEmv} The populated <code>Ptsv1pushfundstransferPointOfServiceInformationEmv</code> instance. */ exports.constructFromObject = function(data, obj) { if (data) { obj = obj || new exports(); if (data.hasOwnProperty('cardSequenceNumber')) { obj['cardSequenceNumber'] = ApiClient.convertToType(data['cardSequenceNumber'], 'String'); } } return obj; } /** * Number assigned to a specific card when two or more cards are associated with the same primary account number. This value enables issuers to distinguish among multiple cards that are linked to the same account. This value can also act as a tracking tool when reissuing cards. When this value is available, it is provided by the chip reader. When the chip reader does not provide this value, do not include this field in your request. When sequence number is not provided via this API field, the value is extracted from EMV tag 5F34 for Mastercard transactions. To enable this feature please call support. Note Card present information about EMV applies only to credit card processing and PIN debit processing. All other card present information applies only to credit card processing. * @member {String} cardSequenceNumber */ exports.prototype['cardSequenceNumber'] = undefined; return exports; }));