cybersource_rest_client 0.0.86 → 0.0.87

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 (200) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/util/CertificateUtility.rb +14 -6
  3. data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +24 -24
  4. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
  5. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
  6. data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +3 -3
  7. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
  8. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
  9. data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
  10. data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -2
  11. data/lib/cybersource_rest_client/api/transaction_details_api.rb +1 -1
  12. data/lib/cybersource_rest_client/api/transaction_query_api.rb +3 -3
  13. data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +104 -0
  14. data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
  15. data/lib/cybersource_rest_client/models/inline_response_200_17.rb +5 -5
  16. data/lib/cybersource_rest_client/models/inline_response_200_18.rb +5 -5
  17. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +1 -1
  18. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +1 -1
  19. data/lib/cybersource_rest_client/models/inline_response_201_10.rb +18 -93
  20. data/lib/cybersource_rest_client/models/inline_response_201_11.rb +103 -8
  21. data/lib/cybersource_rest_client/models/{inline_response_201_12_client_reference_information.rb → inline_response_201_11_client_reference_information.rb} +1 -1
  22. data/lib/cybersource_rest_client/models/{inline_response_201_12_error_information.rb → inline_response_201_11_error_information.rb} +1 -1
  23. data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information.rb → inline_response_201_11_order_information.rb} +2 -2
  24. data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information_currency_conversion.rb → inline_response_201_11_order_information_currency_conversion.rb} +2 -2
  25. data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information_currency_conversion_offer.rb → inline_response_201_11_order_information_currency_conversion_offer.rb} +1 -1
  26. data/lib/cybersource_rest_client/models/{inline_response_201_12_processor_information.rb → inline_response_201_11_processor_information.rb} +1 -1
  27. data/lib/cybersource_rest_client/models/inline_response_201_12.rb +110 -89
  28. data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_address.rb → inline_response_201_12_fulfillment_address.rb} +1 -1
  29. data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_options.rb → inline_response_201_12_fulfillment_options.rb} +1 -1
  30. data/lib/cybersource_rest_client/models/{inline_response_201_14_item.rb → inline_response_201_12_item.rb} +20 -20
  31. data/lib/cybersource_rest_client/models/inline_response_201_12_line_items.rb +256 -0
  32. data/lib/cybersource_rest_client/models/{inline_response_201_13_links.rb → inline_response_201_12_links.rb} +1 -1
  33. data/lib/cybersource_rest_client/models/{inline_response_201_13_messages.rb → inline_response_201_12_messages.rb} +1 -1
  34. data/lib/cybersource_rest_client/models/{inline_response_201_13_payment_provider.rb → inline_response_201_12_payment_provider.rb} +1 -1
  35. data/lib/cybersource_rest_client/models/{inline_response_201_13_totals.rb → inline_response_201_12_totals.rb} +1 -1
  36. data/lib/cybersource_rest_client/models/inline_response_201_13.rb +61 -67
  37. data/lib/cybersource_rest_client/models/{inline_response_201_14_discounts.rb → inline_response_201_13_discounts.rb} +1 -1
  38. data/lib/cybersource_rest_client/models/{inline_response_201_14_fulfillment.rb → inline_response_201_13_fulfillment.rb} +1 -1
  39. data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +19 -19
  40. data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +20 -51
  41. data/lib/cybersource_rest_client/models/{inline_response_201_14_order.rb → inline_response_201_13_order.rb} +1 -1
  42. data/lib/cybersource_rest_client/models/{inline_response_201_14_payment.rb → inline_response_201_13_payment.rb} +1 -1
  43. data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp.rb → inline_response_201_13_ucp.rb} +2 -2
  44. data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp_capabilities.rb → inline_response_201_13_ucp_capabilities.rb} +1 -1
  45. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +82 -39
  46. data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information.rb → inline_response_201_3_error_information.rb} +3 -3
  47. data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information_details.rb → inline_response_201_3_error_information_details.rb} +2 -2
  48. data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information.rb → inline_response_201_3_order_information.rb} +2 -2
  49. data/lib/cybersource_rest_client/models/inline_response_201_3_order_information_amount_details.rb +315 -0
  50. data/lib/cybersource_rest_client/models/inline_response_201_3_processing_information.rb +189 -0
  51. data/lib/cybersource_rest_client/models/{inline_response_201_4_processing_information_routing.rb → inline_response_201_3_processing_information_routing.rb} +1 -1
  52. data/lib/cybersource_rest_client/models/inline_response_201_3_processor_information.rb +213 -0
  53. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +41 -30
  54. data/lib/cybersource_rest_client/models/{inline_response_201_5__links.rb → inline_response_201_4__links.rb} +2 -2
  55. data/lib/cybersource_rest_client/models/{inline_response_201_5__links_self.rb → inline_response_201_4__links_self.rb} +1 -1
  56. data/lib/cybersource_rest_client/models/{inline_response_201_5_acquirer_information.rb → inline_response_201_4_acquirer_information.rb} +1 -1
  57. data/lib/cybersource_rest_client/models/{inline_response_201_5_client_reference_information.rb → inline_response_201_4_client_reference_information.rb} +1 -1
  58. data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +1 -1
  59. data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +1 -1
  60. data/lib/cybersource_rest_client/models/{inline_response_201_5_merchant_information.rb → inline_response_201_4_merchant_information.rb} +1 -1
  61. data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +46 -97
  62. data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information.rb → inline_response_201_4_payment_information.rb} +2 -2
  63. data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information_card.rb → inline_response_201_4_payment_information_card.rb} +1 -1
  64. data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +59 -8
  65. data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information_payouts_options.rb → inline_response_201_4_processing_information_payouts_options.rb} +1 -1
  66. data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +342 -7
  67. data/lib/cybersource_rest_client/models/{inline_response_201_5_processor_information_card_verification.rb → inline_response_201_4_processor_information_card_verification.rb} +1 -1
  68. data/lib/cybersource_rest_client/models/{inline_response_201_5_transactions.rb → inline_response_201_4_transactions.rb} +7 -7
  69. data/lib/cybersource_rest_client/models/inline_response_201_5.rb +35 -68
  70. data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information.rb → inline_response_201_5_payout_information.rb} +3 -3
  71. data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information_pull_funds.rb → inline_response_201_5_payout_information_pull_funds.rb} +1 -1
  72. data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information_push_funds.rb → inline_response_201_5_payout_information_push_funds.rb} +1 -1
  73. data/lib/cybersource_rest_client/models/inline_response_201_6.rb +59 -26
  74. data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information.rb → inline_response_201_6_integration_information.rb} +2 -2
  75. data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information_tenant_configurations.rb → inline_response_201_6_integration_information_tenant_configurations.rb} +1 -1
  76. data/lib/cybersource_rest_client/models/{inline_response_201_7_organization_information.rb → inline_response_201_6_organization_information.rb} +1 -1
  77. data/lib/cybersource_rest_client/models/{inline_response_201_7_product_information_setups.rb → inline_response_201_6_product_information_setups.rb} +2 -2
  78. data/lib/cybersource_rest_client/models/{inline_response_201_7_registration_information.rb → inline_response_201_6_registration_information.rb} +1 -1
  79. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups.rb → inline_response_201_6_setups.rb} +4 -4
  80. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_commerce_solutions.rb → inline_response_201_6_setups_commerce_solutions.rb} +1 -1
  81. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_risk.rb → inline_response_201_6_setups_risk.rb} +1 -1
  82. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_value_added_services.rb → inline_response_201_6_setups_value_added_services.rb} +1 -1
  83. data/lib/cybersource_rest_client/models/inline_response_201_7.rb +19 -78
  84. data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information.rb → inline_response_201_7_key_information.rb} +2 -2
  85. data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information_error_information.rb → inline_response_201_7_key_information_error_information.rb} +2 -2
  86. data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information_error_information_details.rb → inline_response_201_7_key_information_error_information_details.rb} +1 -1
  87. data/lib/cybersource_rest_client/models/inline_response_201_8.rb +117 -25
  88. data/lib/cybersource_rest_client/models/inline_response_201_9.rb +68 -105
  89. data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads.rb → inline_response_201_9_payloads.rb} +2 -2
  90. data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads_test_payload.rb → inline_response_201_9_payloads_test_payload.rb} +1 -1
  91. data/lib/cybersource_rest_client/models/inline_response_400_3.rb +1 -1
  92. data/lib/cybersource_rest_client/models/inline_response_400_4.rb +1 -1
  93. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_merchant_defined_field_values_with_definition.rb +11 -1
  94. data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +16 -5
  95. data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +11 -1
  96. data/lib/cybersource_rest_client/models/ucv1sessions_data_acquirer_information.rb +196 -0
  97. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +1 -1
  98. data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +16 -5
  99. data/lib/cybersource_rest_client/models/{inline_response_201_14_line_items.rb → unified_risk_post201_response.rb} +28 -42
  100. data/lib/cybersource_rest_client/models/{inline_response_201_3_results.rb → unified_risk_post201_response_results.rb} +3 -3
  101. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights.rb +291 -0
  102. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_client.rb +208 -0
  103. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_error.rb +202 -0
  104. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages.rb +190 -0
  105. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights.rb +250 -0
  106. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights_insights.rb +219 -0
  107. data/lib/cybersource_rest_client/models/unified_risk_post201_response_transaction_insights_insights_warnings.rb +214 -0
  108. data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response.rb → unified_risk_post400_response.rb} +2 -2
  109. data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response_errors.rb → unified_risk_post400_response_errors.rb} +1 -1
  110. data/lib/cybersource_rest_client/models/unifiedrisk_account.rb +190 -0
  111. data/lib/cybersource_rest_client/models/unifiedrisk_acquirer.rb +302 -0
  112. data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account.rb +234 -0
  113. data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +246 -0
  114. data/lib/cybersource_rest_client/models/unifiedrisk_authentication.rb +402 -0
  115. data/lib/cybersource_rest_client/models/unifiedrisk_authentication_challenge.rb +202 -0
  116. data/lib/cybersource_rest_client/models/unifiedrisk_authorization.rb +212 -0
  117. data/lib/cybersource_rest_client/models/unifiedrisk_browser.rb +420 -0
  118. data/lib/cybersource_rest_client/models/unifiedrisk_customer.rb +403 -0
  119. data/lib/cybersource_rest_client/models/unifiedrisk_customer_address.rb +279 -0
  120. data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information.rb → unifiedrisk_customer_personal_identification.rb} +99 -42
  121. data/lib/cybersource_rest_client/models/unifiedrisk_device.rb +681 -0
  122. data/lib/cybersource_rest_client/models/unifiedrisk_device_point_of_sale.rb +344 -0
  123. data/lib/cybersource_rest_client/models/unifiedrisk_initiating_party.rb +223 -0
  124. data/lib/cybersource_rest_client/models/unifiedrisk_merchant.rb +326 -0
  125. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_address.rb +328 -0
  126. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor.rb +389 -0
  127. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +268 -0
  128. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +246 -0
  129. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +268 -0
  130. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_hierarchy.rb +224 -0
  131. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_limit_value.rb +257 -0
  132. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_trading_address.rb +301 -0
  133. data/lib/cybersource_rest_client/models/{label_request.rb → unifiedrisk_order.rb} +60 -72
  134. data/lib/cybersource_rest_client/models/unifiedrisk_order_billing.rb +360 -0
  135. data/lib/cybersource_rest_client/models/unifiedrisk_order_line_items.rb +262 -0
  136. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping.rb +464 -0
  137. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store.rb +251 -0
  138. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_address.rb +191 -0
  139. data/lib/cybersource_rest_client/models/{inline_response_201_3_results_risk_insights.rb → unifiedrisk_order_shipping_store_store_address.rb} +43 -43
  140. data/lib/cybersource_rest_client/models/unifiedrisk_partner.rb +214 -0
  141. data/lib/cybersource_rest_client/models/unifiedrisk_payment.rb +423 -0
  142. data/lib/cybersource_rest_client/models/unifiedrisk_payment_approvals.rb +193 -0
  143. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account.rb +451 -0
  144. data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information_amount_details.rb → unifiedrisk_payment_bank_account_balance_before.rb} +49 -56
  145. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_branch_address.rb +328 -0
  146. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +257 -0
  147. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_financial_institution.rb +212 -0
  148. data/lib/cybersource_rest_client/models/unifiedrisk_payment_batch.rb +323 -0
  149. data/lib/cybersource_rest_client/models/unifiedrisk_payment_card.rb +461 -0
  150. data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_par_details.rb +196 -0
  151. data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_token_details.rb +380 -0
  152. data/lib/cybersource_rest_client/models/unifiedrisk_payment_check.rb +289 -0
  153. data/lib/cybersource_rest_client/models/unifiedrisk_payment_check_deposit_location.rb +279 -0
  154. data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty.rb +287 -0
  155. data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_address.rb +279 -0
  156. data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_branch_address.rb +279 -0
  157. data/lib/cybersource_rest_client/models/unifiedrisk_payment_sdk.rb +268 -0
  158. data/lib/cybersource_rest_client/models/unifiedrisk_payment_token.rb +213 -0
  159. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification.rb +230 -0
  160. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_additional.rb +256 -0
  161. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication.rb +232 -0
  162. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_pin.rb +201 -0
  163. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_three_ds.rb +190 -0
  164. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security.rb +199 -0
  165. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_avs.rb +218 -0
  166. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_cvv.rb +196 -0
  167. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_digital.rb +212 -0
  168. data/lib/cybersource_rest_client/models/unifiedrisk_payment_wallet.rb +201 -0
  169. data/lib/cybersource_rest_client/models/unifiedrisk_payment_wire.rb +364 -0
  170. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment.rb +308 -0
  171. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history.rb +276 -0
  172. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_account_history.rb +207 -0
  173. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account.rb +273 -0
  174. data/lib/cybersource_rest_client/models/{inline_response_201_14.rb → unifiedrisk_risk_assessment_buyer_history_customer_account_alertnate_authentication.rb} +59 -114
  175. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_vital4.rb +191 -0
  176. data/lib/cybersource_rest_client/models/unifiedrisk_session.rb +202 -0
  177. data/lib/cybersource_rest_client/models/unifiedrisk_terminal.rb +238 -0
  178. data/lib/cybersource_rest_client/models/unifiedrisk_terminal_address.rb +301 -0
  179. data/lib/cybersource_rest_client/models/unifiedrisk_terminal_capabilities.rb +234 -0
  180. data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk.rb +708 -0
  181. data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk_raw_data.rb +189 -0
  182. data/lib/cybersource_rest_client/models/unifiedrisk_transaction.rb +305 -12
  183. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_additional_fees.rb +257 -0
  184. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_amount.rb +257 -0
  185. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details.rb +220 -0
  186. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_credits_amount.rb +246 -0
  187. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_debits_amount.rb +246 -0
  188. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_credits.rb +246 -0
  189. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_debits.rb +246 -0
  190. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details.rb +190 -0
  191. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details_deposited_cash_amount.rb +246 -0
  192. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_recurring_details.rb +341 -0
  193. data/lib/cybersource_rest_client/models/unifiedrisk_travel.rb +279 -0
  194. data/lib/cybersource_rest_client/models/vpri_request.rb +505 -0
  195. data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data.rb +190 -0
  196. data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data_card_bin_data.rb +357 -0
  197. data/lib/cybersource_rest_client.rb +153 -61
  198. metadata +155 -63
  199. data/lib/cybersource_rest_client/api/transaction_risk_labeling_api.rb +0 -104
  200. data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information.rb +0 -548
@@ -0,0 +1,104 @@
1
+ =begin
2
+ #CyberSource Merged Spec
3
+
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.38
10
+ =end
11
+
12
+ require 'uri'
13
+ require 'AuthenticationSDK/util/MLEUtility'
14
+ module CyberSource
15
+ class VisaProtectRiskInsightsApi
16
+ attr_accessor :api_client
17
+
18
+ def initialize(api_client = ApiClient.default, config)
19
+ @api_client = api_client
20
+ @api_client.set_configuration(config)
21
+ end
22
+ # Visa Protect Risk Insights
23
+ # VPRI delivers real-time, AI-driven risk scores and insights via a data-only API to enrich existing fraud strategies and improve decisioning. It integrates easily into existing workflows and provides immediate value by identifying legitimate behavior across Visa's global network—helping reduce false declines and increase acceptance.
24
+ #
25
+ # @param vpri_request VPRI request for Transaction Risk Scoring or Transaction Risk Labeling
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [UnifiedRiskPost201Response]
28
+ #
29
+ def submit_vpri(vpri_request, opts = {})
30
+ data, status_code, headers = submit_vpri_with_http_info(vpri_request, opts)
31
+ return data, status_code, headers
32
+ end
33
+
34
+ # Visa Protect Risk Insights
35
+ # VPRI delivers real-time, AI-driven risk scores and insights via a data-only API to enrich existing fraud strategies and improve decisioning. It integrates easily into existing workflows and provides immediate value by identifying legitimate behavior across Visa's global network—helping reduce false declines and increase acceptance.
36
+ # @param vpri_request VPRI request for Transaction Risk Scoring or Transaction Risk Labeling
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [Array<(UnifiedRiskPost201Response, Fixnum, Hash)>] UnifiedRiskPost201Response data, response status code and response headers
39
+ def submit_vpri_with_http_info(vpri_request, opts = {})
40
+
41
+ if @api_client.config.debugging
42
+ begin
43
+ raise
44
+ @api_client.config.logger.debug 'Calling API: VisaProtectRiskInsightsApi.submit_vpri ...'
45
+ rescue
46
+ puts 'Cannot write to log'
47
+ end
48
+ end
49
+ # verify the required parameter 'vpri_request' is set
50
+ if @api_client.config.client_side_validation && vpri_request.nil?
51
+ fail ArgumentError, "Missing the required parameter 'vpri_request' when calling VisaProtectRiskInsightsApi.submit_vpri"
52
+ end
53
+ # resource path
54
+ local_var_path = 'unifiedrisk'
55
+
56
+ # query parameters
57
+ query_params = {}
58
+
59
+ # header parameters
60
+ header_params = {}
61
+ # HTTP header 'Accept' (if needed)
62
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
63
+ # HTTP header 'Content-Type'
64
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
65
+
66
+ # form parameters
67
+ form_params = {}
68
+
69
+ # http body (model)
70
+ post_body = @api_client.object_to_http_body(vpri_request)
71
+ sdk_tracker = SdkTracker.new
72
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'VpriRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
73
+ inbound_mle_status = "mandatory"
74
+ if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["submit_vpri","submit_vpri_with_http_info"])
75
+ begin
76
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
77
+ rescue
78
+ raise
79
+ end
80
+ end
81
+
82
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["submit_vpri","submit_vpri_with_http_info"])
83
+
84
+ auth_names = []
85
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
86
+ :header_params => header_params,
87
+ :query_params => query_params,
88
+ :form_params => form_params,
89
+ :body => post_body,
90
+ :auth_names => auth_names,
91
+ :return_type => 'UnifiedRiskPost201Response',
92
+ :isResponseMLEForApi => is_response_mle_for_api)
93
+ if @api_client.config.debugging
94
+ begin
95
+ raise
96
+ @api_client.config.logger.debug "API called: VisaProtectRiskInsightsApi#submit_vpri\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
97
+ rescue
98
+ puts 'Cannot write to log'
99
+ end
100
+ end
101
+ return data, status_code, headers
102
+ end
103
+ end
104
+ end
@@ -59,8 +59,8 @@ module CyberSource
59
59
  :'id' => :'String',
60
60
  :'submit_time_utc' => :'String',
61
61
  :'status' => :'String',
62
- :'error_information' => :'InlineResponse20112ErrorInformation',
63
- :'order_information' => :'InlineResponse20112OrderInformation'
62
+ :'error_information' => :'InlineResponse20111ErrorInformation',
63
+ :'order_information' => :'InlineResponse20111OrderInformation'
64
64
  }
65
65
  end
66
66
 
@@ -88,14 +88,14 @@ module CyberSource
88
88
  :'status' => :'String',
89
89
  :'currency' => :'String',
90
90
  :'buyer' => :'AcpCompleteCheckoutResponseBuyer',
91
- :'line_items' => :'Array<InlineResponse20113LineItems>',
91
+ :'line_items' => :'Array<InlineResponse20112LineItems>',
92
92
  :'fulfillment_address' => :'InlineResponse20017FulfillmentAddress',
93
- :'fulfillment_options' => :'Array<InlineResponse20113FulfillmentOptions>',
93
+ :'fulfillment_options' => :'Array<InlineResponse20112FulfillmentOptions>',
94
94
  :'fulfillment_option_id' => :'String',
95
- :'totals' => :'Array<InlineResponse20113Totals>',
95
+ :'totals' => :'Array<InlineResponse20112Totals>',
96
96
  :'order' => :'InlineResponse20017Order',
97
- :'messages' => :'Array<InlineResponse20113Messages>',
98
- :'links' => :'Array<InlineResponse20113Links>'
97
+ :'messages' => :'Array<InlineResponse20112Messages>',
98
+ :'links' => :'Array<InlineResponse20112Links>'
99
99
  }
100
100
  end
101
101
 
@@ -85,13 +85,13 @@ module CyberSource
85
85
  :'status' => :'String',
86
86
  :'currency' => :'String',
87
87
  :'buyer' => :'AcpCheckoutSessionResponseBuyer',
88
- :'line_items' => :'Array<InlineResponse20113LineItems>',
88
+ :'line_items' => :'Array<InlineResponse20112LineItems>',
89
89
  :'fulfillment_address' => :'InlineResponse20017FulfillmentAddress',
90
- :'fulfillment_options' => :'Array<InlineResponse20113FulfillmentOptions>',
90
+ :'fulfillment_options' => :'Array<InlineResponse20112FulfillmentOptions>',
91
91
  :'fulfillment_option_id' => :'String',
92
- :'totals' => :'Array<InlineResponse20113Totals>',
93
- :'messages' => :'Array<InlineResponse20113Messages>',
94
- :'links' => :'Array<InlineResponse20113Links>'
92
+ :'totals' => :'Array<InlineResponse20112Totals>',
93
+ :'messages' => :'Array<InlineResponse20112Messages>',
94
+ :'links' => :'Array<InlineResponse20112Links>'
95
95
  }
96
96
  end
97
97
 
@@ -76,7 +76,7 @@ module CyberSource
76
76
  # Attribute type mapping.
77
77
  def self.swagger_types
78
78
  {
79
- :'id' => :'Integer',
79
+ :'id' => :'String',
80
80
  :'field_type' => :'String',
81
81
  :'label' => :'String',
82
82
  :'customer_visible' => :'BOOLEAN',
@@ -60,7 +60,7 @@ module CyberSource
60
60
  :'integration_information' => :'InlineResponse2005IntegrationInformation',
61
61
  :'organization_information' => :'Boardingv1registrationsOrganizationInformation',
62
62
  :'product_information' => :'Boardingv1registrationsProductInformation',
63
- :'product_information_setups' => :'Array<InlineResponse2017ProductInformationSetups>',
63
+ :'product_information_setups' => :'Array<InlineResponse2016ProductInformationSetups>',
64
64
  :'document_information' => :'Boardingv1registrationsDocumentInformation',
65
65
  :'details' => :'Hash<String, Array<Object>>'
66
66
  }
@@ -12,75 +12,35 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
+ # Egress Asymmetric Key Information Response.
15
16
  class InlineResponse20110
16
- # Date that the webhook was delivered
17
- attr_accessor :event_date
17
+ # 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.
18
+ attr_accessor :submit_time_utc
18
19
 
19
- # The event name the webhook was delivered for
20
- attr_accessor :event_type
21
-
22
- # The Organization Identifier.
23
- attr_accessor :organization_id
24
-
25
- attr_accessor :payloads
26
-
27
- # The product the webhook was delivered for
28
- attr_accessor :product_id
29
-
30
- # Identifies the the type of request
31
- attr_accessor :request_type
32
-
33
- # The number of retry attempts for a given webhook
34
- attr_accessor :retry_number
35
-
36
- # The identifier for the webhook
37
- attr_accessor :transaction_trace_id
38
-
39
- # The identifier of the subscription
40
- attr_accessor :webhook_id
20
+ # The status of the submitted transaction. Possible values: - ACCEPTED
21
+ attr_accessor :status
41
22
 
42
23
  # Attribute mapping from ruby-style variable name to JSON key.
43
24
  def self.attribute_map
44
25
  {
45
- :'event_date' => :'eventDate',
46
- :'event_type' => :'eventType',
47
- :'organization_id' => :'organizationId',
48
- :'payloads' => :'payloads',
49
- :'product_id' => :'productId',
50
- :'request_type' => :'requestType',
51
- :'retry_number' => :'retryNumber',
52
- :'transaction_trace_id' => :'transactionTraceId',
53
- :'webhook_id' => :'webhookId'
26
+ :'submit_time_utc' => :'submitTimeUtc',
27
+ :'status' => :'status'
54
28
  }
55
29
  end
56
30
 
57
31
  # Attribute mapping from JSON key to ruby-style variable name.
58
32
  def self.json_map
59
33
  {
60
- :'event_date' => :'event_date',
61
- :'event_type' => :'event_type',
62
- :'organization_id' => :'organization_id',
63
- :'payloads' => :'payloads',
64
- :'product_id' => :'product_id',
65
- :'request_type' => :'request_type',
66
- :'retry_number' => :'retry_number',
67
- :'transaction_trace_id' => :'transaction_trace_id',
68
- :'webhook_id' => :'webhook_id'
34
+ :'submit_time_utc' => :'submit_time_utc',
35
+ :'status' => :'status'
69
36
  }
70
37
  end
71
38
 
72
39
  # Attribute type mapping.
73
40
  def self.swagger_types
74
41
  {
75
- :'event_date' => :'String',
76
- :'event_type' => :'String',
77
- :'organization_id' => :'String',
78
- :'payloads' => :'InlineResponse20110Payloads',
79
- :'product_id' => :'String',
80
- :'request_type' => :'String',
81
- :'retry_number' => :'Integer',
82
- :'transaction_trace_id' => :'String',
83
- :'webhook_id' => :'String'
42
+ :'submit_time_utc' => :'String',
43
+ :'status' => :'String'
84
44
  }
85
45
  end
86
46
 
@@ -92,40 +52,12 @@ module CyberSource
92
52
  # convert string to symbol for hash key
93
53
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
94
54
 
95
- if attributes.has_key?(:'eventDate')
96
- self.event_date = attributes[:'eventDate']
97
- end
98
-
99
- if attributes.has_key?(:'eventType')
100
- self.event_type = attributes[:'eventType']
101
- end
102
-
103
- if attributes.has_key?(:'organizationId')
104
- self.organization_id = attributes[:'organizationId']
105
- end
106
-
107
- if attributes.has_key?(:'payloads')
108
- self.payloads = attributes[:'payloads']
109
- end
110
-
111
- if attributes.has_key?(:'productId')
112
- self.product_id = attributes[:'productId']
113
- end
114
-
115
- if attributes.has_key?(:'requestType')
116
- self.request_type = attributes[:'requestType']
117
- end
118
-
119
- if attributes.has_key?(:'retryNumber')
120
- self.retry_number = attributes[:'retryNumber']
121
- end
122
-
123
- if attributes.has_key?(:'transactionTraceId')
124
- self.transaction_trace_id = attributes[:'transactionTraceId']
55
+ if attributes.has_key?(:'submitTimeUtc')
56
+ self.submit_time_utc = attributes[:'submitTimeUtc']
125
57
  end
126
58
 
127
- if attributes.has_key?(:'webhookId')
128
- self.webhook_id = attributes[:'webhookId']
59
+ if attributes.has_key?(:'status')
60
+ self.status = attributes[:'status']
129
61
  end
130
62
  end
131
63
 
@@ -147,15 +79,8 @@ module CyberSource
147
79
  def ==(o)
148
80
  return true if self.equal?(o)
149
81
  self.class == o.class &&
150
- event_date == o.event_date &&
151
- event_type == o.event_type &&
152
- organization_id == o.organization_id &&
153
- payloads == o.payloads &&
154
- product_id == o.product_id &&
155
- request_type == o.request_type &&
156
- retry_number == o.retry_number &&
157
- transaction_trace_id == o.transaction_trace_id &&
158
- webhook_id == o.webhook_id
82
+ submit_time_utc == o.submit_time_utc &&
83
+ status == o.status
159
84
  end
160
85
 
161
86
  # @see the `==` method
@@ -167,7 +92,7 @@ module CyberSource
167
92
  # Calculates hash code according to all attributes.
168
93
  # @return [Fixnum] Hash code
169
94
  def hash
170
- [event_date, event_type, organization_id, payloads, product_id, request_type, retry_number, transaction_trace_id, webhook_id].hash
95
+ [submit_time_utc, status].hash
171
96
  end
172
97
 
173
98
  # Builds the object from hash
@@ -12,35 +12,60 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- # Egress Asymmetric Key Information Response.
16
15
  class InlineResponse20111
17
- # 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.
16
+ attr_accessor :client_reference_information
17
+
18
+ # Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid
19
+ attr_accessor :id
20
+
21
+ # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC.
18
22
  attr_accessor :submit_time_utc
19
23
 
20
- # The status of the submitted transaction. Possible values: - ACCEPTED
24
+ # Message describing the status of the currency conversion request. Possible values: - PENDING - DECLINED - SERVER_ERROR
21
25
  attr_accessor :status
22
26
 
27
+ attr_accessor :error_information
28
+
29
+ attr_accessor :order_information
30
+
31
+ attr_accessor :processor_information
32
+
23
33
  # Attribute mapping from ruby-style variable name to JSON key.
24
34
  def self.attribute_map
25
35
  {
36
+ :'client_reference_information' => :'clientReferenceInformation',
37
+ :'id' => :'id',
26
38
  :'submit_time_utc' => :'submitTimeUtc',
27
- :'status' => :'status'
39
+ :'status' => :'status',
40
+ :'error_information' => :'errorInformation',
41
+ :'order_information' => :'orderInformation',
42
+ :'processor_information' => :'processorInformation'
28
43
  }
29
44
  end
30
45
 
31
46
  # Attribute mapping from JSON key to ruby-style variable name.
32
47
  def self.json_map
33
48
  {
49
+ :'client_reference_information' => :'client_reference_information',
50
+ :'id' => :'id',
34
51
  :'submit_time_utc' => :'submit_time_utc',
35
- :'status' => :'status'
52
+ :'status' => :'status',
53
+ :'error_information' => :'error_information',
54
+ :'order_information' => :'order_information',
55
+ :'processor_information' => :'processor_information'
36
56
  }
37
57
  end
38
58
 
39
59
  # Attribute type mapping.
40
60
  def self.swagger_types
41
61
  {
62
+ :'client_reference_information' => :'InlineResponse20111ClientReferenceInformation',
63
+ :'id' => :'String',
42
64
  :'submit_time_utc' => :'String',
43
- :'status' => :'String'
65
+ :'status' => :'String',
66
+ :'error_information' => :'InlineResponse20111ErrorInformation',
67
+ :'order_information' => :'InlineResponse20111OrderInformation',
68
+ :'processor_information' => :'InlineResponse20111ProcessorInformation'
44
69
  }
45
70
  end
46
71
 
@@ -52,6 +77,14 @@ module CyberSource
52
77
  # convert string to symbol for hash key
53
78
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
54
79
 
80
+ if attributes.has_key?(:'clientReferenceInformation')
81
+ self.client_reference_information = attributes[:'clientReferenceInformation']
82
+ end
83
+
84
+ if attributes.has_key?(:'id')
85
+ self.id = attributes[:'id']
86
+ end
87
+
55
88
  if attributes.has_key?(:'submitTimeUtc')
56
89
  self.submit_time_utc = attributes[:'submitTimeUtc']
57
90
  end
@@ -59,28 +92,90 @@ module CyberSource
59
92
  if attributes.has_key?(:'status')
60
93
  self.status = attributes[:'status']
61
94
  end
95
+
96
+ if attributes.has_key?(:'errorInformation')
97
+ self.error_information = attributes[:'errorInformation']
98
+ end
99
+
100
+ if attributes.has_key?(:'orderInformation')
101
+ self.order_information = attributes[:'orderInformation']
102
+ end
103
+
104
+ if attributes.has_key?(:'processorInformation')
105
+ self.processor_information = attributes[:'processorInformation']
106
+ end
62
107
  end
63
108
 
64
109
  # Show invalid properties with the reasons. Usually used together with valid?
65
110
  # @return Array for valid properties with the reasons
66
111
  def list_invalid_properties
67
112
  invalid_properties = Array.new
113
+ if @id.nil?
114
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
115
+ end
116
+
117
+ if @submit_time_utc.nil?
118
+ invalid_properties.push('invalid value for "submit_time_utc", submit_time_utc cannot be nil.')
119
+ end
120
+
121
+ if @status.nil?
122
+ invalid_properties.push('invalid value for "status", status cannot be nil.')
123
+ end
124
+
68
125
  invalid_properties
69
126
  end
70
127
 
71
128
  # Check to see if the all the properties in the model are valid
72
129
  # @return true if the model is valid
73
130
  def valid?
131
+ return false if @id.nil?
132
+ return false if @submit_time_utc.nil?
133
+ return false if @status.nil?
74
134
  true
75
135
  end
76
136
 
137
+ # Custom attribute writer method with validation
138
+ # @param [Object] id Value to be assigned
139
+ def id=(id)
140
+ #if id.nil?
141
+ #fail ArgumentError, 'id cannot be nil'
142
+ #end
143
+
144
+ @id = id
145
+ end
146
+
147
+ # Custom attribute writer method with validation
148
+ # @param [Object] submit_time_utc Value to be assigned
149
+ def submit_time_utc=(submit_time_utc)
150
+ #if submit_time_utc.nil?
151
+ #fail ArgumentError, 'submit_time_utc cannot be nil'
152
+ #end
153
+
154
+ @submit_time_utc = submit_time_utc
155
+ end
156
+
157
+ # Custom attribute writer method with validation
158
+ # @param [Object] status Value to be assigned
159
+ def status=(status)
160
+ #if status.nil?
161
+ #fail ArgumentError, 'status cannot be nil'
162
+ #end
163
+
164
+ @status = status
165
+ end
166
+
77
167
  # Checks equality by comparing each attribute.
78
168
  # @param [Object] Object to be compared
79
169
  def ==(o)
80
170
  return true if self.equal?(o)
81
171
  self.class == o.class &&
172
+ client_reference_information == o.client_reference_information &&
173
+ id == o.id &&
82
174
  submit_time_utc == o.submit_time_utc &&
83
- status == o.status
175
+ status == o.status &&
176
+ error_information == o.error_information &&
177
+ order_information == o.order_information &&
178
+ processor_information == o.processor_information
84
179
  end
85
180
 
86
181
  # @see the `==` method
@@ -92,7 +187,7 @@ module CyberSource
92
187
  # Calculates hash code according to all attributes.
93
188
  # @return [Fixnum] Hash code
94
189
  def hash
95
- [submit_time_utc, status].hash
190
+ [client_reference_information, id, submit_time_utc, status, error_information, order_information, processor_information].hash
96
191
  end
97
192
 
98
193
  # Builds the object from hash
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse20112ClientReferenceInformation
15
+ class InlineResponse20111ClientReferenceInformation
16
16
  # Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction.
17
17
  attr_accessor :code
18
18
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse20112ErrorInformation
15
+ class InlineResponse20111ErrorInformation
16
16
  # Only required when offer cannot be made. The reason of the status. Possible values: - 'INVALID_MERCHANT_CONFIGURATION' - 'NOT_ELIGIBLE' - 'CURRENCY_NOT_CONFIGURED' - 'BIN_UNKNOWN' - 'CURRENCY_MATCH' - 'CURRENCY_NOT_ALLOWED' - 'LOOKUP_FAILED' - 'EXCHANGE_RATE_NOT_FOUND' - 'CARD_TYPE_NOT_ACCEPTED' - 'INVALID_AMOUNT' - 'INVALID_CARD' - 'INVALID_CURRENCY' - 'INVALID_TERMINAL' - 'INVALID_ACQUIRER' - 'SERVICE_DISABLED' - 'DUPLICATE_REQUEST' - 'UNKNOWN' - 'PROCESSOR_ERROR'
17
17
  attr_accessor :reason
18
18
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse20112OrderInformation
15
+ class InlineResponse20111OrderInformation
16
16
  attr_accessor :currency_conversion
17
17
 
18
18
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -32,7 +32,7 @@ module CyberSource
32
32
  # Attribute type mapping.
33
33
  def self.swagger_types
34
34
  {
35
- :'currency_conversion' => :'InlineResponse20112OrderInformationCurrencyConversion'
35
+ :'currency_conversion' => :'InlineResponse20111OrderInformationCurrencyConversion'
36
36
  }
37
37
  end
38
38
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse20112OrderInformationCurrencyConversion
15
+ class InlineResponse20111OrderInformationCurrencyConversion
16
16
  # Valid Values: - `DCC`: Dynamic Currency Conversion - `MCP`: Multi-Currency Pricing This should be echo'd from the request
17
17
  attr_accessor :type
18
18
 
@@ -50,7 +50,7 @@ module CyberSource
50
50
  {
51
51
  :'type' => :'String',
52
52
  :'reconciliation_id' => :'String',
53
- :'offer' => :'Array<InlineResponse20112OrderInformationCurrencyConversionOffer>',
53
+ :'offer' => :'Array<InlineResponse20111OrderInformationCurrencyConversionOffer>',
54
54
  :'disclaimer' => :'String'
55
55
  }
56
56
  end
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse20112OrderInformationCurrencyConversionOffer
15
+ class InlineResponse20111OrderInformationCurrencyConversionOffer
16
16
  # The amount of the sale in the merchant's currency. For DCC this should be the same value as the request. For MCP will be 1 major unit of the merchant's base currency.
17
17
  attr_accessor :original_amount
18
18
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse20112ProcessorInformation
15
+ class InlineResponse20111ProcessorInformation
16
16
  # The error message sent directly from the currency conversion provider. Returned only when the provider returns this value.
17
17
  attr_accessor :response_code
18
18