cybersource-rest-client 0.0.47 → 0.0.49
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/docs/BillingAgreementsApi.md +155 -0
- package/docs/CreateBillingAgreement.md +16 -0
- package/docs/CreateBundledDecisionManagerCaseRequest.md +1 -0
- package/docs/IntimateBillingAgreement.md +12 -0
- package/docs/InvoiceSettingsApi.md +2 -2
- package/docs/InvoicesApi.md +6 -6
- package/docs/ModifyBillingAgreement.md +16 -0
- package/docs/PlansApi.md +12 -20
- package/docs/PtsV2CreditsPost201Response1.md +12 -0
- package/docs/PtsV2CreditsPost201Response1InstallmentInformation.md +8 -0
- package/docs/PtsV2CreditsPost201Response1ProcessorInformation.md +9 -0
- package/docs/PtsV2PaymentsPost201Response.md +1 -0
- package/docs/PtsV2PaymentsPost201ResponseEmbeddedActions.md +12 -0
- package/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE.md +10 -0
- package/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.md +10 -0
- package/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION.md +10 -0
- package/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.md +10 -0
- package/docs/Ptsv2billingagreementsAggregatorInformation.md +9 -0
- package/docs/Ptsv2billingagreementsConsumerAuthenticationInformation.md +11 -0
- package/docs/Ptsv2billingagreementsDeviceInformation.md +10 -0
- package/docs/Ptsv2billingagreementsInstallmentInformation.md +16 -0
- package/docs/Ptsv2billingagreementsMerchantInformation.md +11 -0
- package/docs/Ptsv2billingagreementsMerchantInformationMerchantDescriptor.md +11 -0
- package/docs/Ptsv2billingagreementsOrderInformation.md +9 -0
- package/docs/Ptsv2billingagreementsOrderInformationBillTo.md +20 -0
- package/docs/Ptsv2billingagreementsPaymentInformation.md +9 -0
- package/docs/Ptsv2billingagreementsPaymentInformationCard.md +12 -0
- package/docs/Ptsv2billingagreementsPaymentInformationTokenizedCard.md +13 -0
- package/docs/Ptsv2billingagreementsProcessingInformation.md +9 -0
- package/docs/Ptsv2paymentsOrderInformation.md +1 -0
- package/docs/Ptsv2paymentsProcessingInformation.md +1 -1
- package/docs/Ptsv2paymentsRecipientInformation.md +1 -0
- package/docs/Riskv1authenticationsetupsTokenInformation.md +1 -0
- package/docs/Riskv1decisionsOrderInformation.md +1 -0
- package/docs/Riskv1decisionsTokenInformation.md +8 -0
- package/docs/SubscriptionsApi.md +14 -26
- package/docs/TssV2TransactionsGet200Response.md +1 -0
- package/docs/TssV2TransactionsPost201Response.md +0 -1
- package/docs/TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications.md +2 -0
- package/docs/TssV2TransactionsPost201ResponseEmbeddedErrorInformation.md +8 -0
- package/docs/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.md +2 -0
- package/docs/ValidateRequest.md +1 -0
- package/package.json +1 -1
- package/src/ApiClient.js +3 -1
- package/src/api/BillingAgreementsApi.js +203 -0
- package/src/api/InvoiceSettingsApi.js +2 -2
- package/src/api/InvoicesApi.js +6 -6
- package/src/api/PlansApi.js +18 -18
- package/src/api/SubscriptionsApi.js +23 -23
- package/src/index.js +133 -3
- package/src/model/CreateBillingAgreement.js +145 -0
- package/src/model/CreateBundledDecisionManagerCaseRequest.js +12 -4
- package/src/model/IntimateBillingAgreement.js +113 -0
- package/src/model/ModifyBillingAgreement.js +145 -0
- package/src/model/PtsV2CreditsPost201Response1.js +116 -0
- package/src/model/PtsV2CreditsPost201Response1InstallmentInformation.js +82 -0
- package/src/model/PtsV2CreditsPost201Response1ProcessorInformation.js +91 -0
- package/src/model/PtsV2PaymentsPost201Response.js +12 -4
- package/src/model/PtsV2PaymentsPost201ResponseEmbeddedActions.js +114 -0
- package/src/model/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE.js +100 -0
- package/src/model/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.js +100 -0
- package/src/model/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION.js +100 -0
- package/src/model/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.js +100 -0
- package/src/model/Ptsv2billingagreementsAggregatorInformation.js +90 -0
- package/src/model/Ptsv2billingagreementsConsumerAuthenticationInformation.js +109 -0
- package/src/model/Ptsv2billingagreementsDeviceInformation.js +100 -0
- package/src/model/Ptsv2billingagreementsInstallmentInformation.js +154 -0
- package/src/model/Ptsv2billingagreementsMerchantInformation.js +108 -0
- package/src/model/Ptsv2billingagreementsMerchantInformationMerchantDescriptor.js +109 -0
- package/src/model/Ptsv2billingagreementsOrderInformation.js +89 -0
- package/src/model/Ptsv2billingagreementsOrderInformationBillTo.js +190 -0
- package/src/model/Ptsv2billingagreementsPaymentInformation.js +89 -0
- package/src/model/Ptsv2billingagreementsPaymentInformationCard.js +118 -0
- package/src/model/Ptsv2billingagreementsPaymentInformationTokenizedCard.js +127 -0
- package/src/model/Ptsv2billingagreementsProcessingInformation.js +91 -0
- package/src/model/Ptsv2paymentsOrderInformation.js +9 -0
- package/src/model/Ptsv2paymentsProcessingInformation.js +1 -1
- package/src/model/Ptsv2paymentsRecipientInformation.js +9 -0
- package/src/model/Riskv1authenticationsetupsTokenInformation.js +9 -0
- package/src/model/Riskv1decisionsOrderInformation.js +9 -0
- package/src/model/Riskv1decisionsTokenInformation.js +82 -0
- package/src/model/TssV2TransactionsGet200Response.js +9 -0
- package/src/model/TssV2TransactionsPost201Response.js +0 -9
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications.js +18 -0
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedErrorInformation.js +82 -0
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.js +21 -4
- package/src/model/ValidateRequest.js +12 -4
|
@@ -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.Ptsv2billingagreementsProcessingInformation = factory(root.CyberSource.ApiClient);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The Ptsv2billingagreementsProcessingInformation model module.
|
|
38
|
+
* @module model/Ptsv2billingagreementsProcessingInformation
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>Ptsv2billingagreementsProcessingInformation</code>.
|
|
44
|
+
* @alias module:model/Ptsv2billingagreementsProcessingInformation
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Constructs a <code>Ptsv2billingagreementsProcessingInformation</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/Ptsv2billingagreementsProcessingInformation} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/Ptsv2billingagreementsProcessingInformation} The populated <code>Ptsv2billingagreementsProcessingInformation</code> instance.
|
|
60
|
+
*/
|
|
61
|
+
exports.constructFromObject = function(data, obj) {
|
|
62
|
+
if (data) {
|
|
63
|
+
obj = obj || new exports();
|
|
64
|
+
|
|
65
|
+
if (data.hasOwnProperty('commerceIndicator')) {
|
|
66
|
+
obj['commerceIndicator'] = ApiClient.convertToType(data['commerceIndicator'], 'String');
|
|
67
|
+
}
|
|
68
|
+
if (data.hasOwnProperty('actionList')) {
|
|
69
|
+
obj['actionList'] = ApiClient.convertToType(data['actionList'], ['String']);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return obj;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Type of transaction. Used to determine fees based on channel. Possible values: - aesk: American Express SafeKey authentication was successful. - aesk_attempted: American Express SafeKey authentication was attempted but did not succeed. • install: Installment payment. - install_internet: Non-U.S. e-commerce (Internet) installment payment. This value is supported only on Visa Platform Connect. - internet (default for authorizations): E-commerce order placed using a web site. - js: JCB J/Secure authentication was successful. - js_attempted: JCB J/Secure authentication was attempted but did not succeed. - moto: Mail order or telephone order. - moto_cc: Mail order or telephone order from a call center. This value is supported only on the Asia, Middle East, and Africa Gateway. - pb: ProtectBuy authentication was successful. - pb_attempted: ProtectBuy authentication was attempted but did not succeed. - recurring: Recurring payment that is a U.S. transaction or non-U.S. mail order / telephone order (MOTO) transaction. - recurring_internet: Recurring payment that is a non-U.S. e-commerce (Internet) transaction. - retail: Card-present transaction. - spa: For Mastercard Identity Check: Authentication was successful or was attempted but did not succeed. The e-commerce indicator for all Mastercard Identity Check transactions, including authentication attempts, must be set to spa. - spa_attempted: Authentication for a co-badged Mastercard and Cartes Bancaires card was attempted but did not succeed. - spa_failure: – For Mastercard Identity Check: Authentication failed. This value is supported only on Elavon, HSBC, and Streamline. - vbv: – For Visa Secure: Authentication was successful. - vbv_attempted: – For Visa Secure: Authentication was attempted but did not succeed. - vbv_failure: – For Visa Secure: Authentication failed. This value is supported only on HSBC and Streamline.
|
|
77
|
+
* @member {String} commerceIndicator
|
|
78
|
+
*/
|
|
79
|
+
exports.prototype['commerceIndicator'] = undefined;
|
|
80
|
+
/**
|
|
81
|
+
* - Use `CONSUMER_AUTHENTICATION` to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run. - Use `WATCHLIST_SCREENING` when you want to call Watchlist Screening service. - Use `UPDATE_AGREEMENT` - Use `BILLING_AGREEMENT_CREATE` - Use `CANCEL_AGREEMENT`
|
|
82
|
+
* @member {Array.<String>} actionList
|
|
83
|
+
*/
|
|
84
|
+
exports.prototype['actionList'] = undefined;
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
return exports;
|
|
89
|
+
}));
|
|
90
|
+
|
|
91
|
+
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
62
|
+
|
|
62
63
|
};
|
|
63
64
|
|
|
64
65
|
/**
|
|
@@ -96,6 +97,9 @@
|
|
|
96
97
|
if (data.hasOwnProperty('isCryptocurrencyPurchase')) {
|
|
97
98
|
obj['isCryptocurrencyPurchase'] = ApiClient.convertToType(data['isCryptocurrencyPurchase'], 'String');
|
|
98
99
|
}
|
|
100
|
+
if (data.hasOwnProperty('cutoffDateTime')) {
|
|
101
|
+
obj['cutoffDateTime'] = ApiClient.convertToType(data['cutoffDateTime'], 'String');
|
|
102
|
+
}
|
|
99
103
|
if (data.hasOwnProperty('preOrder')) {
|
|
100
104
|
obj['preOrder'] = ApiClient.convertToType(data['preOrder'], 'String');
|
|
101
105
|
}
|
|
@@ -146,6 +150,11 @@
|
|
|
146
150
|
* @member {String} isCryptocurrencyPurchase
|
|
147
151
|
*/
|
|
148
152
|
exports.prototype['isCryptocurrencyPurchase'] = undefined;
|
|
153
|
+
/**
|
|
154
|
+
* Starting date and time for an event or a journey that is independent of which transportation mechanism, in UTC. The cutoffDateTime will supersede travelInformation.transit.airline.legs[].departureDate and travelInformation.transit.airline.legs[].departureTime if these fields are supplied in the request. Format: YYYY-MM-DDThh:mm:ssZ. Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC.
|
|
155
|
+
* @member {String} cutoffDateTime
|
|
156
|
+
*/
|
|
157
|
+
exports.prototype['cutoffDateTime'] = undefined;
|
|
149
158
|
/**
|
|
150
159
|
* Indicates whether cardholder is placing an order with a future availability or release date. This field can contain one of these values: - MERCHANDISE_AVAILABLE: Merchandise available - FUTURE_AVAILABILITY: Future availability
|
|
151
160
|
* @member {String} preOrder
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
|
-
* Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer
|
|
196
|
+
* Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentication along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentication result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested. - `WATCHLIST_SCREENING` : Use this when you want to call Watchlist Screening service.
|
|
197
197
|
* @member {Array.<String>} actionList
|
|
198
198
|
*/
|
|
199
199
|
exports.prototype['actionList'] = 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('postalCode')) {
|
|
77
78
|
obj['postalCode'] = ApiClient.convertToType(data['postalCode'], 'String');
|
|
78
79
|
}
|
|
80
|
+
if (data.hasOwnProperty('dateOfBirth')) {
|
|
81
|
+
obj['dateOfBirth'] = ApiClient.convertToType(data['dateOfBirth'], 'String');
|
|
82
|
+
}
|
|
79
83
|
}
|
|
80
84
|
return obj;
|
|
81
85
|
}
|
|
@@ -100,6 +104,11 @@
|
|
|
100
104
|
* @member {String} postalCode
|
|
101
105
|
*/
|
|
102
106
|
exports.prototype['postalCode'] = undefined;
|
|
107
|
+
/**
|
|
108
|
+
* Recipient’s date of birth. **Format**: `YYYYMMDD`. This field is a `pass-through`, which means that CyberSource ensures that the value is eight numeric characters but otherwise does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For more details, see `recipient_date_of_birth` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
|
109
|
+
* @member {String} dateOfBirth
|
|
110
|
+
*/
|
|
111
|
+
exports.prototype['dateOfBirth'] = undefined;
|
|
103
112
|
|
|
104
113
|
|
|
105
114
|
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
var _this = this;
|
|
49
49
|
|
|
50
50
|
|
|
51
|
+
|
|
51
52
|
};
|
|
52
53
|
|
|
53
54
|
/**
|
|
@@ -64,6 +65,9 @@
|
|
|
64
65
|
if (data.hasOwnProperty('transientToken')) {
|
|
65
66
|
obj['transientToken'] = ApiClient.convertToType(data['transientToken'], 'String');
|
|
66
67
|
}
|
|
68
|
+
if (data.hasOwnProperty('jti')) {
|
|
69
|
+
obj['jti'] = ApiClient.convertToType(data['jti'], 'String');
|
|
70
|
+
}
|
|
67
71
|
}
|
|
68
72
|
return obj;
|
|
69
73
|
}
|
|
@@ -73,6 +77,11 @@
|
|
|
73
77
|
* @member {String} transientToken
|
|
74
78
|
*/
|
|
75
79
|
exports.prototype['transientToken'] = undefined;
|
|
80
|
+
/**
|
|
81
|
+
* TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV).
|
|
82
|
+
* @member {String} jti
|
|
83
|
+
*/
|
|
84
|
+
exports.prototype['jti'] = undefined;
|
|
76
85
|
|
|
77
86
|
|
|
78
87
|
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
|
|
61
|
+
|
|
61
62
|
};
|
|
62
63
|
|
|
63
64
|
/**
|
|
@@ -80,6 +81,9 @@
|
|
|
80
81
|
if (data.hasOwnProperty('preOrderDate')) {
|
|
81
82
|
obj['preOrderDate'] = ApiClient.convertToType(data['preOrderDate'], 'String');
|
|
82
83
|
}
|
|
84
|
+
if (data.hasOwnProperty('cutoffDateTime')) {
|
|
85
|
+
obj['cutoffDateTime'] = ApiClient.convertToType(data['cutoffDateTime'], 'String');
|
|
86
|
+
}
|
|
83
87
|
if (data.hasOwnProperty('reordered')) {
|
|
84
88
|
obj['reordered'] = ApiClient.convertToType(data['reordered'], 'Boolean');
|
|
85
89
|
}
|
|
@@ -119,6 +123,11 @@
|
|
|
119
123
|
* @member {String} preOrderDate
|
|
120
124
|
*/
|
|
121
125
|
exports.prototype['preOrderDate'] = undefined;
|
|
126
|
+
/**
|
|
127
|
+
* Starting date and time for an event or a journey that is independent of which transportation mechanism, in UTC. The cutoffDateTime will supersede travelInformation.departureTime if both are supplied in the request. Format: YYYY-MM-DDThh:mm:ssZ. Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC.
|
|
128
|
+
* @member {String} cutoffDateTime
|
|
129
|
+
*/
|
|
130
|
+
exports.prototype['cutoffDateTime'] = undefined;
|
|
122
131
|
/**
|
|
123
132
|
* Indicates whether the cardholder is reordering previously purchased merchandise. This field can contain one of these values: - false: First time ordered - true: Reordered
|
|
124
133
|
* @member {Boolean} reordered
|
|
@@ -0,0 +1,82 @@
|
|
|
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.Riskv1decisionsTokenInformation = factory(root.CyberSource.ApiClient);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The Riskv1decisionsTokenInformation model module.
|
|
38
|
+
* @module model/Riskv1decisionsTokenInformation
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>Riskv1decisionsTokenInformation</code>.
|
|
44
|
+
* @alias module:model/Riskv1decisionsTokenInformation
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Constructs a <code>Riskv1decisionsTokenInformation</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/Riskv1decisionsTokenInformation} obj Optional instance to populate.
|
|
58
|
+
* @return {module:model/Riskv1decisionsTokenInformation} The populated <code>Riskv1decisionsTokenInformation</code> instance.
|
|
59
|
+
*/
|
|
60
|
+
exports.constructFromObject = function(data, obj) {
|
|
61
|
+
if (data) {
|
|
62
|
+
obj = obj || new exports();
|
|
63
|
+
|
|
64
|
+
if (data.hasOwnProperty('jti')) {
|
|
65
|
+
obj['jti'] = ApiClient.convertToType(data['jti'], 'String');
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return obj;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV).
|
|
73
|
+
* @member {String} jti
|
|
74
|
+
*/
|
|
75
|
+
exports.prototype['jti'] = undefined;
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
return exports;
|
|
80
|
+
}));
|
|
81
|
+
|
|
82
|
+
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
|
|
75
|
+
|
|
75
76
|
|
|
76
77
|
|
|
77
78
|
};
|
|
@@ -102,6 +103,9 @@
|
|
|
102
103
|
if (data.hasOwnProperty('submitTimeUTC')) {
|
|
103
104
|
obj['submitTimeUTC'] = ApiClient.convertToType(data['submitTimeUTC'], 'String');
|
|
104
105
|
}
|
|
106
|
+
if (data.hasOwnProperty('status')) {
|
|
107
|
+
obj['status'] = ApiClient.convertToType(data['status'], 'String');
|
|
108
|
+
}
|
|
105
109
|
if (data.hasOwnProperty('applicationInformation')) {
|
|
106
110
|
obj['applicationInformation'] = TssV2TransactionsGet200ResponseApplicationInformation.constructFromObject(data['applicationInformation']);
|
|
107
111
|
}
|
|
@@ -197,6 +201,11 @@
|
|
|
197
201
|
* @member {String} submitTimeUTC
|
|
198
202
|
*/
|
|
199
203
|
exports.prototype['submitTimeUTC'] = undefined;
|
|
204
|
+
/**
|
|
205
|
+
* The status of the submitted transaction.
|
|
206
|
+
* @member {String} status
|
|
207
|
+
*/
|
|
208
|
+
exports.prototype['status'] = undefined;
|
|
200
209
|
/**
|
|
201
210
|
* @member {module:model/TssV2TransactionsGet200ResponseApplicationInformation} applicationInformation
|
|
202
211
|
*/
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
|
|
64
63
|
};
|
|
65
64
|
|
|
66
65
|
/**
|
|
@@ -104,9 +103,6 @@
|
|
|
104
103
|
if (data.hasOwnProperty('totalCount')) {
|
|
105
104
|
obj['totalCount'] = ApiClient.convertToType(data['totalCount'], 'Number');
|
|
106
105
|
}
|
|
107
|
-
if (data.hasOwnProperty('status')) {
|
|
108
|
-
obj['status'] = ApiClient.convertToType(data['status'], 'String');
|
|
109
|
-
}
|
|
110
106
|
if (data.hasOwnProperty('submitTimeUtc')) {
|
|
111
107
|
obj['submitTimeUtc'] = ApiClient.convertToType(data['submitTimeUtc'], 'String');
|
|
112
108
|
}
|
|
@@ -170,11 +166,6 @@
|
|
|
170
166
|
* @member {Number} totalCount
|
|
171
167
|
*/
|
|
172
168
|
exports.prototype['totalCount'] = undefined;
|
|
173
|
-
/**
|
|
174
|
-
* The status of the submitted transaction.
|
|
175
|
-
* @member {String} status
|
|
176
|
-
*/
|
|
177
|
-
exports.prototype['status'] = undefined;
|
|
178
169
|
/**
|
|
179
170
|
* Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
|
|
180
171
|
* @member {String} submitTimeUtc
|
package/src/model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications.js
CHANGED
|
@@ -54,6 +54,8 @@
|
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
|
|
57
|
+
|
|
58
|
+
|
|
57
59
|
};
|
|
58
60
|
|
|
59
61
|
/**
|
|
@@ -73,6 +75,12 @@
|
|
|
73
75
|
if (data.hasOwnProperty('reasonCode')) {
|
|
74
76
|
obj['reasonCode'] = ApiClient.convertToType(data['reasonCode'], 'String');
|
|
75
77
|
}
|
|
78
|
+
if (data.hasOwnProperty('status')) {
|
|
79
|
+
obj['status'] = ApiClient.convertToType(data['status'], 'String');
|
|
80
|
+
}
|
|
81
|
+
if (data.hasOwnProperty('reason')) {
|
|
82
|
+
obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
|
|
83
|
+
}
|
|
76
84
|
if (data.hasOwnProperty('rCode')) {
|
|
77
85
|
obj['rCode'] = ApiClient.convertToType(data['rCode'], 'String');
|
|
78
86
|
}
|
|
@@ -102,6 +110,16 @@
|
|
|
102
110
|
* @member {String} reasonCode
|
|
103
111
|
*/
|
|
104
112
|
exports.prototype['reasonCode'] = undefined;
|
|
113
|
+
/**
|
|
114
|
+
* The status of the submitted transaction. Note: This field may not be returned for all transactions.
|
|
115
|
+
* @member {String} status
|
|
116
|
+
*/
|
|
117
|
+
exports.prototype['status'] = undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Description of why a request failed. Note: This field may not be returned for all transactions.
|
|
120
|
+
* @member {String} reason
|
|
121
|
+
*/
|
|
122
|
+
exports.prototype['reason'] = undefined;
|
|
105
123
|
/**
|
|
106
124
|
* Indicates whether the service request was successful. Possible values: - `-1`: An error occurred. - `0`: The request was declined. - `1`: The request was successful.
|
|
107
125
|
* @member {String} rCode
|
|
@@ -0,0 +1,82 @@
|
|
|
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.TssV2TransactionsPost201ResponseEmbeddedErrorInformation = factory(root.CyberSource.ApiClient);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The TssV2TransactionsPost201ResponseEmbeddedErrorInformation model module.
|
|
38
|
+
* @module model/TssV2TransactionsPost201ResponseEmbeddedErrorInformation
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>TssV2TransactionsPost201ResponseEmbeddedErrorInformation</code>.
|
|
44
|
+
* @alias module:model/TssV2TransactionsPost201ResponseEmbeddedErrorInformation
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Constructs a <code>TssV2TransactionsPost201ResponseEmbeddedErrorInformation</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/TssV2TransactionsPost201ResponseEmbeddedErrorInformation} obj Optional instance to populate.
|
|
58
|
+
* @return {module:model/TssV2TransactionsPost201ResponseEmbeddedErrorInformation} The populated <code>TssV2TransactionsPost201ResponseEmbeddedErrorInformation</code> instance.
|
|
59
|
+
*/
|
|
60
|
+
exports.constructFromObject = function(data, obj) {
|
|
61
|
+
if (data) {
|
|
62
|
+
obj = obj || new exports();
|
|
63
|
+
|
|
64
|
+
if (data.hasOwnProperty('reason')) {
|
|
65
|
+
obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return obj;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Description of why a request failed. Note: This field may not be returned for all transactions.
|
|
73
|
+
* @member {String} reason
|
|
74
|
+
*/
|
|
75
|
+
exports.prototype['reason'] = undefined;
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
return exports;
|
|
80
|
+
}));
|
|
81
|
+
|
|
82
|
+
|
|
@@ -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/Ptsv2paymentsMerchantDefinedInformation', 'model/Riskv1authenticationresultsDeviceInformation', 'model/TssV2TransactionsGet200ResponseFraudMarkingInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedBuyerInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedLinks', 'model/TssV2TransactionsPost201ResponseEmbeddedMerchantInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedOrderInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedProcessingInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedProcessorInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedRiskInformation'], factory);
|
|
19
|
+
define(['ApiClient', 'model/Ptsv2paymentsMerchantDefinedInformation', 'model/Riskv1authenticationresultsDeviceInformation', 'model/TssV2TransactionsGet200ResponseFraudMarkingInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedBuyerInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedErrorInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedLinks', 'model/TssV2TransactionsPost201ResponseEmbeddedMerchantInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedOrderInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedProcessingInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedProcessorInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedRiskInformation'], 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('./Ptsv2paymentsMerchantDefinedInformation'), require('./Riskv1authenticationresultsDeviceInformation'), require('./TssV2TransactionsGet200ResponseFraudMarkingInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedApplicationInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedBuyerInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedLinks'), require('./TssV2TransactionsPost201ResponseEmbeddedMerchantInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedOrderInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedPaymentInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedProcessingInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedProcessorInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedRiskInformation'));
|
|
22
|
+
module.exports = factory(require('../ApiClient'), require('./Ptsv2paymentsMerchantDefinedInformation'), require('./Riskv1authenticationresultsDeviceInformation'), require('./TssV2TransactionsGet200ResponseFraudMarkingInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedApplicationInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedBuyerInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedErrorInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedLinks'), require('./TssV2TransactionsPost201ResponseEmbeddedMerchantInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedOrderInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedPaymentInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedProcessingInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedProcessorInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedRiskInformation'));
|
|
23
23
|
} else {
|
|
24
24
|
// Browser globals (root is window)
|
|
25
25
|
if (!root.CyberSource) {
|
|
26
26
|
root.CyberSource = {};
|
|
27
27
|
}
|
|
28
|
-
root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries = factory(root.CyberSource.ApiClient, root.CyberSource.Ptsv2paymentsMerchantDefinedInformation, root.CyberSource.Riskv1authenticationresultsDeviceInformation, root.CyberSource.TssV2TransactionsGet200ResponseFraudMarkingInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedApplicationInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedBuyerInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedLinks, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedMerchantInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedOrderInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedPaymentInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedProcessingInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedProcessorInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedRiskInformation);
|
|
28
|
+
root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries = factory(root.CyberSource.ApiClient, root.CyberSource.Ptsv2paymentsMerchantDefinedInformation, root.CyberSource.Riskv1authenticationresultsDeviceInformation, root.CyberSource.TssV2TransactionsGet200ResponseFraudMarkingInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedApplicationInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedBuyerInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedErrorInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedLinks, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedMerchantInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedOrderInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedPaymentInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedProcessingInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedProcessorInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedRiskInformation);
|
|
29
29
|
}
|
|
30
|
-
}(this, function(ApiClient, Ptsv2paymentsMerchantDefinedInformation, Riskv1authenticationresultsDeviceInformation, TssV2TransactionsGet200ResponseFraudMarkingInformation, TssV2TransactionsPost201ResponseEmbeddedApplicationInformation, TssV2TransactionsPost201ResponseEmbeddedBuyerInformation, TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation, TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation, TssV2TransactionsPost201ResponseEmbeddedLinks, TssV2TransactionsPost201ResponseEmbeddedMerchantInformation, TssV2TransactionsPost201ResponseEmbeddedOrderInformation, TssV2TransactionsPost201ResponseEmbeddedPaymentInformation, TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation, TssV2TransactionsPost201ResponseEmbeddedProcessingInformation, TssV2TransactionsPost201ResponseEmbeddedProcessorInformation, TssV2TransactionsPost201ResponseEmbeddedRiskInformation) {
|
|
30
|
+
}(this, function(ApiClient, Ptsv2paymentsMerchantDefinedInformation, Riskv1authenticationresultsDeviceInformation, TssV2TransactionsGet200ResponseFraudMarkingInformation, TssV2TransactionsPost201ResponseEmbeddedApplicationInformation, TssV2TransactionsPost201ResponseEmbeddedBuyerInformation, TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation, TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation, TssV2TransactionsPost201ResponseEmbeddedErrorInformation, TssV2TransactionsPost201ResponseEmbeddedLinks, TssV2TransactionsPost201ResponseEmbeddedMerchantInformation, TssV2TransactionsPost201ResponseEmbeddedOrderInformation, TssV2TransactionsPost201ResponseEmbeddedPaymentInformation, TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation, TssV2TransactionsPost201ResponseEmbeddedProcessingInformation, TssV2TransactionsPost201ResponseEmbeddedProcessorInformation, TssV2TransactionsPost201ResponseEmbeddedRiskInformation) {
|
|
31
31
|
'use strict';
|
|
32
32
|
|
|
33
33
|
|
|
@@ -64,6 +64,8 @@
|
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
|
|
67
|
+
|
|
68
|
+
|
|
67
69
|
|
|
68
70
|
};
|
|
69
71
|
|
|
@@ -87,6 +89,9 @@
|
|
|
87
89
|
if (data.hasOwnProperty('merchantId')) {
|
|
88
90
|
obj['merchantId'] = ApiClient.convertToType(data['merchantId'], 'String');
|
|
89
91
|
}
|
|
92
|
+
if (data.hasOwnProperty('status')) {
|
|
93
|
+
obj['status'] = ApiClient.convertToType(data['status'], 'String');
|
|
94
|
+
}
|
|
90
95
|
if (data.hasOwnProperty('applicationInformation')) {
|
|
91
96
|
obj['applicationInformation'] = TssV2TransactionsPost201ResponseEmbeddedApplicationInformation.constructFromObject(data['applicationInformation']);
|
|
92
97
|
}
|
|
@@ -102,6 +107,9 @@
|
|
|
102
107
|
if (data.hasOwnProperty('deviceInformation')) {
|
|
103
108
|
obj['deviceInformation'] = Riskv1authenticationresultsDeviceInformation.constructFromObject(data['deviceInformation']);
|
|
104
109
|
}
|
|
110
|
+
if (data.hasOwnProperty('errorInformation')) {
|
|
111
|
+
obj['errorInformation'] = TssV2TransactionsPost201ResponseEmbeddedErrorInformation.constructFromObject(data['errorInformation']);
|
|
112
|
+
}
|
|
105
113
|
if (data.hasOwnProperty('fraudMarkingInformation')) {
|
|
106
114
|
obj['fraudMarkingInformation'] = TssV2TransactionsGet200ResponseFraudMarkingInformation.constructFromObject(data['fraudMarkingInformation']);
|
|
107
115
|
}
|
|
@@ -151,6 +159,11 @@
|
|
|
151
159
|
* @member {String} merchantId
|
|
152
160
|
*/
|
|
153
161
|
exports.prototype['merchantId'] = undefined;
|
|
162
|
+
/**
|
|
163
|
+
* The status of the submitted transaction. Note: This field may not be returned for all transactions.
|
|
164
|
+
* @member {String} status
|
|
165
|
+
*/
|
|
166
|
+
exports.prototype['status'] = undefined;
|
|
154
167
|
/**
|
|
155
168
|
* @member {module:model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformation} applicationInformation
|
|
156
169
|
*/
|
|
@@ -171,6 +184,10 @@
|
|
|
171
184
|
* @member {module:model/Riskv1authenticationresultsDeviceInformation} deviceInformation
|
|
172
185
|
*/
|
|
173
186
|
exports.prototype['deviceInformation'] = undefined;
|
|
187
|
+
/**
|
|
188
|
+
* @member {module:model/TssV2TransactionsPost201ResponseEmbeddedErrorInformation} errorInformation
|
|
189
|
+
*/
|
|
190
|
+
exports.prototype['errorInformation'] = undefined;
|
|
174
191
|
/**
|
|
175
192
|
* @member {module:model/TssV2TransactionsGet200ResponseFraudMarkingInformation} fraudMarkingInformation
|
|
176
193
|
*/
|
|
@@ -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/Riskv1authenticationresultsConsumerAuthenticationInformation', 'model/Riskv1authenticationresultsDeviceInformation', 'model/Riskv1authenticationresultsOrderInformation', 'model/Riskv1authenticationresultsPaymentInformation', 'model/Riskv1authenticationsetupsProcessingInformation', 'model/Riskv1decisionsClientReferenceInformation'], factory);
|
|
19
|
+
define(['ApiClient', 'model/Riskv1authenticationresultsConsumerAuthenticationInformation', 'model/Riskv1authenticationresultsDeviceInformation', 'model/Riskv1authenticationresultsOrderInformation', 'model/Riskv1authenticationresultsPaymentInformation', 'model/Riskv1authenticationsetupsProcessingInformation', 'model/Riskv1decisionsClientReferenceInformation', 'model/Riskv1decisionsTokenInformation'], 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('./Riskv1authenticationresultsConsumerAuthenticationInformation'), require('./Riskv1authenticationresultsDeviceInformation'), require('./Riskv1authenticationresultsOrderInformation'), require('./Riskv1authenticationresultsPaymentInformation'), require('./Riskv1authenticationsetupsProcessingInformation'), require('./Riskv1decisionsClientReferenceInformation'));
|
|
22
|
+
module.exports = factory(require('../ApiClient'), require('./Riskv1authenticationresultsConsumerAuthenticationInformation'), require('./Riskv1authenticationresultsDeviceInformation'), require('./Riskv1authenticationresultsOrderInformation'), require('./Riskv1authenticationresultsPaymentInformation'), require('./Riskv1authenticationsetupsProcessingInformation'), require('./Riskv1decisionsClientReferenceInformation'), require('./Riskv1decisionsTokenInformation'));
|
|
23
23
|
} else {
|
|
24
24
|
// Browser globals (root is window)
|
|
25
25
|
if (!root.CyberSource) {
|
|
26
26
|
root.CyberSource = {};
|
|
27
27
|
}
|
|
28
|
-
root.CyberSource.ValidateRequest = factory(root.CyberSource.ApiClient, root.CyberSource.Riskv1authenticationresultsConsumerAuthenticationInformation, root.CyberSource.Riskv1authenticationresultsDeviceInformation, root.CyberSource.Riskv1authenticationresultsOrderInformation, root.CyberSource.Riskv1authenticationresultsPaymentInformation, root.CyberSource.Riskv1authenticationsetupsProcessingInformation, root.CyberSource.Riskv1decisionsClientReferenceInformation);
|
|
28
|
+
root.CyberSource.ValidateRequest = factory(root.CyberSource.ApiClient, root.CyberSource.Riskv1authenticationresultsConsumerAuthenticationInformation, root.CyberSource.Riskv1authenticationresultsDeviceInformation, root.CyberSource.Riskv1authenticationresultsOrderInformation, root.CyberSource.Riskv1authenticationresultsPaymentInformation, root.CyberSource.Riskv1authenticationsetupsProcessingInformation, root.CyberSource.Riskv1decisionsClientReferenceInformation, root.CyberSource.Riskv1decisionsTokenInformation);
|
|
29
29
|
}
|
|
30
|
-
}(this, function(ApiClient, Riskv1authenticationresultsConsumerAuthenticationInformation, Riskv1authenticationresultsDeviceInformation, Riskv1authenticationresultsOrderInformation, Riskv1authenticationresultsPaymentInformation, Riskv1authenticationsetupsProcessingInformation, Riskv1decisionsClientReferenceInformation) {
|
|
30
|
+
}(this, function(ApiClient, Riskv1authenticationresultsConsumerAuthenticationInformation, Riskv1authenticationresultsDeviceInformation, Riskv1authenticationresultsOrderInformation, Riskv1authenticationresultsPaymentInformation, Riskv1authenticationsetupsProcessingInformation, Riskv1decisionsClientReferenceInformation, Riskv1decisionsTokenInformation) {
|
|
31
31
|
'use strict';
|
|
32
32
|
|
|
33
33
|
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
+
|
|
56
57
|
};
|
|
57
58
|
|
|
58
59
|
/**
|
|
@@ -84,6 +85,9 @@
|
|
|
84
85
|
if (data.hasOwnProperty('deviceInformation')) {
|
|
85
86
|
obj['deviceInformation'] = Riskv1authenticationresultsDeviceInformation.constructFromObject(data['deviceInformation']);
|
|
86
87
|
}
|
|
88
|
+
if (data.hasOwnProperty('tokenInformation')) {
|
|
89
|
+
obj['tokenInformation'] = Riskv1decisionsTokenInformation.constructFromObject(data['tokenInformation']);
|
|
90
|
+
}
|
|
87
91
|
}
|
|
88
92
|
return obj;
|
|
89
93
|
}
|
|
@@ -112,6 +116,10 @@
|
|
|
112
116
|
* @member {module:model/Riskv1authenticationresultsDeviceInformation} deviceInformation
|
|
113
117
|
*/
|
|
114
118
|
exports.prototype['deviceInformation'] = undefined;
|
|
119
|
+
/**
|
|
120
|
+
* @member {module:model/Riskv1decisionsTokenInformation} tokenInformation
|
|
121
|
+
*/
|
|
122
|
+
exports.prototype['tokenInformation'] = undefined;
|
|
115
123
|
|
|
116
124
|
|
|
117
125
|
|