cybersource-rest-client 0.0.38 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/misc.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/.idea/workspace.xml +47 -4
- package/cybersource-rest-client-0.0.38.tgz +0 -0
- package/docs/PtsV2PaymentsPost201Response.md +1 -0
- package/docs/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.md +1 -1
- package/docs/PtsV2PaymentsPost201ResponseIssuerInformation.md +1 -0
- package/docs/PtsV2PaymentsPost201ResponsePaymentInsightsInformation.md +8 -0
- package/docs/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights.md +9 -0
- package/docs/Ptsv2paymentsConsumerAuthenticationInformation.md +2 -2
- package/docs/Ptsv2paymentsPaymentInformationCard.md +1 -0
- package/docs/Ptsv2paymentsPaymentInformationTokenizedCard.md +3 -2
- package/docs/Ptsv2paymentsPointOfSaleInformationEmv.md +1 -1
- package/docs/Ptsv2paymentsProcessingInformation.md +1 -0
- package/docs/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.md +1 -1
- package/docs/Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator.md +1 -1
- package/docs/ReportingV3ChargebackDetailsGet200ResponseChargebackDetails.md +1 -0
- package/docs/RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation.md +3 -0
- package/docs/RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.md +4 -1
- package/docs/Riskv1authenticationresultsConsumerAuthenticationInformation.md +4 -2
- package/docs/{TssV2TransactionsPost201ResponseEmbeddedDeviceInformation.md → Riskv1authenticationresultsDeviceInformation.md} +1 -1
- package/docs/Riskv1authenticationresultsPaymentInformationTokenizedCard.md +1 -1
- package/docs/Riskv1authenticationsPaymentInformationTokenizedCard.md +3 -1
- package/docs/Riskv1authenticationsetupsPaymentInformationTokenizedCard.md +1 -1
- package/docs/Riskv1decisionsConsumerAuthenticationInformation.md +3 -2
- package/docs/Riskv1decisionsPaymentInformationTokenizedCard.md +1 -1
- package/docs/SecureFileShareApi.md +2 -2
- package/docs/TssV2TransactionsGet200Response.md +1 -0
- package/docs/TssV2TransactionsGet200ResponsePaymentInformationCustomer.md +1 -1
- package/docs/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.md +1 -1
- package/docs/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator.md +11 -0
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformation.md +2 -1
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank.md +8 -0
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount.md +9 -0
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer.md +8 -0
- package/docs/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.md +1 -1
- package/docs/ValidateRequest.md +1 -0
- package/package.json +1 -1
- package/src/api/SecureFileShareApi.js +2 -2
- package/src/index.js +38 -8
- package/src/model/PtsV2PaymentsPost201Response.js +12 -4
- package/src/model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.js +1 -1
- package/src/model/PtsV2PaymentsPost201ResponseIssuerInformation.js +9 -0
- package/src/model/PtsV2PaymentsPost201ResponsePaymentInsightsInformation.js +81 -0
- package/src/model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights.js +91 -0
- package/src/model/Ptsv2paymentsConsumerAuthenticationInformation.js +2 -2
- package/src/model/Ptsv2paymentsPaymentInformationCard.js +9 -0
- package/src/model/Ptsv2paymentsPaymentInformationTokenizedCard.js +11 -2
- package/src/model/Ptsv2paymentsPointOfSaleInformationEmv.js +3 -3
- package/src/model/Ptsv2paymentsProcessingInformation.js +9 -0
- package/src/model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.js +3 -3
- package/src/model/Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator.js +3 -3
- package/src/model/ReportingV3ChargebackDetailsGet200ResponseChargebackDetails.js +9 -0
- package/src/model/RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation.js +27 -0
- package/src/model/RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.js +28 -1
- package/src/model/Riskv1authenticationresultsConsumerAuthenticationInformation.js +20 -2
- package/src/model/{TssV2TransactionsPost201ResponseEmbeddedDeviceInformation.js → Riskv1authenticationresultsDeviceInformation.js} +8 -8
- package/src/model/Riskv1authenticationresultsPaymentInformationTokenizedCard.js +1 -1
- package/src/model/Riskv1authenticationsPaymentInformationTokenizedCard.js +24 -3
- package/src/model/Riskv1authenticationsetupsPaymentInformationTokenizedCard.js +2 -2
- package/src/model/Riskv1decisionsConsumerAuthenticationInformation.js +11 -2
- package/src/model/Riskv1decisionsPaymentInformationTokenizedCard.js +1 -1
- package/src/model/TssV2TransactionsGet200Response.js +12 -4
- package/src/model/TssV2TransactionsGet200ResponsePaymentInformationCustomer.js +1 -1
- package/src/model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.js +6 -6
- package/src/model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator.js +108 -0
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformation.js +14 -6
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank.js +81 -0
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount.js +91 -0
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer.js +82 -0
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.js +6 -6
- package/src/model/ValidateRequest.js +12 -4
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
(function(root, factory) {
|
|
17
17
|
if (typeof define === 'function' && define.amd) {
|
|
18
18
|
// AMD. Register as an anonymous module.
|
|
19
|
-
define(['ApiClient', 'model/PtsV2PaymentsPost201ResponseBuyerInformation', 'model/PtsV2PaymentsPost201ResponseClientReferenceInformation', 'model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation', 'model/PtsV2PaymentsPost201ResponseErrorInformation', 'model/PtsV2PaymentsPost201ResponseInstallmentInformation', 'model/PtsV2PaymentsPost201ResponseIssuerInformation', 'model/PtsV2PaymentsPost201ResponseLinks', 'model/PtsV2PaymentsPost201ResponseOrderInformation', 'model/PtsV2PaymentsPost201ResponsePaymentAccountInformation', 'model/PtsV2PaymentsPost201ResponsePaymentInformation', 'model/PtsV2PaymentsPost201ResponsePointOfSaleInformation', 'model/PtsV2PaymentsPost201ResponseProcessingInformation', 'model/PtsV2PaymentsPost201ResponseProcessorInformation', 'model/PtsV2PaymentsPost201ResponseRiskInformation', 'model/PtsV2PaymentsPost201ResponseTokenInformation'], factory);
|
|
19
|
+
define(['ApiClient', 'model/PtsV2PaymentsPost201ResponseBuyerInformation', 'model/PtsV2PaymentsPost201ResponseClientReferenceInformation', 'model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation', 'model/PtsV2PaymentsPost201ResponseErrorInformation', 'model/PtsV2PaymentsPost201ResponseInstallmentInformation', 'model/PtsV2PaymentsPost201ResponseIssuerInformation', 'model/PtsV2PaymentsPost201ResponseLinks', 'model/PtsV2PaymentsPost201ResponseOrderInformation', 'model/PtsV2PaymentsPost201ResponsePaymentAccountInformation', 'model/PtsV2PaymentsPost201ResponsePaymentInformation', 'model/PtsV2PaymentsPost201ResponsePaymentInsightsInformation', 'model/PtsV2PaymentsPost201ResponsePointOfSaleInformation', 'model/PtsV2PaymentsPost201ResponseProcessingInformation', 'model/PtsV2PaymentsPost201ResponseProcessorInformation', 'model/PtsV2PaymentsPost201ResponseRiskInformation', 'model/PtsV2PaymentsPost201ResponseTokenInformation'], factory);
|
|
20
20
|
} else if (typeof module === 'object' && module.exports) {
|
|
21
21
|
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
-
module.exports = factory(require('../ApiClient'), require('./PtsV2PaymentsPost201ResponseBuyerInformation'), require('./PtsV2PaymentsPost201ResponseClientReferenceInformation'), require('./PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation'), require('./PtsV2PaymentsPost201ResponseErrorInformation'), require('./PtsV2PaymentsPost201ResponseInstallmentInformation'), require('./PtsV2PaymentsPost201ResponseIssuerInformation'), require('./PtsV2PaymentsPost201ResponseLinks'), require('./PtsV2PaymentsPost201ResponseOrderInformation'), require('./PtsV2PaymentsPost201ResponsePaymentAccountInformation'), require('./PtsV2PaymentsPost201ResponsePaymentInformation'), require('./PtsV2PaymentsPost201ResponsePointOfSaleInformation'), require('./PtsV2PaymentsPost201ResponseProcessingInformation'), require('./PtsV2PaymentsPost201ResponseProcessorInformation'), require('./PtsV2PaymentsPost201ResponseRiskInformation'), require('./PtsV2PaymentsPost201ResponseTokenInformation'));
|
|
22
|
+
module.exports = factory(require('../ApiClient'), require('./PtsV2PaymentsPost201ResponseBuyerInformation'), require('./PtsV2PaymentsPost201ResponseClientReferenceInformation'), require('./PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation'), require('./PtsV2PaymentsPost201ResponseErrorInformation'), require('./PtsV2PaymentsPost201ResponseInstallmentInformation'), require('./PtsV2PaymentsPost201ResponseIssuerInformation'), require('./PtsV2PaymentsPost201ResponseLinks'), require('./PtsV2PaymentsPost201ResponseOrderInformation'), require('./PtsV2PaymentsPost201ResponsePaymentAccountInformation'), require('./PtsV2PaymentsPost201ResponsePaymentInformation'), require('./PtsV2PaymentsPost201ResponsePaymentInsightsInformation'), require('./PtsV2PaymentsPost201ResponsePointOfSaleInformation'), require('./PtsV2PaymentsPost201ResponseProcessingInformation'), require('./PtsV2PaymentsPost201ResponseProcessorInformation'), require('./PtsV2PaymentsPost201ResponseRiskInformation'), require('./PtsV2PaymentsPost201ResponseTokenInformation'));
|
|
23
23
|
} else {
|
|
24
24
|
// Browser globals (root is window)
|
|
25
25
|
if (!root.CyberSource) {
|
|
26
26
|
root.CyberSource = {};
|
|
27
27
|
}
|
|
28
|
-
root.CyberSource.PtsV2PaymentsPost201Response = factory(root.CyberSource.ApiClient, root.CyberSource.PtsV2PaymentsPost201ResponseBuyerInformation, root.CyberSource.PtsV2PaymentsPost201ResponseClientReferenceInformation, root.CyberSource.PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation, root.CyberSource.PtsV2PaymentsPost201ResponseErrorInformation, root.CyberSource.PtsV2PaymentsPost201ResponseInstallmentInformation, root.CyberSource.PtsV2PaymentsPost201ResponseIssuerInformation, root.CyberSource.PtsV2PaymentsPost201ResponseLinks, root.CyberSource.PtsV2PaymentsPost201ResponseOrderInformation, root.CyberSource.PtsV2PaymentsPost201ResponsePaymentAccountInformation, root.CyberSource.PtsV2PaymentsPost201ResponsePaymentInformation, root.CyberSource.PtsV2PaymentsPost201ResponsePointOfSaleInformation, root.CyberSource.PtsV2PaymentsPost201ResponseProcessingInformation, root.CyberSource.PtsV2PaymentsPost201ResponseProcessorInformation, root.CyberSource.PtsV2PaymentsPost201ResponseRiskInformation, root.CyberSource.PtsV2PaymentsPost201ResponseTokenInformation);
|
|
28
|
+
root.CyberSource.PtsV2PaymentsPost201Response = factory(root.CyberSource.ApiClient, root.CyberSource.PtsV2PaymentsPost201ResponseBuyerInformation, root.CyberSource.PtsV2PaymentsPost201ResponseClientReferenceInformation, root.CyberSource.PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation, root.CyberSource.PtsV2PaymentsPost201ResponseErrorInformation, root.CyberSource.PtsV2PaymentsPost201ResponseInstallmentInformation, root.CyberSource.PtsV2PaymentsPost201ResponseIssuerInformation, root.CyberSource.PtsV2PaymentsPost201ResponseLinks, root.CyberSource.PtsV2PaymentsPost201ResponseOrderInformation, root.CyberSource.PtsV2PaymentsPost201ResponsePaymentAccountInformation, root.CyberSource.PtsV2PaymentsPost201ResponsePaymentInformation, root.CyberSource.PtsV2PaymentsPost201ResponsePaymentInsightsInformation, root.CyberSource.PtsV2PaymentsPost201ResponsePointOfSaleInformation, root.CyberSource.PtsV2PaymentsPost201ResponseProcessingInformation, root.CyberSource.PtsV2PaymentsPost201ResponseProcessorInformation, root.CyberSource.PtsV2PaymentsPost201ResponseRiskInformation, root.CyberSource.PtsV2PaymentsPost201ResponseTokenInformation);
|
|
29
29
|
}
|
|
30
|
-
}(this, function(ApiClient, PtsV2PaymentsPost201ResponseBuyerInformation, PtsV2PaymentsPost201ResponseClientReferenceInformation, PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation, PtsV2PaymentsPost201ResponseErrorInformation, PtsV2PaymentsPost201ResponseInstallmentInformation, PtsV2PaymentsPost201ResponseIssuerInformation, PtsV2PaymentsPost201ResponseLinks, PtsV2PaymentsPost201ResponseOrderInformation, PtsV2PaymentsPost201ResponsePaymentAccountInformation, PtsV2PaymentsPost201ResponsePaymentInformation, PtsV2PaymentsPost201ResponsePointOfSaleInformation, PtsV2PaymentsPost201ResponseProcessingInformation, PtsV2PaymentsPost201ResponseProcessorInformation, PtsV2PaymentsPost201ResponseRiskInformation, PtsV2PaymentsPost201ResponseTokenInformation) {
|
|
30
|
+
}(this, function(ApiClient, PtsV2PaymentsPost201ResponseBuyerInformation, PtsV2PaymentsPost201ResponseClientReferenceInformation, PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation, PtsV2PaymentsPost201ResponseErrorInformation, PtsV2PaymentsPost201ResponseInstallmentInformation, PtsV2PaymentsPost201ResponseIssuerInformation, PtsV2PaymentsPost201ResponseLinks, PtsV2PaymentsPost201ResponseOrderInformation, PtsV2PaymentsPost201ResponsePaymentAccountInformation, PtsV2PaymentsPost201ResponsePaymentInformation, PtsV2PaymentsPost201ResponsePaymentInsightsInformation, PtsV2PaymentsPost201ResponsePointOfSaleInformation, PtsV2PaymentsPost201ResponseProcessingInformation, PtsV2PaymentsPost201ResponseProcessorInformation, PtsV2PaymentsPost201ResponseRiskInformation, PtsV2PaymentsPost201ResponseTokenInformation) {
|
|
31
31
|
'use strict';
|
|
32
32
|
|
|
33
33
|
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
|
+
|
|
68
69
|
|
|
69
70
|
};
|
|
70
71
|
|
|
@@ -115,6 +116,9 @@
|
|
|
115
116
|
if (data.hasOwnProperty('paymentInformation')) {
|
|
116
117
|
obj['paymentInformation'] = PtsV2PaymentsPost201ResponsePaymentInformation.constructFromObject(data['paymentInformation']);
|
|
117
118
|
}
|
|
119
|
+
if (data.hasOwnProperty('paymentInsightsInformation')) {
|
|
120
|
+
obj['paymentInsightsInformation'] = PtsV2PaymentsPost201ResponsePaymentInsightsInformation.constructFromObject(data['paymentInsightsInformation']);
|
|
121
|
+
}
|
|
118
122
|
if (data.hasOwnProperty('orderInformation')) {
|
|
119
123
|
obj['orderInformation'] = PtsV2PaymentsPost201ResponseOrderInformation.constructFromObject(data['orderInformation']);
|
|
120
124
|
}
|
|
@@ -192,6 +196,10 @@
|
|
|
192
196
|
* @member {module:model/PtsV2PaymentsPost201ResponsePaymentInformation} paymentInformation
|
|
193
197
|
*/
|
|
194
198
|
exports.prototype['paymentInformation'] = undefined;
|
|
199
|
+
/**
|
|
200
|
+
* @member {module:model/PtsV2PaymentsPost201ResponsePaymentInsightsInformation} paymentInsightsInformation
|
|
201
|
+
*/
|
|
202
|
+
exports.prototype['paymentInsightsInformation'] = undefined;
|
|
195
203
|
/**
|
|
196
204
|
* @member {module:model/PtsV2PaymentsPost201ResponseOrderInformation} orderInformation
|
|
197
205
|
*/
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
*/
|
|
264
264
|
exports.prototype['authorizationPayload'] = undefined;
|
|
265
265
|
/**
|
|
266
|
-
* Payer authentication transaction identifier
|
|
266
|
+
* Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages. For Rupay, this field should be passed as request only for Resend OTP use case.
|
|
267
267
|
* @member {String} authenticationTransactionId
|
|
268
268
|
*/
|
|
269
269
|
exports.prototype['authenticationTransactionId'] = undefined;
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
+
|
|
54
55
|
};
|
|
55
56
|
|
|
56
57
|
/**
|
|
@@ -76,6 +77,9 @@
|
|
|
76
77
|
if (data.hasOwnProperty('responseCode')) {
|
|
77
78
|
obj['responseCode'] = ApiClient.convertToType(data['responseCode'], 'String');
|
|
78
79
|
}
|
|
80
|
+
if (data.hasOwnProperty('responseRaw')) {
|
|
81
|
+
obj['responseRaw'] = ApiClient.convertToType(data['responseRaw'], 'String');
|
|
82
|
+
}
|
|
79
83
|
}
|
|
80
84
|
return obj;
|
|
81
85
|
}
|
|
@@ -100,6 +104,11 @@
|
|
|
100
104
|
* @member {String} responseCode
|
|
101
105
|
*/
|
|
102
106
|
exports.prototype['responseCode'] = undefined;
|
|
107
|
+
/**
|
|
108
|
+
* issuerInformation.responseRaw is the raw processor auth response returned to merchant in CYBS auth response if auth request includes \"processingInformation.isReturnAuthRecordEnabled=true\". If supported by the gateway code, it is available to merchants who auth through CYBS and run their own settlement processing.
|
|
109
|
+
* @member {String} responseRaw
|
|
110
|
+
*/
|
|
111
|
+
exports.prototype['responseRaw'] = undefined;
|
|
103
112
|
|
|
104
113
|
|
|
105
114
|
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CyberSource Merged Spec
|
|
3
|
+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
*
|
|
10
|
+
* Swagger Codegen version: 2.3.0
|
|
11
|
+
*
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
(function(root, factory) {
|
|
17
|
+
if (typeof define === 'function' && define.amd) {
|
|
18
|
+
// AMD. Register as an anonymous module.
|
|
19
|
+
define(['ApiClient', 'model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights'], factory);
|
|
20
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
+
module.exports = factory(require('../ApiClient'), require('./PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.PtsV2PaymentsPost201ResponsePaymentInsightsInformation = factory(root.CyberSource.ApiClient, root.CyberSource.PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient, PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The PtsV2PaymentsPost201ResponsePaymentInsightsInformation model module.
|
|
38
|
+
* @module model/PtsV2PaymentsPost201ResponsePaymentInsightsInformation
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>PtsV2PaymentsPost201ResponsePaymentInsightsInformation</code>.
|
|
44
|
+
* @alias module:model/PtsV2PaymentsPost201ResponsePaymentInsightsInformation
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Constructs a <code>PtsV2PaymentsPost201ResponsePaymentInsightsInformation</code> from a plain JavaScript object, optionally creating a new instance.
|
|
55
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
56
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
57
|
+
* @param {module:model/PtsV2PaymentsPost201ResponsePaymentInsightsInformation} obj Optional instance to populate.
|
|
58
|
+
* @return {module:model/PtsV2PaymentsPost201ResponsePaymentInsightsInformation} The populated <code>PtsV2PaymentsPost201ResponsePaymentInsightsInformation</code> instance.
|
|
59
|
+
*/
|
|
60
|
+
exports.constructFromObject = function(data, obj) {
|
|
61
|
+
if (data) {
|
|
62
|
+
obj = obj || new exports();
|
|
63
|
+
|
|
64
|
+
if (data.hasOwnProperty('responseInsights')) {
|
|
65
|
+
obj['responseInsights'] = PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights.constructFromObject(data['responseInsights']);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return obj;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @member {module:model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights} responseInsights
|
|
73
|
+
*/
|
|
74
|
+
exports.prototype['responseInsights'] = undefined;
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
return exports;
|
|
79
|
+
}));
|
|
80
|
+
|
|
81
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CyberSource Merged Spec
|
|
3
|
+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
*
|
|
10
|
+
* Swagger Codegen version: 2.3.0
|
|
11
|
+
*
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
(function(root, factory) {
|
|
17
|
+
if (typeof define === 'function' && define.amd) {
|
|
18
|
+
// AMD. Register as an anonymous module.
|
|
19
|
+
define(['ApiClient'], factory);
|
|
20
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
+
module.exports = factory(require('../ApiClient'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights = factory(root.CyberSource.ApiClient);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights model module.
|
|
38
|
+
* @module model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights</code>.
|
|
44
|
+
* @alias module:model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Constructs a <code>PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights</code> from a plain JavaScript object, optionally creating a new instance.
|
|
56
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
57
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
58
|
+
* @param {module:model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights} The populated <code>PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights</code> instance.
|
|
60
|
+
*/
|
|
61
|
+
exports.constructFromObject = function(data, obj) {
|
|
62
|
+
if (data) {
|
|
63
|
+
obj = obj || new exports();
|
|
64
|
+
|
|
65
|
+
if (data.hasOwnProperty('category')) {
|
|
66
|
+
obj['category'] = ApiClient.convertToType(data['category'], 'String');
|
|
67
|
+
}
|
|
68
|
+
if (data.hasOwnProperty('categoryCode')) {
|
|
69
|
+
obj['categoryCode'] = ApiClient.convertToType(data['categoryCode'], 'String');
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return obj;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Categorization of response message from processor Possible Values: - `APPROVED` - `ISSUER_WILL_NEVER_APPROVE` - `ISSUER_CANT_APPROVE_AT_THIS_TIME` - `ISSUER_CANT_APPROVE_WITH_THESE_DETAILS` - `GENERIC_ERROR` - `OTHERS` - `MATCH_NOT_FOUND`
|
|
77
|
+
* @member {String} category
|
|
78
|
+
*/
|
|
79
|
+
exports.prototype['category'] = undefined;
|
|
80
|
+
/**
|
|
81
|
+
* Categorization Code of response message from processor Possible Values: - `01` : Issuer Will Never Approve - `02` : Issuer Can't Approve at this Time - `03` : Issuer Can't Approve with these Details - `04` : Generic Error - `98` : Others - `99` : Payment Insights Response Category Match Not Found
|
|
82
|
+
* @member {String} categoryCode
|
|
83
|
+
*/
|
|
84
|
+
exports.prototype['categoryCode'] = undefined;
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
return exports;
|
|
89
|
+
}));
|
|
90
|
+
|
|
91
|
+
|
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
*/
|
|
344
344
|
exports.prototype['paSpecificationVersion'] = undefined;
|
|
345
345
|
/**
|
|
346
|
-
* Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled **NOTE**: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.
|
|
346
|
+
* Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled 20 - OTP hosted at merchant end. (Rupay S2S flow) **NOTE**: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.
|
|
347
347
|
* @member {String} authenticationType
|
|
348
348
|
*/
|
|
349
349
|
exports.prototype['authenticationType'] = undefined;
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
*/
|
|
384
384
|
exports.prototype['authenticationDate'] = undefined;
|
|
385
385
|
/**
|
|
386
|
-
* Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages. **Note**: Required for Standard integration for enroll service. Required for Hybrid integration for validate service.
|
|
386
|
+
* Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages.For Rupay,this is passed only in Re-Send OTP usecase. **Note**: Required for Standard integration, Rupay Seamless server to server integration for enroll service. Required for Hybrid integration for validate service.
|
|
387
387
|
* @member {String} authenticationTransactionId
|
|
388
388
|
*/
|
|
389
389
|
exports.prototype['authenticationTransactionId'] = undefined;
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
64
|
+
|
|
64
65
|
};
|
|
65
66
|
|
|
66
67
|
/**
|
|
@@ -116,6 +117,9 @@
|
|
|
116
117
|
if (data.hasOwnProperty('productName')) {
|
|
117
118
|
obj['productName'] = ApiClient.convertToType(data['productName'], 'String');
|
|
118
119
|
}
|
|
120
|
+
if (data.hasOwnProperty('typeSelectionIndicator')) {
|
|
121
|
+
obj['typeSelectionIndicator'] = ApiClient.convertToType(data['typeSelectionIndicator'], 'String');
|
|
122
|
+
}
|
|
119
123
|
}
|
|
120
124
|
return obj;
|
|
121
125
|
}
|
|
@@ -190,6 +194,11 @@
|
|
|
190
194
|
* @member {String} productName
|
|
191
195
|
*/
|
|
192
196
|
exports.prototype['productName'] = undefined;
|
|
197
|
+
/**
|
|
198
|
+
* Flag that identifies how the card type was selected. Possible values: - 0: Card type was selected based on default acquirer settings. - 1: Customer selected the card type.
|
|
199
|
+
* @member {String} typeSelectionIndicator
|
|
200
|
+
*/
|
|
201
|
+
exports.prototype['typeSelectionIndicator'] = undefined;
|
|
193
202
|
|
|
194
203
|
|
|
195
204
|
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
60
|
+
|
|
60
61
|
};
|
|
61
62
|
|
|
62
63
|
/**
|
|
@@ -100,6 +101,9 @@
|
|
|
100
101
|
if (data.hasOwnProperty('securityCode')) {
|
|
101
102
|
obj['securityCode'] = ApiClient.convertToType(data['securityCode'], 'String');
|
|
102
103
|
}
|
|
104
|
+
if (data.hasOwnProperty('securityCodeIndicator')) {
|
|
105
|
+
obj['securityCodeIndicator'] = ApiClient.convertToType(data['securityCodeIndicator'], 'String');
|
|
106
|
+
}
|
|
103
107
|
}
|
|
104
108
|
return obj;
|
|
105
109
|
}
|
|
@@ -125,7 +129,7 @@
|
|
|
125
129
|
*/
|
|
126
130
|
exports.prototype['type'] = undefined;
|
|
127
131
|
/**
|
|
128
|
-
* This field
|
|
132
|
+
* This field contains token information.
|
|
129
133
|
* @member {String} cryptogram
|
|
130
134
|
*/
|
|
131
135
|
exports.prototype['cryptogram'] = undefined;
|
|
@@ -135,7 +139,7 @@
|
|
|
135
139
|
*/
|
|
136
140
|
exports.prototype['requestorId'] = undefined;
|
|
137
141
|
/**
|
|
138
|
-
* Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.
|
|
142
|
+
* Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.
|
|
139
143
|
* @member {String} transactionType
|
|
140
144
|
*/
|
|
141
145
|
exports.prototype['transactionType'] = undefined;
|
|
@@ -154,6 +158,11 @@
|
|
|
154
158
|
* @member {String} securityCode
|
|
155
159
|
*/
|
|
156
160
|
exports.prototype['securityCode'] = undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Indicates whether a CVN code was sent. Possible values: - `0` (default): CVN service not requested. This default value is used when you do not include `securityCode` field in the request. - `1` (default): CVN service requested and supported. This default value is used when you include `securityCode` field in the request. - `2`: CVN on credit card is illegible. - `9`: CVN was not imprinted on credit card. #### FDMS Nashville Required for American Express cards; otherwise, optional. #### TSYS Acquiring Solutions Optional if `pointOfSaleInformation.entryMode=keyed`; otherwise, not used. #### All other processors Optional.
|
|
163
|
+
* @member {String} securityCodeIndicator
|
|
164
|
+
*/
|
|
165
|
+
exports.prototype['securityCodeIndicator'] = undefined;
|
|
157
166
|
|
|
158
167
|
|
|
159
168
|
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
obj['fallbackCondition'] = ApiClient.convertToType(data['fallbackCondition'], 'Number');
|
|
83
83
|
}
|
|
84
84
|
if (data.hasOwnProperty('isRepeat')) {
|
|
85
|
-
obj['isRepeat'] = ApiClient.convertToType(data['isRepeat'], '
|
|
85
|
+
obj['isRepeat'] = ApiClient.convertToType(data['isRepeat'], 'Boolean');
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
return obj;
|
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
*/
|
|
115
115
|
exports.prototype['fallbackCondition'] = undefined;
|
|
116
116
|
/**
|
|
117
|
-
* #### Visa Platform Connect Value
|
|
118
|
-
* @member {
|
|
117
|
+
* #### Visa Platform Connect Value “true” indicates this transaction is intentionally duplicated . The field contains value “true” which indicates that merchant has intentionally duplicated single tap transaction. Merchant is intentionally sending a duplicate auth request for a single tap txn because the issuer requested a PIN.
|
|
118
|
+
* @member {Boolean} isRepeat
|
|
119
119
|
*/
|
|
120
120
|
exports.prototype['isRepeat'] = undefined;
|
|
121
121
|
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
|
|
75
|
+
|
|
75
76
|
|
|
76
77
|
|
|
77
78
|
};
|
|
@@ -168,6 +169,9 @@
|
|
|
168
169
|
if (data.hasOwnProperty('payByPointsIndicator')) {
|
|
169
170
|
obj['payByPointsIndicator'] = ApiClient.convertToType(data['payByPointsIndicator'], 'Boolean');
|
|
170
171
|
}
|
|
172
|
+
if (data.hasOwnProperty('isReturnAuthRecordEnabled')) {
|
|
173
|
+
obj['isReturnAuthRecordEnabled'] = ApiClient.convertToType(data['isReturnAuthRecordEnabled'], 'Boolean');
|
|
174
|
+
}
|
|
171
175
|
}
|
|
172
176
|
return obj;
|
|
173
177
|
}
|
|
@@ -300,6 +304,11 @@
|
|
|
300
304
|
* @member {Boolean} payByPointsIndicator
|
|
301
305
|
*/
|
|
302
306
|
exports.prototype['payByPointsIndicator'] = undefined;
|
|
307
|
+
/**
|
|
308
|
+
* Flag that indicates the functionality we are having for merchants for which auth is done through Cybersource but settlement is done by themselves. true: functionality is supported. Processor should send raw processor auth response to Merchant. false: functionality is not supported. Default: false
|
|
309
|
+
* @member {Boolean} isReturnAuthRecordEnabled
|
|
310
|
+
*/
|
|
311
|
+
exports.prototype['isReturnAuthRecordEnabled'] = undefined;
|
|
303
312
|
|
|
304
313
|
|
|
305
314
|
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
obj['credentialStoredOnFile'] = ApiClient.convertToType(data['credentialStoredOnFile'], 'Boolean');
|
|
72
72
|
}
|
|
73
73
|
if (data.hasOwnProperty('storedCredentialUsed')) {
|
|
74
|
-
obj['storedCredentialUsed'] = ApiClient.convertToType(data['storedCredentialUsed'], '
|
|
74
|
+
obj['storedCredentialUsed'] = ApiClient.convertToType(data['storedCredentialUsed'], 'Boolean');
|
|
75
75
|
}
|
|
76
76
|
if (data.hasOwnProperty('merchantInitiatedTransaction')) {
|
|
77
77
|
obj['merchantInitiatedTransaction'] = Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.constructFromObject(data['merchantInitiatedTransaction']);
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
*/
|
|
92
92
|
exports.prototype['credentialStoredOnFile'] = undefined;
|
|
93
93
|
/**
|
|
94
|
-
* Indicates to an issuing bank whether a merchant-initiated transaction came from a card that was already stored on file. Possible values: - **
|
|
95
|
-
* @member {
|
|
94
|
+
* Indicates to an issuing bank whether a merchant-initiated transaction came from a card that was already stored on file. Possible values: - **true** means the merchant-initiated transaction came from a card that was already stored on file. - **false** means the merchant-initiated transaction came from a card that was not stored on file.
|
|
95
|
+
* @member {Boolean} storedCredentialUsed
|
|
96
96
|
*/
|
|
97
97
|
exports.prototype['storedCredentialUsed'] = undefined;
|
|
98
98
|
/**
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
obj = obj || new exports();
|
|
63
63
|
|
|
64
64
|
if (data.hasOwnProperty('storedCredentialUsed')) {
|
|
65
|
-
obj['storedCredentialUsed'] = ApiClient.convertToType(data['storedCredentialUsed'], '
|
|
65
|
+
obj['storedCredentialUsed'] = ApiClient.convertToType(data['storedCredentialUsed'], 'Boolean');
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
return obj;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
* Indicates to an issuing bank whether a merchant-initiated transaction came from a card that was already stored on file. Possible values: - **
|
|
73
|
-
* @member {
|
|
72
|
+
* Indicates to an issuing bank whether a merchant-initiated transaction came from a card that was already stored on file. Possible values: - **true** means the merchant-initiated transaction came from a card that was already stored on file. - **false** means the merchant-initiated transaction came from a card that was not stored on file.
|
|
73
|
+
* @member {Boolean} storedCredentialUsed
|
|
74
74
|
*/
|
|
75
75
|
exports.prototype['storedCredentialUsed'] = undefined;
|
|
76
76
|
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
|
+
|
|
70
71
|
|
|
71
72
|
|
|
72
73
|
};
|
|
@@ -148,6 +149,9 @@
|
|
|
148
149
|
if (data.hasOwnProperty('eventRequestedTime')) {
|
|
149
150
|
obj['eventRequestedTime'] = ApiClient.convertToType(data['eventRequestedTime'], 'Date');
|
|
150
151
|
}
|
|
152
|
+
if (data.hasOwnProperty('preDisputeFlag')) {
|
|
153
|
+
obj['preDisputeFlag'] = ApiClient.convertToType(data['preDisputeFlag'], 'String');
|
|
154
|
+
}
|
|
151
155
|
}
|
|
152
156
|
return obj;
|
|
153
157
|
}
|
|
@@ -262,6 +266,11 @@
|
|
|
262
266
|
* @member {Date} eventRequestedTime
|
|
263
267
|
*/
|
|
264
268
|
exports.prototype['eventRequestedTime'] = undefined;
|
|
269
|
+
/**
|
|
270
|
+
* Pre Dispute Flag
|
|
271
|
+
* @member {String} preDisputeFlag
|
|
272
|
+
*/
|
|
273
|
+
exports.prototype['preDisputeFlag'] = undefined;
|
|
265
274
|
|
|
266
275
|
|
|
267
276
|
|
package/src/model/RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation.js
CHANGED
|
@@ -66,6 +66,9 @@
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
69
72
|
|
|
70
73
|
|
|
71
74
|
|
|
@@ -95,6 +98,15 @@
|
|
|
95
98
|
if (data.hasOwnProperty('authenticationStatusMsg')) {
|
|
96
99
|
obj['authenticationStatusMsg'] = ApiClient.convertToType(data['authenticationStatusMsg'], 'String');
|
|
97
100
|
}
|
|
101
|
+
if (data.hasOwnProperty('authenticationTransactionId')) {
|
|
102
|
+
obj['authenticationTransactionId'] = ApiClient.convertToType(data['authenticationTransactionId'], 'String');
|
|
103
|
+
}
|
|
104
|
+
if (data.hasOwnProperty('authenticationTransactionContextId')) {
|
|
105
|
+
obj['authenticationTransactionContextId'] = ApiClient.convertToType(data['authenticationTransactionContextId'], 'String');
|
|
106
|
+
}
|
|
107
|
+
if (data.hasOwnProperty('transactionToken')) {
|
|
108
|
+
obj['transactionToken'] = ApiClient.convertToType(data['transactionToken'], 'String');
|
|
109
|
+
}
|
|
98
110
|
if (data.hasOwnProperty('authorizationPayload')) {
|
|
99
111
|
obj['authorizationPayload'] = ApiClient.convertToType(data['authorizationPayload'], 'String');
|
|
100
112
|
}
|
|
@@ -176,6 +188,21 @@
|
|
|
176
188
|
* @member {String} authenticationStatusMsg
|
|
177
189
|
*/
|
|
178
190
|
exports.prototype['authenticationStatusMsg'] = undefined;
|
|
191
|
+
/**
|
|
192
|
+
* Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages. For Rupay, this field should be passed as request only for Resend OTP use case.
|
|
193
|
+
* @member {String} authenticationTransactionId
|
|
194
|
+
*/
|
|
195
|
+
exports.prototype['authenticationTransactionId'] = undefined;
|
|
196
|
+
/**
|
|
197
|
+
* Payer authentication transaction identifier passed to link the validation and authorization calls.
|
|
198
|
+
* @member {String} authenticationTransactionContextId
|
|
199
|
+
*/
|
|
200
|
+
exports.prototype['authenticationTransactionContextId'] = undefined;
|
|
201
|
+
/**
|
|
202
|
+
* Web based token used to authenticate consumer with Rupay authentication provider.
|
|
203
|
+
* @member {String} transactionToken
|
|
204
|
+
*/
|
|
205
|
+
exports.prototype['transactionToken'] = undefined;
|
|
179
206
|
/**
|
|
180
207
|
* The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow
|
|
181
208
|
* @member {String} authorizationPayload
|
|
@@ -79,6 +79,9 @@
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
82
85
|
|
|
83
86
|
|
|
84
87
|
|
|
@@ -114,9 +117,18 @@
|
|
|
114
117
|
if (data.hasOwnProperty('authorizationPayload')) {
|
|
115
118
|
obj['authorizationPayload'] = ApiClient.convertToType(data['authorizationPayload'], 'String');
|
|
116
119
|
}
|
|
120
|
+
if (data.hasOwnProperty('authenticationType')) {
|
|
121
|
+
obj['authenticationType'] = ApiClient.convertToType(data['authenticationType'], 'String');
|
|
122
|
+
}
|
|
117
123
|
if (data.hasOwnProperty('authenticationTransactionId')) {
|
|
118
124
|
obj['authenticationTransactionId'] = ApiClient.convertToType(data['authenticationTransactionId'], 'String');
|
|
119
125
|
}
|
|
126
|
+
if (data.hasOwnProperty('authenticationTransactionContextId')) {
|
|
127
|
+
obj['authenticationTransactionContextId'] = ApiClient.convertToType(data['authenticationTransactionContextId'], 'String');
|
|
128
|
+
}
|
|
129
|
+
if (data.hasOwnProperty('validityPeriod')) {
|
|
130
|
+
obj['validityPeriod'] = ApiClient.convertToType(data['validityPeriod'], 'Number');
|
|
131
|
+
}
|
|
120
132
|
if (data.hasOwnProperty('cardholderMessage')) {
|
|
121
133
|
obj['cardholderMessage'] = ApiClient.convertToType(data['cardholderMessage'], 'String');
|
|
122
134
|
}
|
|
@@ -239,10 +251,25 @@
|
|
|
239
251
|
*/
|
|
240
252
|
exports.prototype['authorizationPayload'] = undefined;
|
|
241
253
|
/**
|
|
242
|
-
*
|
|
254
|
+
* Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled 20 - OTP hosted at merchant end. (Rupay S2S flow) **NOTE**: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.
|
|
255
|
+
* @member {String} authenticationType
|
|
256
|
+
*/
|
|
257
|
+
exports.prototype['authenticationType'] = undefined;
|
|
258
|
+
/**
|
|
259
|
+
* Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages. For Rupay, this field should be passed as request only for Resend OTP use case.
|
|
243
260
|
* @member {String} authenticationTransactionId
|
|
244
261
|
*/
|
|
245
262
|
exports.prototype['authenticationTransactionId'] = undefined;
|
|
263
|
+
/**
|
|
264
|
+
* Payer authentication transaction identifier passed to link the validation and authorization calls.
|
|
265
|
+
* @member {String} authenticationTransactionContextId
|
|
266
|
+
*/
|
|
267
|
+
exports.prototype['authenticationTransactionContextId'] = undefined;
|
|
268
|
+
/**
|
|
269
|
+
* Describes validity of OTP in minutes for incoming transaction. .
|
|
270
|
+
* @member {Number} validityPeriod
|
|
271
|
+
*/
|
|
272
|
+
exports.prototype['validityPeriod'] = undefined;
|
|
246
273
|
/**
|
|
247
274
|
* Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction.The Issuer can provide information to Cardholder. For example, “Additional authentication is needed for this transaction, please contact (Issuer Name) at xxx-xxx-xxxx.”. The Issuing Bank can optionally support this value.
|
|
248
275
|
* @member {String} cardholderMessage
|
|
@@ -54,6 +54,8 @@
|
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
|
|
57
|
+
|
|
58
|
+
|
|
57
59
|
};
|
|
58
60
|
|
|
59
61
|
/**
|
|
@@ -70,6 +72,12 @@
|
|
|
70
72
|
if (data.hasOwnProperty('authenticationTransactionId')) {
|
|
71
73
|
obj['authenticationTransactionId'] = ApiClient.convertToType(data['authenticationTransactionId'], 'String');
|
|
72
74
|
}
|
|
75
|
+
if (data.hasOwnProperty('authenticationTransactionContext')) {
|
|
76
|
+
obj['authenticationTransactionContext'] = ApiClient.convertToType(data['authenticationTransactionContext'], 'String');
|
|
77
|
+
}
|
|
78
|
+
if (data.hasOwnProperty('otpToken')) {
|
|
79
|
+
obj['otpToken'] = ApiClient.convertToType(data['otpToken'], 'String');
|
|
80
|
+
}
|
|
73
81
|
if (data.hasOwnProperty('authenticationType')) {
|
|
74
82
|
obj['authenticationType'] = ApiClient.convertToType(data['authenticationType'], 'String');
|
|
75
83
|
}
|
|
@@ -93,12 +101,22 @@
|
|
|
93
101
|
}
|
|
94
102
|
|
|
95
103
|
/**
|
|
96
|
-
* Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages. **Note**: Required for Standard integration for enroll service. Required for Hybrid integration for validate service.
|
|
104
|
+
* Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages.For Rupay,this is passed only in Re-Send OTP usecase. **Note**: Required for Standard integration, Rupay Seamless server to server integration for enroll service. Required for Hybrid integration for validate service.
|
|
97
105
|
* @member {String} authenticationTransactionId
|
|
98
106
|
*/
|
|
99
107
|
exports.prototype['authenticationTransactionId'] = undefined;
|
|
100
108
|
/**
|
|
101
|
-
*
|
|
109
|
+
* Authentication transaction context is used as a unique identifier to link enroll and validate call.
|
|
110
|
+
* @member {String} authenticationTransactionContext
|
|
111
|
+
*/
|
|
112
|
+
exports.prototype['authenticationTransactionContext'] = undefined;
|
|
113
|
+
/**
|
|
114
|
+
* OTP entered by the card holder.
|
|
115
|
+
* @member {String} otpToken
|
|
116
|
+
*/
|
|
117
|
+
exports.prototype['otpToken'] = undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled 20 - OTP hosted at merchant end. (Rupay S2S flow) **NOTE**: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.
|
|
102
120
|
* @member {String} authenticationType
|
|
103
121
|
*/
|
|
104
122
|
exports.prototype['authenticationType'] = undefined;
|