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.
Files changed (87) hide show
  1. package/docs/BillingAgreementsApi.md +155 -0
  2. package/docs/CreateBillingAgreement.md +16 -0
  3. package/docs/CreateBundledDecisionManagerCaseRequest.md +1 -0
  4. package/docs/IntimateBillingAgreement.md +12 -0
  5. package/docs/InvoiceSettingsApi.md +2 -2
  6. package/docs/InvoicesApi.md +6 -6
  7. package/docs/ModifyBillingAgreement.md +16 -0
  8. package/docs/PlansApi.md +12 -20
  9. package/docs/PtsV2CreditsPost201Response1.md +12 -0
  10. package/docs/PtsV2CreditsPost201Response1InstallmentInformation.md +8 -0
  11. package/docs/PtsV2CreditsPost201Response1ProcessorInformation.md +9 -0
  12. package/docs/PtsV2PaymentsPost201Response.md +1 -0
  13. package/docs/PtsV2PaymentsPost201ResponseEmbeddedActions.md +12 -0
  14. package/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE.md +10 -0
  15. package/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.md +10 -0
  16. package/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION.md +10 -0
  17. package/docs/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.md +10 -0
  18. package/docs/Ptsv2billingagreementsAggregatorInformation.md +9 -0
  19. package/docs/Ptsv2billingagreementsConsumerAuthenticationInformation.md +11 -0
  20. package/docs/Ptsv2billingagreementsDeviceInformation.md +10 -0
  21. package/docs/Ptsv2billingagreementsInstallmentInformation.md +16 -0
  22. package/docs/Ptsv2billingagreementsMerchantInformation.md +11 -0
  23. package/docs/Ptsv2billingagreementsMerchantInformationMerchantDescriptor.md +11 -0
  24. package/docs/Ptsv2billingagreementsOrderInformation.md +9 -0
  25. package/docs/Ptsv2billingagreementsOrderInformationBillTo.md +20 -0
  26. package/docs/Ptsv2billingagreementsPaymentInformation.md +9 -0
  27. package/docs/Ptsv2billingagreementsPaymentInformationCard.md +12 -0
  28. package/docs/Ptsv2billingagreementsPaymentInformationTokenizedCard.md +13 -0
  29. package/docs/Ptsv2billingagreementsProcessingInformation.md +9 -0
  30. package/docs/Ptsv2paymentsOrderInformation.md +1 -0
  31. package/docs/Ptsv2paymentsProcessingInformation.md +1 -1
  32. package/docs/Ptsv2paymentsRecipientInformation.md +1 -0
  33. package/docs/Riskv1authenticationsetupsTokenInformation.md +1 -0
  34. package/docs/Riskv1decisionsOrderInformation.md +1 -0
  35. package/docs/Riskv1decisionsTokenInformation.md +8 -0
  36. package/docs/SubscriptionsApi.md +14 -26
  37. package/docs/TssV2TransactionsGet200Response.md +1 -0
  38. package/docs/TssV2TransactionsPost201Response.md +0 -1
  39. package/docs/TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications.md +2 -0
  40. package/docs/TssV2TransactionsPost201ResponseEmbeddedErrorInformation.md +8 -0
  41. package/docs/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.md +2 -0
  42. package/docs/ValidateRequest.md +1 -0
  43. package/package.json +1 -1
  44. package/src/ApiClient.js +3 -1
  45. package/src/api/BillingAgreementsApi.js +203 -0
  46. package/src/api/InvoiceSettingsApi.js +2 -2
  47. package/src/api/InvoicesApi.js +6 -6
  48. package/src/api/PlansApi.js +18 -18
  49. package/src/api/SubscriptionsApi.js +23 -23
  50. package/src/index.js +133 -3
  51. package/src/model/CreateBillingAgreement.js +145 -0
  52. package/src/model/CreateBundledDecisionManagerCaseRequest.js +12 -4
  53. package/src/model/IntimateBillingAgreement.js +113 -0
  54. package/src/model/ModifyBillingAgreement.js +145 -0
  55. package/src/model/PtsV2CreditsPost201Response1.js +116 -0
  56. package/src/model/PtsV2CreditsPost201Response1InstallmentInformation.js +82 -0
  57. package/src/model/PtsV2CreditsPost201Response1ProcessorInformation.js +91 -0
  58. package/src/model/PtsV2PaymentsPost201Response.js +12 -4
  59. package/src/model/PtsV2PaymentsPost201ResponseEmbeddedActions.js +114 -0
  60. package/src/model/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE.js +100 -0
  61. package/src/model/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.js +100 -0
  62. package/src/model/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION.js +100 -0
  63. package/src/model/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.js +100 -0
  64. package/src/model/Ptsv2billingagreementsAggregatorInformation.js +90 -0
  65. package/src/model/Ptsv2billingagreementsConsumerAuthenticationInformation.js +109 -0
  66. package/src/model/Ptsv2billingagreementsDeviceInformation.js +100 -0
  67. package/src/model/Ptsv2billingagreementsInstallmentInformation.js +154 -0
  68. package/src/model/Ptsv2billingagreementsMerchantInformation.js +108 -0
  69. package/src/model/Ptsv2billingagreementsMerchantInformationMerchantDescriptor.js +109 -0
  70. package/src/model/Ptsv2billingagreementsOrderInformation.js +89 -0
  71. package/src/model/Ptsv2billingagreementsOrderInformationBillTo.js +190 -0
  72. package/src/model/Ptsv2billingagreementsPaymentInformation.js +89 -0
  73. package/src/model/Ptsv2billingagreementsPaymentInformationCard.js +118 -0
  74. package/src/model/Ptsv2billingagreementsPaymentInformationTokenizedCard.js +127 -0
  75. package/src/model/Ptsv2billingagreementsProcessingInformation.js +91 -0
  76. package/src/model/Ptsv2paymentsOrderInformation.js +9 -0
  77. package/src/model/Ptsv2paymentsProcessingInformation.js +1 -1
  78. package/src/model/Ptsv2paymentsRecipientInformation.js +9 -0
  79. package/src/model/Riskv1authenticationsetupsTokenInformation.js +9 -0
  80. package/src/model/Riskv1decisionsOrderInformation.js +9 -0
  81. package/src/model/Riskv1decisionsTokenInformation.js +82 -0
  82. package/src/model/TssV2TransactionsGet200Response.js +9 -0
  83. package/src/model/TssV2TransactionsPost201Response.js +0 -9
  84. package/src/model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications.js +18 -0
  85. package/src/model/TssV2TransactionsPost201ResponseEmbeddedErrorInformation.js +82 -0
  86. package/src/model/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.js +21 -4
  87. 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.PtsV2CreditsPost201Response1ProcessorInformation = factory(root.CyberSource.ApiClient);
29
+ }
30
+ }(this, function(ApiClient) {
31
+ 'use strict';
32
+
33
+
34
+
35
+
36
+ /**
37
+ * The PtsV2CreditsPost201Response1ProcessorInformation model module.
38
+ * @module model/PtsV2CreditsPost201Response1ProcessorInformation
39
+ * @version 0.0.1
40
+ */
41
+
42
+ /**
43
+ * Constructs a new <code>PtsV2CreditsPost201Response1ProcessorInformation</code>.
44
+ * @alias module:model/PtsV2CreditsPost201Response1ProcessorInformation
45
+ * @class
46
+ */
47
+ var exports = function() {
48
+ var _this = this;
49
+
50
+
51
+
52
+ };
53
+
54
+ /**
55
+ * Constructs a <code>PtsV2CreditsPost201Response1ProcessorInformation</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/PtsV2CreditsPost201Response1ProcessorInformation} obj Optional instance to populate.
59
+ * @return {module:model/PtsV2CreditsPost201Response1ProcessorInformation} The populated <code>PtsV2CreditsPost201Response1ProcessorInformation</code> instance.
60
+ */
61
+ exports.constructFromObject = function(data, obj) {
62
+ if (data) {
63
+ obj = obj || new exports();
64
+
65
+ if (data.hasOwnProperty('approvalCode')) {
66
+ obj['approvalCode'] = ApiClient.convertToType(data['approvalCode'], 'String');
67
+ }
68
+ if (data.hasOwnProperty('responseCode')) {
69
+ obj['responseCode'] = ApiClient.convertToType(data['responseCode'], 'String');
70
+ }
71
+ }
72
+ return obj;
73
+ }
74
+
75
+ /**
76
+ * Authorization code. Returned only when the processor returns this value. The length of this value depends on your processor. Returned by authorization service. #### PIN debit Authorization code that is returned by the processor. Returned by PIN debit credit. #### Elavon Encrypted Account Number Program The returned value is OFFLINE. #### TSYS Acquiring Solutions The returned value for a successful zero amount authorization is 000000.
77
+ * @member {String} approvalCode
78
+ */
79
+ exports.prototype['approvalCode'] = undefined;
80
+ /**
81
+ * For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. **Important** Do not use this field to evaluate the result of the authorization. #### PIN debit Response value that is returned by the processor or bank. **Important** Do not use this field to evaluate the results of the transaction request. Returned by PIN debit credit, PIN debit purchase, and PIN debit reversal. #### AIBMS If this value is `08`, you can accept the transaction if the customer provides you with identification. #### Atos This value is the response code sent from Atos and it might also include the response code from the bank. Format: `aa,bb` with the two values separated by a comma and where: - `aa` is the two-digit error message from Atos. - `bb` is the optional two-digit error message from the bank. #### Comercio Latino This value is the status code and the error or response code received from the processor separated by a colon. Format: [status code]:E[error code] or [status code]:R[response code] Example `2:R06` #### JCN Gateway Processor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field. String (3)
82
+ * @member {String} responseCode
83
+ */
84
+ exports.prototype['responseCode'] = undefined;
85
+
86
+
87
+
88
+ return exports;
89
+ }));
90
+
91
+
@@ -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/PtsV2PaymentsPost201ResponsePaymentInsightsInformation', 'model/PtsV2PaymentsPost201ResponsePointOfSaleInformation', 'model/PtsV2PaymentsPost201ResponseProcessingInformation', 'model/PtsV2PaymentsPost201ResponseProcessorInformation', 'model/PtsV2PaymentsPost201ResponseRiskInformation', 'model/PtsV2PaymentsPost201ResponseTokenInformation', 'model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation'], factory);
19
+ define(['ApiClient', 'model/PtsV2PaymentsPost201ResponseBuyerInformation', 'model/PtsV2PaymentsPost201ResponseClientReferenceInformation', 'model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation', 'model/PtsV2PaymentsPost201ResponseEmbeddedActions', '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', 'model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation'], 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('./PtsV2PaymentsPost201ResponsePaymentInsightsInformation'), require('./PtsV2PaymentsPost201ResponsePointOfSaleInformation'), require('./PtsV2PaymentsPost201ResponseProcessingInformation'), require('./PtsV2PaymentsPost201ResponseProcessorInformation'), require('./PtsV2PaymentsPost201ResponseRiskInformation'), require('./PtsV2PaymentsPost201ResponseTokenInformation'), require('./PtsV2PaymentsPost201ResponseWatchlistScreeningInformation'));
22
+ module.exports = factory(require('../ApiClient'), require('./PtsV2PaymentsPost201ResponseBuyerInformation'), require('./PtsV2PaymentsPost201ResponseClientReferenceInformation'), require('./PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation'), require('./PtsV2PaymentsPost201ResponseEmbeddedActions'), 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'), require('./PtsV2PaymentsPost201ResponseWatchlistScreeningInformation'));
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.PtsV2PaymentsPost201ResponsePaymentInsightsInformation, root.CyberSource.PtsV2PaymentsPost201ResponsePointOfSaleInformation, root.CyberSource.PtsV2PaymentsPost201ResponseProcessingInformation, root.CyberSource.PtsV2PaymentsPost201ResponseProcessorInformation, root.CyberSource.PtsV2PaymentsPost201ResponseRiskInformation, root.CyberSource.PtsV2PaymentsPost201ResponseTokenInformation, root.CyberSource.PtsV2PaymentsPost201ResponseWatchlistScreeningInformation);
28
+ root.CyberSource.PtsV2PaymentsPost201Response = factory(root.CyberSource.ApiClient, root.CyberSource.PtsV2PaymentsPost201ResponseBuyerInformation, root.CyberSource.PtsV2PaymentsPost201ResponseClientReferenceInformation, root.CyberSource.PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation, root.CyberSource.PtsV2PaymentsPost201ResponseEmbeddedActions, 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, root.CyberSource.PtsV2PaymentsPost201ResponseWatchlistScreeningInformation);
29
29
  }
30
- }(this, function(ApiClient, PtsV2PaymentsPost201ResponseBuyerInformation, PtsV2PaymentsPost201ResponseClientReferenceInformation, PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation, PtsV2PaymentsPost201ResponseErrorInformation, PtsV2PaymentsPost201ResponseInstallmentInformation, PtsV2PaymentsPost201ResponseIssuerInformation, PtsV2PaymentsPost201ResponseLinks, PtsV2PaymentsPost201ResponseOrderInformation, PtsV2PaymentsPost201ResponsePaymentAccountInformation, PtsV2PaymentsPost201ResponsePaymentInformation, PtsV2PaymentsPost201ResponsePaymentInsightsInformation, PtsV2PaymentsPost201ResponsePointOfSaleInformation, PtsV2PaymentsPost201ResponseProcessingInformation, PtsV2PaymentsPost201ResponseProcessorInformation, PtsV2PaymentsPost201ResponseRiskInformation, PtsV2PaymentsPost201ResponseTokenInformation, PtsV2PaymentsPost201ResponseWatchlistScreeningInformation) {
30
+ }(this, function(ApiClient, PtsV2PaymentsPost201ResponseBuyerInformation, PtsV2PaymentsPost201ResponseClientReferenceInformation, PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation, PtsV2PaymentsPost201ResponseEmbeddedActions, PtsV2PaymentsPost201ResponseErrorInformation, PtsV2PaymentsPost201ResponseInstallmentInformation, PtsV2PaymentsPost201ResponseIssuerInformation, PtsV2PaymentsPost201ResponseLinks, PtsV2PaymentsPost201ResponseOrderInformation, PtsV2PaymentsPost201ResponsePaymentAccountInformation, PtsV2PaymentsPost201ResponsePaymentInformation, PtsV2PaymentsPost201ResponsePaymentInsightsInformation, PtsV2PaymentsPost201ResponsePointOfSaleInformation, PtsV2PaymentsPost201ResponseProcessingInformation, PtsV2PaymentsPost201ResponseProcessorInformation, PtsV2PaymentsPost201ResponseRiskInformation, PtsV2PaymentsPost201ResponseTokenInformation, PtsV2PaymentsPost201ResponseWatchlistScreeningInformation) {
31
31
  'use strict';
32
32
 
33
33
 
@@ -66,6 +66,7 @@
66
66
 
67
67
 
68
68
 
69
+
69
70
 
70
71
 
71
72
  };
@@ -141,6 +142,9 @@
141
142
  if (data.hasOwnProperty('consumerAuthenticationInformation')) {
142
143
  obj['consumerAuthenticationInformation'] = PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.constructFromObject(data['consumerAuthenticationInformation']);
143
144
  }
145
+ if (data.hasOwnProperty('embeddedActions')) {
146
+ obj['embeddedActions'] = PtsV2PaymentsPost201ResponseEmbeddedActions.constructFromObject(data['embeddedActions']);
147
+ }
144
148
  if (data.hasOwnProperty('watchlistScreeningInformation')) {
145
149
  obj['watchlistScreeningInformation'] = PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.constructFromObject(data['watchlistScreeningInformation']);
146
150
  }
@@ -232,6 +236,10 @@
232
236
  * @member {module:model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation} consumerAuthenticationInformation
233
237
  */
234
238
  exports.prototype['consumerAuthenticationInformation'] = undefined;
239
+ /**
240
+ * @member {module:model/PtsV2PaymentsPost201ResponseEmbeddedActions} embeddedActions
241
+ */
242
+ exports.prototype['embeddedActions'] = undefined;
235
243
  /**
236
244
  * @member {module:model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation} watchlistScreeningInformation
237
245
  */
@@ -0,0 +1,114 @@
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/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE', 'model/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION', 'model/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION', 'model/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING'], 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('./PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE'), require('./PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION'), require('./PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION'), require('./PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING'));
23
+ } else {
24
+ // Browser globals (root is window)
25
+ if (!root.CyberSource) {
26
+ root.CyberSource = {};
27
+ }
28
+ root.CyberSource.PtsV2PaymentsPost201ResponseEmbeddedActions = factory(root.CyberSource.ApiClient, root.CyberSource.PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE, root.CyberSource.PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION, root.CyberSource.PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION, root.CyberSource.PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING);
29
+ }
30
+ }(this, function(ApiClient, PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE, PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION, PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION, PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING) {
31
+ 'use strict';
32
+
33
+
34
+
35
+
36
+ /**
37
+ * The PtsV2PaymentsPost201ResponseEmbeddedActions model module.
38
+ * @module model/PtsV2PaymentsPost201ResponseEmbeddedActions
39
+ * @version 0.0.1
40
+ */
41
+
42
+ /**
43
+ * Constructs a new <code>PtsV2PaymentsPost201ResponseEmbeddedActions</code>.
44
+ * Contains embedded actions, that includes status and response for every actions in the list.
45
+ * @alias module:model/PtsV2PaymentsPost201ResponseEmbeddedActions
46
+ * @class
47
+ */
48
+ var exports = function() {
49
+ var _this = this;
50
+
51
+
52
+
53
+
54
+
55
+
56
+ };
57
+
58
+ /**
59
+ * Constructs a <code>PtsV2PaymentsPost201ResponseEmbeddedActions</code> from a plain JavaScript object, optionally creating a new instance.
60
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
61
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
62
+ * @param {module:model/PtsV2PaymentsPost201ResponseEmbeddedActions} obj Optional instance to populate.
63
+ * @return {module:model/PtsV2PaymentsPost201ResponseEmbeddedActions} The populated <code>PtsV2PaymentsPost201ResponseEmbeddedActions</code> instance.
64
+ */
65
+ exports.constructFromObject = function(data, obj) {
66
+ if (data) {
67
+ obj = obj || new exports();
68
+
69
+ if (data.hasOwnProperty('CAPTURE')) {
70
+ obj['CAPTURE'] = PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE.constructFromObject(data['CAPTURE']);
71
+ }
72
+ if (data.hasOwnProperty('DECISION')) {
73
+ obj['DECISION'] = PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION.constructFromObject(data['DECISION']);
74
+ }
75
+ if (data.hasOwnProperty('CONSUMER_AUTHENTICATION')) {
76
+ obj['CONSUMER_AUTHENTICATION'] = PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.constructFromObject(data['CONSUMER_AUTHENTICATION']);
77
+ }
78
+ if (data.hasOwnProperty('VALIDATE_CONSUMER_AUTHENTICATION')) {
79
+ obj['VALIDATE_CONSUMER_AUTHENTICATION'] = PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.constructFromObject(data['VALIDATE_CONSUMER_AUTHENTICATION']);
80
+ }
81
+ if (data.hasOwnProperty('WATCHLIST_SCREENING')) {
82
+ obj['WATCHLIST_SCREENING'] = PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.constructFromObject(data['WATCHLIST_SCREENING']);
83
+ }
84
+ }
85
+ return obj;
86
+ }
87
+
88
+ /**
89
+ * @member {module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE} CAPTURE
90
+ */
91
+ exports.prototype['CAPTURE'] = undefined;
92
+ /**
93
+ * @member {module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION} DECISION
94
+ */
95
+ exports.prototype['DECISION'] = undefined;
96
+ /**
97
+ * @member {module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION} CONSUMER_AUTHENTICATION
98
+ */
99
+ exports.prototype['CONSUMER_AUTHENTICATION'] = undefined;
100
+ /**
101
+ * @member {module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION} VALIDATE_CONSUMER_AUTHENTICATION
102
+ */
103
+ exports.prototype['VALIDATE_CONSUMER_AUTHENTICATION'] = undefined;
104
+ /**
105
+ * @member {module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING} WATCHLIST_SCREENING
106
+ */
107
+ exports.prototype['WATCHLIST_SCREENING'] = undefined;
108
+
109
+
110
+
111
+ return exports;
112
+ }));
113
+
114
+
@@ -0,0 +1,100 @@
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.PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE = factory(root.CyberSource.ApiClient);
29
+ }
30
+ }(this, function(ApiClient) {
31
+ 'use strict';
32
+
33
+
34
+
35
+
36
+ /**
37
+ * The PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE model module.
38
+ * @module model/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
39
+ * @version 0.0.1
40
+ */
41
+
42
+ /**
43
+ * Constructs a new <code>PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE</code>.
44
+ * @alias module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
45
+ * @class
46
+ */
47
+ var exports = function() {
48
+ var _this = this;
49
+
50
+
51
+
52
+
53
+ };
54
+
55
+ /**
56
+ * Constructs a <code>PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE</code> from a plain JavaScript object, optionally creating a new instance.
57
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
58
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
59
+ * @param {module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE} obj Optional instance to populate.
60
+ * @return {module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE} The populated <code>PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE</code> instance.
61
+ */
62
+ exports.constructFromObject = function(data, obj) {
63
+ if (data) {
64
+ obj = obj || new exports();
65
+
66
+ if (data.hasOwnProperty('status')) {
67
+ obj['status'] = ApiClient.convertToType(data['status'], 'String');
68
+ }
69
+ if (data.hasOwnProperty('reason')) {
70
+ obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
71
+ }
72
+ if (data.hasOwnProperty('message')) {
73
+ obj['message'] = ApiClient.convertToType(data['message'], 'String');
74
+ }
75
+ }
76
+ return obj;
77
+ }
78
+
79
+ /**
80
+ * The status of the submitted transaction. Possible values: - PENDING
81
+ * @member {String} status
82
+ */
83
+ exports.prototype['status'] = undefined;
84
+ /**
85
+ * The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION - EXCEEDS_AUTH_AMOUNT - AUTH_ALREADY_REVERSED - TRANSACTION_ALREADY_SETTLED - INVALID_AMOUNT - MISSING_AUTH - TRANSACTION_ALREADY_REVERSED_OR_SETTLED - NOT_SUPPORTED
86
+ * @member {String} reason
87
+ */
88
+ exports.prototype['reason'] = undefined;
89
+ /**
90
+ * The detail message related to the status and reason listed above.
91
+ * @member {String} message
92
+ */
93
+ exports.prototype['message'] = undefined;
94
+
95
+
96
+
97
+ return exports;
98
+ }));
99
+
100
+
@@ -0,0 +1,100 @@
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.PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION = factory(root.CyberSource.ApiClient);
29
+ }
30
+ }(this, function(ApiClient) {
31
+ 'use strict';
32
+
33
+
34
+
35
+
36
+ /**
37
+ * The PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION model module.
38
+ * @module model/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
39
+ * @version 0.0.1
40
+ */
41
+
42
+ /**
43
+ * Constructs a new <code>PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION</code>.
44
+ * @alias module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
45
+ * @class
46
+ */
47
+ var exports = function() {
48
+ var _this = this;
49
+
50
+
51
+
52
+
53
+ };
54
+
55
+ /**
56
+ * Constructs a <code>PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION</code> from a plain JavaScript object, optionally creating a new instance.
57
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
58
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
59
+ * @param {module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION} obj Optional instance to populate.
60
+ * @return {module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION} The populated <code>PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION</code> instance.
61
+ */
62
+ exports.constructFromObject = function(data, obj) {
63
+ if (data) {
64
+ obj = obj || new exports();
65
+
66
+ if (data.hasOwnProperty('status')) {
67
+ obj['status'] = ApiClient.convertToType(data['status'], 'String');
68
+ }
69
+ if (data.hasOwnProperty('reason')) {
70
+ obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
71
+ }
72
+ if (data.hasOwnProperty('message')) {
73
+ obj['message'] = ApiClient.convertToType(data['message'], 'String');
74
+ }
75
+ }
76
+ return obj;
77
+ }
78
+
79
+ /**
80
+ * The status for payerAuthentication 201 enroll and validate calls. Possible values are: - `AUTHENTICATION_SUCCESSFUL` - `PENDING_AUTHENTICATION` - `INVALID_REQUEST` - `AUTHENTICATION_FAILED`
81
+ * @member {String} status
82
+ */
83
+ exports.prototype['status'] = undefined;
84
+ /**
85
+ * The reason of the status. Possible values are: - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_REQUIRED` - `CONSUMER_AUTHENTICATION_FAILED` - `AUTHENTICATION_FAILED`
86
+ * @member {String} reason
87
+ */
88
+ exports.prototype['reason'] = undefined;
89
+ /**
90
+ * The message describing the reason of the status. Value is: - Encountered a Payer Authentication problem. Payer could not be authenticated.
91
+ * @member {String} message
92
+ */
93
+ exports.prototype['message'] = undefined;
94
+
95
+
96
+
97
+ return exports;
98
+ }));
99
+
100
+
@@ -0,0 +1,100 @@
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.PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION = factory(root.CyberSource.ApiClient);
29
+ }
30
+ }(this, function(ApiClient) {
31
+ 'use strict';
32
+
33
+
34
+
35
+
36
+ /**
37
+ * The PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION model module.
38
+ * @module model/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
39
+ * @version 0.0.1
40
+ */
41
+
42
+ /**
43
+ * Constructs a new <code>PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION</code>.
44
+ * @alias module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
45
+ * @class
46
+ */
47
+ var exports = function() {
48
+ var _this = this;
49
+
50
+
51
+
52
+
53
+ };
54
+
55
+ /**
56
+ * Constructs a <code>PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION</code> from a plain JavaScript object, optionally creating a new instance.
57
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
58
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
59
+ * @param {module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION} obj Optional instance to populate.
60
+ * @return {module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION} The populated <code>PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION</code> instance.
61
+ */
62
+ exports.constructFromObject = function(data, obj) {
63
+ if (data) {
64
+ obj = obj || new exports();
65
+
66
+ if (data.hasOwnProperty('status')) {
67
+ obj['status'] = ApiClient.convertToType(data['status'], 'String');
68
+ }
69
+ if (data.hasOwnProperty('reason')) {
70
+ obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
71
+ }
72
+ if (data.hasOwnProperty('message')) {
73
+ obj['message'] = ApiClient.convertToType(data['message'], 'String');
74
+ }
75
+ }
76
+ return obj;
77
+ }
78
+
79
+ /**
80
+ * The status of the submitted transaction. Possible values: - `ACCEPTED` - `REJECTED` - `PENDING_REVIEW` - `DECLINED` - `PENDING_AUTHENTICATION` - `INVALID_REQUEST` - `AUTHENTICATION_FAILED` - `CHALLENGE`
81
+ * @member {String} status
82
+ */
83
+ exports.prototype['status'] = undefined;
84
+ /**
85
+ * The reason of the status. Possible values: - `EXPIRED_CARD` - `SCORE_EXCEEDS_THRESHOLD` - `DECISION_PROFILE_REVIEW` - `DECISION_PROFILE_REJECT` - `CONSUMER_AUTHENTICATION_REQUIRED` - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_FAILED` - `DECISION_PROFILE_CHALLENGE` - `CUSTOMER_WATCHLIST_MATCH` - `ADDRESS_COUNTRY_WATCHLIST_MATCH` - `EMAIL_COUNTRY_WATCHLIST_MATCH` - `IP_COUNTRY_WATCHLIST_MATCH`
86
+ * @member {String} reason
87
+ */
88
+ exports.prototype['reason'] = undefined;
89
+ /**
90
+ * The detail message related to the status and reason listed above.
91
+ * @member {String} message
92
+ */
93
+ exports.prototype['message'] = undefined;
94
+
95
+
96
+
97
+ return exports;
98
+ }));
99
+
100
+
@@ -0,0 +1,100 @@
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.PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING = factory(root.CyberSource.ApiClient);
29
+ }
30
+ }(this, function(ApiClient) {
31
+ 'use strict';
32
+
33
+
34
+
35
+
36
+ /**
37
+ * The PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING model module.
38
+ * @module model/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING
39
+ * @version 0.0.1
40
+ */
41
+
42
+ /**
43
+ * Constructs a new <code>PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING</code>.
44
+ * @alias module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING
45
+ * @class
46
+ */
47
+ var exports = function() {
48
+ var _this = this;
49
+
50
+
51
+
52
+
53
+ };
54
+
55
+ /**
56
+ * Constructs a <code>PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING</code> from a plain JavaScript object, optionally creating a new instance.
57
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
58
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
59
+ * @param {module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING} obj Optional instance to populate.
60
+ * @return {module:model/PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING} The populated <code>PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING</code> instance.
61
+ */
62
+ exports.constructFromObject = function(data, obj) {
63
+ if (data) {
64
+ obj = obj || new exports();
65
+
66
+ if (data.hasOwnProperty('status')) {
67
+ obj['status'] = ApiClient.convertToType(data['status'], 'String');
68
+ }
69
+ if (data.hasOwnProperty('reason')) {
70
+ obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
71
+ }
72
+ if (data.hasOwnProperty('message')) {
73
+ obj['message'] = ApiClient.convertToType(data['message'], 'String');
74
+ }
75
+ }
76
+ return obj;
77
+ }
78
+
79
+ /**
80
+ * The status for the call can be: - COMPLETED - INVALID_REQUEST - DECLINED
81
+ * @member {String} status
82
+ */
83
+ exports.prototype['status'] = undefined;
84
+ /**
85
+ * The reason of the status. Value can be - `CUSTOMER_WATCHLIST_MATCH` - `ADDRESS_COUNTRY_WATCHLIST_MATCH` - `EMAIL_COUNTRY_WATCHLIST_MATCH` - `IP_COUNTRY_WATCHLIST_MATCH` - `INVALID_MERCHANT_CONFIGURATION`
86
+ * @member {String} reason
87
+ */
88
+ exports.prototype['reason'] = undefined;
89
+ /**
90
+ * The message describing the reason of the status. Value can be - The customer matched the Denied Parties List - The Export bill_country/ship_country match - Export email_country match - Export hostname_country/ip_country match
91
+ * @member {String} message
92
+ */
93
+ exports.prototype['message'] = undefined;
94
+
95
+
96
+
97
+ return exports;
98
+ }));
99
+
100
+