cybersource_rest_client 0.0.85 → 0.0.86

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 (268) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/util/Cache.rb +9 -6
  3. data/lib/AuthenticationSDK/util/Utility.rb +16 -5
  4. data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +1868 -122
  5. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
  6. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
  7. data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +1 -1
  8. data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +146 -0
  9. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
  10. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +94 -4
  11. data/lib/cybersource_rest_client/api/merchant_capabilities_api.rb +1065 -0
  12. data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +361 -0
  13. data/lib/cybersource_rest_client/api/network_tokens_api.rb +4 -4
  14. data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
  15. data/lib/cybersource_rest_client/api/orders_api.rb +2 -2
  16. data/lib/cybersource_rest_client/api/payment_tokens_api.rb +1 -1
  17. data/lib/cybersource_rest_client/api/plans_api.rb +1 -1
  18. data/lib/cybersource_rest_client/api/pull_funds_api.rb +3 -3
  19. data/lib/cybersource_rest_client/api/subscriptions_api.rb +2 -2
  20. data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +2 -2
  21. data/lib/cybersource_rest_client/api/transaction_query_api.rb +158 -0
  22. data/lib/cybersource_rest_client/api/transaction_risk_labeling_api.rb +104 -0
  23. data/lib/cybersource_rest_client/models/acp_checkout_session_response_buyer.rb +254 -0
  24. data/lib/cybersource_rest_client/models/acp_complete_checkout_request.rb +205 -0
  25. data/lib/cybersource_rest_client/models/acp_complete_checkout_response_buyer.rb +254 -0
  26. data/lib/cybersource_rest_client/models/acp_complete_checkout_session_buyer.rb +254 -0
  27. data/lib/cybersource_rest_client/models/acp_create_checkout_session_buyer.rb +254 -0
  28. data/lib/cybersource_rest_client/models/acp_create_checkout_session_request.rb +217 -0
  29. data/lib/cybersource_rest_client/models/acp_update_checkout_session_buyer.rb +254 -0
  30. data/lib/cybersource_rest_client/models/acp_update_checkout_session_request.rb +224 -0
  31. data/lib/cybersource_rest_client/models/activate_merchant_key_response200.rb +356 -0
  32. data/lib/cybersource_rest_client/models/add_agent_key_response201.rb +356 -0
  33. data/lib/cybersource_rest_client/models/agent_registration_conflict_response409.rb +196 -0
  34. data/lib/cybersource_rest_client/models/agent_registration_response201.rb +356 -0
  35. data/lib/cybersource_rest_client/models/agent_registration_response201_keys.rb +308 -0
  36. data/lib/cybersource_rest_client/models/agent_registration_validation_error_response422.rb +214 -0
  37. data/lib/cybersource_rest_client/models/agent_registration_validation_error_response422_errors.rb +212 -0
  38. data/lib/cybersource_rest_client/models/agent_request.rb +286 -0
  39. data/lib/cybersource_rest_client/models/agent_update.rb +237 -0
  40. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +1 -1
  41. data/lib/cybersource_rest_client/models/body_1.rb +189 -0
  42. data/lib/cybersource_rest_client/models/body_2.rb +224 -0
  43. data/lib/cybersource_rest_client/models/consumer_authentication_response.rb +196 -0
  44. data/lib/cybersource_rest_client/models/create_payment_link_request.rb +17 -5
  45. data/lib/cybersource_rest_client/models/deactivate_merchant_key_response200.rb +196 -0
  46. data/lib/cybersource_rest_client/models/iccv1agents_keys.rb +239 -0
  47. data/lib/cybersource_rest_client/models/iccv1checkout_sessions_fulfillment_address.rb +344 -0
  48. data/lib/cybersource_rest_client/models/iccv1checkout_sessions_items.rb +222 -0
  49. data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_id_fulfillment_address.rb +344 -0
  50. data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data.rb +222 -0
  51. data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data_billing_address.rb +344 -0
  52. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts.rb +206 -0
  53. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts_allocations.rb +202 -0
  54. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts_applied.rb +237 -0
  55. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment.rb +193 -0
  56. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_destinations.rb +246 -0
  57. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_groups.rb +228 -0
  58. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_methods.rb +252 -0
  59. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_options.rb +215 -0
  60. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_totals.rb +202 -0
  61. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_item.rb +207 -0
  62. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_line_items.rb +211 -0
  63. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment.rb +217 -0
  64. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_billing_address.rb +235 -0
  65. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_credential.rb +202 -0
  66. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_handlers.rb +259 -0
  67. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_instruments.rb +288 -0
  68. data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_discounts.rb +206 -0
  69. data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_fulfillment.rb +193 -0
  70. data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_payment.rb +217 -0
  71. data/lib/cybersource_rest_client/models/iccv1merchants_api_integrations.rb +225 -0
  72. data/lib/cybersource_rest_client/models/iccv1merchants_encryption_key.rb +245 -0
  73. data/lib/cybersource_rest_client/models/iccv1merchants_protocol_interactions.rb +236 -0
  74. data/lib/cybersource_rest_client/models/iccv1merchants_web_integrations.rb +225 -0
  75. data/lib/cybersource_rest_client/models/iccv1productsfeed_products.rb +1368 -0
  76. data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
  77. data/lib/cybersource_rest_client/models/inline_response_200_17.rb +317 -0
  78. data/lib/cybersource_rest_client/models/inline_response_200_17_fulfillment_address.rb +344 -0
  79. data/lib/cybersource_rest_client/models/inline_response_200_17_order.rb +213 -0
  80. data/lib/cybersource_rest_client/models/inline_response_200_18.rb +308 -0
  81. data/lib/cybersource_rest_client/models/inline_response_200_19.rb +302 -0
  82. data/lib/cybersource_rest_client/models/inline_response_200_19_errors.rb +213 -0
  83. data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant.rb +237 -0
  84. data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant_products.rb +259 -0
  85. data/lib/cybersource_rest_client/models/inline_response_200_20.rb +259 -0
  86. data/lib/cybersource_rest_client/models/inline_response_200_20_products.rb +1081 -0
  87. data/lib/cybersource_rest_client/models/inline_response_200_21.rb +201 -0
  88. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +1 -1
  89. data/lib/cybersource_rest_client/models/inline_response_200_5_integration_information_tenant_configurations.rb +1 -1
  90. data/lib/cybersource_rest_client/models/inline_response_201_10.rb +277 -0
  91. data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads.rb → inline_response_201_10_payloads.rb} +2 -2
  92. data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads_test_payload.rb → inline_response_201_10_payloads_test_payload.rb} +1 -1
  93. data/lib/cybersource_rest_client/models/inline_response_201_11.rb +202 -0
  94. data/lib/cybersource_rest_client/models/inline_response_201_12.rb +297 -0
  95. data/lib/cybersource_rest_client/models/{inline_response_201_9_client_reference_information.rb → inline_response_201_12_client_reference_information.rb} +1 -1
  96. data/lib/cybersource_rest_client/models/{inline_response_201_9_error_information.rb → inline_response_201_12_error_information.rb} +1 -1
  97. data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information.rb → inline_response_201_12_order_information.rb} +2 -2
  98. data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information_currency_conversion.rb → inline_response_201_12_order_information_currency_conversion.rb} +2 -2
  99. data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information_currency_conversion_offer.rb → inline_response_201_12_order_information_currency_conversion_offer.rb} +1 -1
  100. data/lib/cybersource_rest_client/models/{inline_response_201_9_processor_information.rb → inline_response_201_12_processor_information.rb} +1 -1
  101. data/lib/cybersource_rest_client/models/inline_response_201_13.rb +318 -0
  102. data/lib/cybersource_rest_client/models/inline_response_201_13_fulfillment_address.rb +344 -0
  103. data/lib/cybersource_rest_client/models/inline_response_201_13_fulfillment_options.rb +290 -0
  104. data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +213 -0
  105. data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +256 -0
  106. data/lib/cybersource_rest_client/models/inline_response_201_13_links.rb +212 -0
  107. data/lib/cybersource_rest_client/models/inline_response_201_13_messages.rb +250 -0
  108. data/lib/cybersource_rest_client/models/inline_response_201_13_payment_provider.rb +204 -0
  109. data/lib/cybersource_rest_client/models/inline_response_201_13_totals.rb +213 -0
  110. data/lib/cybersource_rest_client/models/inline_response_201_14.rb +312 -0
  111. data/lib/cybersource_rest_client/models/inline_response_201_14_discounts.rb +206 -0
  112. data/lib/cybersource_rest_client/models/inline_response_201_14_fulfillment.rb +193 -0
  113. data/lib/cybersource_rest_client/models/inline_response_201_14_item.rb +213 -0
  114. data/lib/cybersource_rest_client/models/inline_response_201_14_line_items.rb +225 -0
  115. data/lib/cybersource_rest_client/models/inline_response_201_14_order.rb +202 -0
  116. data/lib/cybersource_rest_client/models/inline_response_201_14_payment.rb +217 -0
  117. data/lib/cybersource_rest_client/models/inline_response_201_14_ucp.rb +204 -0
  118. data/lib/cybersource_rest_client/models/inline_response_201_14_ucp_capabilities.rb +202 -0
  119. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +33 -54
  120. data/lib/cybersource_rest_client/models/inline_response_201_3_results.rb +190 -0
  121. data/lib/cybersource_rest_client/models/inline_response_201_3_results_risk_insights.rb +235 -0
  122. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +51 -62
  123. data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +225 -0
  124. data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +213 -0
  125. data/lib/cybersource_rest_client/models/inline_response_201_4_order_information.rb +189 -0
  126. data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +315 -0
  127. data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +189 -0
  128. data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information_routing.rb +196 -0
  129. data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +213 -0
  130. data/lib/cybersource_rest_client/models/inline_response_201_5.rb +78 -19
  131. data/lib/cybersource_rest_client/models/{inline_response_401_1__links.rb → inline_response_201_5__links.rb} +2 -2
  132. data/lib/cybersource_rest_client/models/inline_response_201_5__links_self.rb +201 -0
  133. data/lib/cybersource_rest_client/models/inline_response_201_5_acquirer_information.rb +196 -0
  134. data/lib/cybersource_rest_client/models/inline_response_201_5_client_reference_information.rb +196 -0
  135. data/lib/cybersource_rest_client/models/inline_response_201_5_error_information.rb +225 -0
  136. data/lib/cybersource_rest_client/models/inline_response_201_5_error_information_details.rb +213 -0
  137. data/lib/cybersource_rest_client/models/inline_response_201_5_merchant_information.rb +196 -0
  138. data/lib/cybersource_rest_client/models/inline_response_201_5_order_information.rb +189 -0
  139. data/lib/cybersource_rest_client/models/inline_response_201_5_order_information_amount_details.rb +264 -0
  140. data/lib/cybersource_rest_client/models/inline_response_201_5_payment_information.rb +223 -0
  141. data/lib/cybersource_rest_client/models/inline_response_201_5_payment_information_card.rb +213 -0
  142. data/lib/cybersource_rest_client/models/inline_response_201_5_processing_information.rb +240 -0
  143. data/lib/cybersource_rest_client/models/inline_response_201_5_processing_information_payouts_options.rb +196 -0
  144. data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information.rb +548 -0
  145. data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information_card_verification.rb +196 -0
  146. data/lib/cybersource_rest_client/models/inline_response_201_5_transactions.rb +239 -0
  147. data/lib/cybersource_rest_client/models/inline_response_201_6.rb +45 -111
  148. data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information.rb → inline_response_201_6_payout_information.rb} +3 -3
  149. data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information_pull_funds.rb → inline_response_201_6_payout_information_pull_funds.rb} +1 -1
  150. data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information_push_funds.rb → inline_response_201_6_payout_information_push_funds.rb} +1 -1
  151. data/lib/cybersource_rest_client/models/inline_response_201_7.rb +76 -72
  152. data/lib/cybersource_rest_client/models/{inline_response_201_4_integration_information.rb → inline_response_201_7_integration_information.rb} +2 -2
  153. data/lib/cybersource_rest_client/models/{inline_response_201_4_integration_information_tenant_configurations.rb → inline_response_201_7_integration_information_tenant_configurations.rb} +1 -1
  154. data/lib/cybersource_rest_client/models/{inline_response_201_4_organization_information.rb → inline_response_201_7_organization_information.rb} +1 -1
  155. data/lib/cybersource_rest_client/models/{inline_response_201_4_product_information_setups.rb → inline_response_201_7_product_information_setups.rb} +2 -2
  156. data/lib/cybersource_rest_client/models/{inline_response_201_4_registration_information.rb → inline_response_201_7_registration_information.rb} +1 -1
  157. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups.rb → inline_response_201_7_setups.rb} +4 -4
  158. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_commerce_solutions.rb → inline_response_201_7_setups_commerce_solutions.rb} +1 -1
  159. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_risk.rb → inline_response_201_7_setups_risk.rb} +1 -1
  160. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_value_added_services.rb → inline_response_201_7_setups_value_added_services.rb} +1 -1
  161. data/lib/cybersource_rest_client/models/inline_response_201_8.rb +26 -6
  162. data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information.rb → inline_response_201_8_key_information.rb} +2 -2
  163. data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information_error_information.rb → inline_response_201_8_key_information_error_information.rb} +2 -2
  164. data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information_error_information_details.rb → inline_response_201_8_key_information_error_information_details.rb} +1 -1
  165. data/lib/cybersource_rest_client/models/inline_response_201_9.rb +107 -90
  166. data/lib/cybersource_rest_client/models/inline_response_202__links.rb +1 -1
  167. data/lib/cybersource_rest_client/models/inline_response_400_10.rb +58 -36
  168. data/lib/cybersource_rest_client/models/{inline_response_400_8_fields.rb → inline_response_400_10_fields.rb} +1 -1
  169. data/lib/cybersource_rest_client/models/inline_response_400_11.rb +35 -42
  170. data/lib/cybersource_rest_client/models/{inline_response_400_9_details.rb → inline_response_400_11_details.rb} +1 -1
  171. data/lib/cybersource_rest_client/models/inline_response_400_12.rb +27 -26
  172. data/lib/cybersource_rest_client/models/inline_response_400_12_details.rb +18 -7
  173. data/lib/cybersource_rest_client/models/inline_response_400_13.rb +38 -77
  174. data/lib/cybersource_rest_client/models/inline_response_400_14.rb +235 -0
  175. data/lib/cybersource_rest_client/models/{inline_response_400_10_details.rb → inline_response_400_14_details.rb} +8 -19
  176. data/lib/cybersource_rest_client/models/inline_response_400_15.rb +281 -0
  177. data/lib/cybersource_rest_client/models/inline_response_400_16.rb +235 -0
  178. data/lib/cybersource_rest_client/models/inline_response_400_3.rb +42 -13
  179. data/lib/cybersource_rest_client/models/inline_response_400_4.rb +47 -13
  180. data/lib/cybersource_rest_client/models/inline_response_400_5.rb +1 -1
  181. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +1 -1
  182. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +1 -1
  183. data/lib/cybersource_rest_client/models/inline_response_400_8.rb +37 -60
  184. data/lib/cybersource_rest_client/models/inline_response_400_9.rb +6 -6
  185. data/lib/cybersource_rest_client/models/inline_response_401.rb +51 -33
  186. data/lib/cybersource_rest_client/models/inline_response_401_1.rb +44 -56
  187. data/lib/cybersource_rest_client/models/inline_response_401_2.rb +223 -0
  188. data/lib/cybersource_rest_client/models/inline_response_401_3.rb +253 -0
  189. data/lib/cybersource_rest_client/models/inline_response_401_3__links.rb +189 -0
  190. data/lib/cybersource_rest_client/models/{inline_response_401_1__links_self.rb → inline_response_401_3__links_self.rb} +1 -1
  191. data/lib/cybersource_rest_client/models/{inline_response_401_1_fields.rb → inline_response_401_3_fields.rb} +1 -1
  192. data/lib/cybersource_rest_client/models/inline_response_404_3.rb +1 -1
  193. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
  194. data/lib/cybersource_rest_client/models/inline_response_502_2.rb +55 -26
  195. data/lib/cybersource_rest_client/models/inline_response_502_3.rb +21 -15
  196. data/lib/cybersource_rest_client/models/inline_response_502_4.rb +223 -0
  197. data/lib/cybersource_rest_client/models/inline_response_502_5.rb +251 -0
  198. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +18 -1
  199. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoice_information.rb +2 -2
  200. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_cancel200_response.rb +17 -5
  201. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +20 -3
  202. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_publish200_response.rb +17 -5
  203. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_send200_response.rb +17 -5
  204. data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +18 -1
  205. data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +20 -3
  206. data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +20 -3
  207. data/lib/cybersource_rest_client/models/iplv2paymentlinks_order_information_line_items.rb +26 -9
  208. data/lib/cybersource_rest_client/models/iplv2paymentlinks_purchase_information.rb +85 -5
  209. data/lib/cybersource_rest_client/models/iplv2paymentlinksid_purchase_information.rb +85 -5
  210. data/lib/cybersource_rest_client/models/key_request.rb +239 -0
  211. data/lib/cybersource_rest_client/models/key_request_1.rb +245 -0
  212. data/lib/cybersource_rest_client/models/key_update.rb +224 -0
  213. data/lib/cybersource_rest_client/models/key_update_1.rb +235 -0
  214. data/lib/cybersource_rest_client/models/label_request.rb +268 -0
  215. data/lib/cybersource_rest_client/models/list_agent_keys_response200.rb +245 -0
  216. data/lib/cybersource_rest_client/models/list_agent_keys_response200_pagination.rb +276 -0
  217. data/lib/cybersource_rest_client/models/list_merchant_keys_response200.rb +262 -0
  218. data/lib/cybersource_rest_client/models/merchant_defined_field_core_1.rb +315 -0
  219. data/lib/cybersource_rest_client/models/merchant_defined_field_definition_request_1.rb +315 -0
  220. data/lib/cybersource_rest_client/models/merchant_registration_response201.rb +395 -0
  221. data/lib/cybersource_rest_client/models/merchant_registration_response201_keys.rb +324 -0
  222. data/lib/cybersource_rest_client/models/merchant_registration_validation_error_response422.rb +193 -0
  223. data/lib/cybersource_rest_client/models/merchant_registration_validation_error_response422_detail.rb +215 -0
  224. data/lib/cybersource_rest_client/models/merchant_request.rb +317 -0
  225. data/lib/cybersource_rest_client/models/merchant_update.rb +270 -0
  226. data/lib/cybersource_rest_client/models/patch_registration_body.rb +234 -0
  227. data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +17 -5
  228. data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +17 -5
  229. data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response_purchase_information.rb +81 -1
  230. data/lib/cybersource_rest_client/models/{tms_tokenized_card_delete_request.rb → post_tokenized_card_delete_request.rb} +1 -1
  231. data/lib/cybersource_rest_client/models/processing_info_authorization_options.rb +14 -1
  232. data/lib/cybersource_rest_client/models/product_feed_request.rb +230 -0
  233. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +1 -1
  234. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +37 -3
  235. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +11 -1
  236. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_card_verification.rb +214 -0
  237. data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +0 -14
  238. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +1 -1
  239. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
  240. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_acquirer_information.rb +196 -0
  241. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_client_reference_information.rb +257 -0
  242. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_client_reference_information_partner.rb +213 -0
  243. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_order_information.rb +189 -0
  244. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_order_information_amount_details.rb +299 -0
  245. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_processing_information.rb +240 -0
  246. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_processing_information_routing.rb +205 -0
  247. data/lib/cybersource_rest_client/models/ptsv2payoutstransactionqueryid_client_reference_information.rb +247 -0
  248. data/lib/cybersource_rest_client/models/{boardingv1registrations_integration_information_tenant_information.rb → tenant_information.rb} +1 -1
  249. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -1
  250. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +12 -1
  251. data/lib/cybersource_rest_client/models/ucp_checkout_session_response_buyer.rb +202 -0
  252. data/lib/cybersource_rest_client/models/ucp_complete_checkout_request.rb +201 -0
  253. data/lib/cybersource_rest_client/models/ucp_create_checkout_session_buyer.rb +202 -0
  254. data/lib/cybersource_rest_client/models/ucp_create_checkout_session_request.rb +249 -0
  255. data/lib/cybersource_rest_client/models/ucp_update_checkout_session_buyer.rb +202 -0
  256. data/lib/cybersource_rest_client/models/ucp_update_checkout_session_request.rb +255 -0
  257. data/lib/cybersource_rest_client/models/unified_risk_labels_post400_response.rb +230 -0
  258. data/lib/cybersource_rest_client/models/unified_risk_labels_post400_response_errors.rb +223 -0
  259. data/lib/cybersource_rest_client/models/unifiedrisk_labels.rb +230 -0
  260. data/lib/cybersource_rest_client/models/unifiedrisk_labels_authentication_outcome.rb +201 -0
  261. data/lib/cybersource_rest_client/models/unifiedrisk_labels_payment_authorization_decision.rb +201 -0
  262. data/lib/cybersource_rest_client/models/unifiedrisk_labels_return.rb +202 -0
  263. data/lib/cybersource_rest_client/models/unifiedrisk_labels_transaction_decision.rb +201 -0
  264. data/lib/cybersource_rest_client/models/unifiedrisk_labels_transaction_outcome.rb +201 -0
  265. data/lib/cybersource_rest_client/models/unifiedrisk_transaction.rb +196 -0
  266. data/lib/cybersource_rest_client/models/update_payment_link_request.rb +17 -5
  267. data/lib/cybersource_rest_client.rb +2172 -2011
  268. metadata +194 -33
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2013PayoutInformationPushFunds
15
+ class InlineResponse2016PayoutInformationPushFunds
16
16
  # This field indicates if cross-border money transfer OCTs (fast push funds) are allowed. Possible values: - `Y` - `N`
17
17
  attr_accessor :money_transfer_fast_funds_cross_border
18
18
 
@@ -13,74 +13,68 @@ require 'date'
13
13
 
14
14
  module CyberSource
15
15
  class InlineResponse2017
16
- # Date that the webhook was delivered
17
- attr_accessor :event_date
16
+ attr_accessor :id
18
17
 
19
- # The event name the webhook was delivered for
20
- attr_accessor :event_type
18
+ # 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.
19
+ attr_accessor :submit_time_utc
21
20
 
22
- # The Organization Identifier.
23
- attr_accessor :organization_id
21
+ # The status of Registration request Possible Values: - 'INITIALIZED' - 'RECEIVED' - 'PROCESSING' - 'SUCCESS' - 'FAILURE' - 'PARTIAL'
22
+ attr_accessor :status
24
23
 
25
- attr_accessor :payloads
24
+ attr_accessor :registration_information
26
25
 
27
- # The product the webhook was delivered for
28
- attr_accessor :product_id
26
+ attr_accessor :integration_information
29
27
 
30
- # Identifies the the type of request
31
- attr_accessor :request_type
28
+ attr_accessor :organization_information
32
29
 
33
- # The number of retry attempts for a given webhook
34
- attr_accessor :retry_number
30
+ attr_accessor :product_information_setups
35
31
 
36
- # The identifier for the webhook
37
- attr_accessor :transaction_trace_id
32
+ attr_accessor :message
38
33
 
39
- # The identifier of the subscription
40
- attr_accessor :webhook_id
34
+ attr_accessor :details
41
35
 
42
36
  # Attribute mapping from ruby-style variable name to JSON key.
43
37
  def self.attribute_map
44
38
  {
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'
39
+ :'id' => :'id',
40
+ :'submit_time_utc' => :'submitTimeUtc',
41
+ :'status' => :'status',
42
+ :'registration_information' => :'registrationInformation',
43
+ :'integration_information' => :'integrationInformation',
44
+ :'organization_information' => :'organizationInformation',
45
+ :'product_information_setups' => :'productInformationSetups',
46
+ :'message' => :'message',
47
+ :'details' => :'details'
54
48
  }
55
49
  end
56
50
 
57
51
  # Attribute mapping from JSON key to ruby-style variable name.
58
52
  def self.json_map
59
53
  {
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'
54
+ :'id' => :'id',
55
+ :'submit_time_utc' => :'submit_time_utc',
56
+ :'status' => :'status',
57
+ :'registration_information' => :'registration_information',
58
+ :'integration_information' => :'integration_information',
59
+ :'organization_information' => :'organization_information',
60
+ :'product_information_setups' => :'product_information_setups',
61
+ :'message' => :'message',
62
+ :'details' => :'details'
69
63
  }
70
64
  end
71
65
 
72
66
  # Attribute type mapping.
73
67
  def self.swagger_types
74
68
  {
75
- :'event_date' => :'String',
76
- :'event_type' => :'String',
77
- :'organization_id' => :'String',
78
- :'payloads' => :'InlineResponse2017Payloads',
79
- :'product_id' => :'String',
80
- :'request_type' => :'String',
81
- :'retry_number' => :'Integer',
82
- :'transaction_trace_id' => :'String',
83
- :'webhook_id' => :'String'
69
+ :'id' => :'String',
70
+ :'submit_time_utc' => :'DateTime',
71
+ :'status' => :'String',
72
+ :'registration_information' => :'InlineResponse2017RegistrationInformation',
73
+ :'integration_information' => :'InlineResponse2017IntegrationInformation',
74
+ :'organization_information' => :'InlineResponse2017OrganizationInformation',
75
+ :'product_information_setups' => :'Array<InlineResponse2017ProductInformationSetups>',
76
+ :'message' => :'String',
77
+ :'details' => :'Hash<String, Array<Object>>'
84
78
  }
85
79
  end
86
80
 
@@ -92,40 +86,44 @@ module CyberSource
92
86
  # convert string to symbol for hash key
93
87
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
94
88
 
95
- if attributes.has_key?(:'eventDate')
96
- self.event_date = attributes[:'eventDate']
89
+ if attributes.has_key?(:'id')
90
+ self.id = attributes[:'id']
97
91
  end
98
92
 
99
- if attributes.has_key?(:'eventType')
100
- self.event_type = attributes[:'eventType']
93
+ if attributes.has_key?(:'submitTimeUtc')
94
+ self.submit_time_utc = attributes[:'submitTimeUtc']
101
95
  end
102
96
 
103
- if attributes.has_key?(:'organizationId')
104
- self.organization_id = attributes[:'organizationId']
97
+ if attributes.has_key?(:'status')
98
+ self.status = attributes[:'status']
105
99
  end
106
100
 
107
- if attributes.has_key?(:'payloads')
108
- self.payloads = attributes[:'payloads']
101
+ if attributes.has_key?(:'registrationInformation')
102
+ self.registration_information = attributes[:'registrationInformation']
109
103
  end
110
104
 
111
- if attributes.has_key?(:'productId')
112
- self.product_id = attributes[:'productId']
105
+ if attributes.has_key?(:'integrationInformation')
106
+ self.integration_information = attributes[:'integrationInformation']
113
107
  end
114
108
 
115
- if attributes.has_key?(:'requestType')
116
- self.request_type = attributes[:'requestType']
109
+ if attributes.has_key?(:'organizationInformation')
110
+ self.organization_information = attributes[:'organizationInformation']
117
111
  end
118
112
 
119
- if attributes.has_key?(:'retryNumber')
120
- self.retry_number = attributes[:'retryNumber']
113
+ if attributes.has_key?(:'productInformationSetups')
114
+ if (value = attributes[:'productInformationSetups']).is_a?(Array)
115
+ self.product_information_setups = value
116
+ end
121
117
  end
122
118
 
123
- if attributes.has_key?(:'transactionTraceId')
124
- self.transaction_trace_id = attributes[:'transactionTraceId']
119
+ if attributes.has_key?(:'message')
120
+ self.message = attributes[:'message']
125
121
  end
126
122
 
127
- if attributes.has_key?(:'webhookId')
128
- self.webhook_id = attributes[:'webhookId']
123
+ if attributes.has_key?(:'details')
124
+ if (value = attributes[:'details']).is_a?(Hash)
125
+ self.details = value
126
+ end
129
127
  end
130
128
  end
131
129
 
@@ -142,20 +140,26 @@ module CyberSource
142
140
  true
143
141
  end
144
142
 
143
+ # Custom attribute writer method with validation
144
+ # @param [Object] id Value to be assigned
145
+ def id=(id)
146
+ @id = id
147
+ end
148
+
145
149
  # Checks equality by comparing each attribute.
146
150
  # @param [Object] Object to be compared
147
151
  def ==(o)
148
152
  return true if self.equal?(o)
149
153
  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
154
+ id == o.id &&
155
+ submit_time_utc == o.submit_time_utc &&
156
+ status == o.status &&
157
+ registration_information == o.registration_information &&
158
+ integration_information == o.integration_information &&
159
+ organization_information == o.organization_information &&
160
+ product_information_setups == o.product_information_setups &&
161
+ message == o.message &&
162
+ details == o.details
159
163
  end
160
164
 
161
165
  # @see the `==` method
@@ -167,7 +171,7 @@ module CyberSource
167
171
  # Calculates hash code according to all attributes.
168
172
  # @return [Fixnum] Hash code
169
173
  def hash
170
- [event_date, event_type, organization_id, payloads, product_id, request_type, retry_number, transaction_trace_id, webhook_id].hash
174
+ [id, submit_time_utc, status, registration_information, integration_information, organization_information, product_information_setups, message, details].hash
171
175
  end
172
176
 
173
177
  # 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 InlineResponse2014IntegrationInformation
15
+ class InlineResponse2017IntegrationInformation
16
16
  # tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with.
17
17
  attr_accessor :tenant_configurations
18
18
 
@@ -33,7 +33,7 @@ module CyberSource
33
33
  # Attribute type mapping.
34
34
  def self.swagger_types
35
35
  {
36
- :'tenant_configurations' => :'Array<InlineResponse2014IntegrationInformationTenantConfigurations>'
36
+ :'tenant_configurations' => :'Array<InlineResponse2017IntegrationInformationTenantConfigurations>'
37
37
  }
38
38
  end
39
39
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2014IntegrationInformationTenantConfigurations
15
+ class InlineResponse2017IntegrationInformationTenantConfigurations
16
16
  # The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system.
17
17
  attr_accessor :solution_id
18
18
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2014OrganizationInformation
15
+ class InlineResponse2017OrganizationInformation
16
16
  attr_accessor :organization_id
17
17
 
18
18
  attr_accessor :parent_organization_id
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2014ProductInformationSetups
15
+ class InlineResponse2017ProductInformationSetups
16
16
  attr_accessor :organization_id
17
17
 
18
18
  attr_accessor :setups
@@ -37,7 +37,7 @@ module CyberSource
37
37
  def self.swagger_types
38
38
  {
39
39
  :'organization_id' => :'String',
40
- :'setups' => :'InlineResponse2014Setups'
40
+ :'setups' => :'InlineResponse2017Setups'
41
41
  }
42
42
  end
43
43
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2014RegistrationInformation
15
+ class InlineResponse2017RegistrationInformation
16
16
  attr_accessor :boarding_package_id
17
17
 
18
18
  # In case mode is not provided the API will use COMPLETE as default Possible Values: - 'COMPLETE' - 'PARTIAL'
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2014Setups
15
+ class InlineResponse2017Setups
16
16
  attr_accessor :payments
17
17
 
18
18
  attr_accessor :risk
@@ -45,9 +45,9 @@ module CyberSource
45
45
  def self.swagger_types
46
46
  {
47
47
  :'payments' => :'PaymentsConfigurationSetup',
48
- :'risk' => :'InlineResponse2014SetupsRisk',
49
- :'commerce_solutions' => :'InlineResponse2014SetupsCommerceSolutions',
50
- :'value_added_services' => :'InlineResponse2014SetupsValueAddedServices'
48
+ :'risk' => :'InlineResponse2017SetupsRisk',
49
+ :'commerce_solutions' => :'InlineResponse2017SetupsCommerceSolutions',
50
+ :'value_added_services' => :'InlineResponse2017SetupsValueAddedServices'
51
51
  }
52
52
  end
53
53
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2014SetupsCommerceSolutions
15
+ class InlineResponse2017SetupsCommerceSolutions
16
16
  attr_accessor :token_management
17
17
 
18
18
  attr_accessor :account_updater
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2014SetupsRisk
15
+ class InlineResponse2017SetupsRisk
16
16
  attr_accessor :fraud_management_essentials
17
17
 
18
18
  attr_accessor :decision_manager
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2014SetupsValueAddedServices
15
+ class InlineResponse2017SetupsValueAddedServices
16
16
  attr_accessor :reporting
17
17
 
18
18
  attr_accessor :transaction_search
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- # Egress Asymmetric Key Information Response.
15
+ # Egress Key Information Response
16
16
  class InlineResponse2018
17
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
18
  attr_accessor :submit_time_utc
@@ -20,11 +20,17 @@ module CyberSource
20
20
  # The status of the submitted transaction. Possible values: - ACCEPTED
21
21
  attr_accessor :status
22
22
 
23
+ attr_accessor :client_reference_information
24
+
25
+ attr_accessor :key_information
26
+
23
27
  # Attribute mapping from ruby-style variable name to JSON key.
24
28
  def self.attribute_map
25
29
  {
26
30
  :'submit_time_utc' => :'submitTimeUtc',
27
- :'status' => :'status'
31
+ :'status' => :'status',
32
+ :'client_reference_information' => :'clientReferenceInformation',
33
+ :'key_information' => :'keyInformation'
28
34
  }
29
35
  end
30
36
 
@@ -32,7 +38,9 @@ module CyberSource
32
38
  def self.json_map
33
39
  {
34
40
  :'submit_time_utc' => :'submit_time_utc',
35
- :'status' => :'status'
41
+ :'status' => :'status',
42
+ :'client_reference_information' => :'client_reference_information',
43
+ :'key_information' => :'key_information'
36
44
  }
37
45
  end
38
46
 
@@ -40,7 +48,9 @@ module CyberSource
40
48
  def self.swagger_types
41
49
  {
42
50
  :'submit_time_utc' => :'String',
43
- :'status' => :'String'
51
+ :'status' => :'String',
52
+ :'client_reference_information' => :'Kmsegressv2keyssymClientReferenceInformation',
53
+ :'key_information' => :'InlineResponse2018KeyInformation'
44
54
  }
45
55
  end
46
56
 
@@ -59,6 +69,14 @@ module CyberSource
59
69
  if attributes.has_key?(:'status')
60
70
  self.status = attributes[:'status']
61
71
  end
72
+
73
+ if attributes.has_key?(:'clientReferenceInformation')
74
+ self.client_reference_information = attributes[:'clientReferenceInformation']
75
+ end
76
+
77
+ if attributes.has_key?(:'keyInformation')
78
+ self.key_information = attributes[:'keyInformation']
79
+ end
62
80
  end
63
81
 
64
82
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -80,7 +98,9 @@ module CyberSource
80
98
  return true if self.equal?(o)
81
99
  self.class == o.class &&
82
100
  submit_time_utc == o.submit_time_utc &&
83
- status == o.status
101
+ status == o.status &&
102
+ client_reference_information == o.client_reference_information &&
103
+ key_information == o.key_information
84
104
  end
85
105
 
86
106
  # @see the `==` method
@@ -92,7 +112,7 @@ module CyberSource
92
112
  # Calculates hash code according to all attributes.
93
113
  # @return [Fixnum] Hash code
94
114
  def hash
95
- [submit_time_utc, status].hash
115
+ [submit_time_utc, status, client_reference_information, key_information].hash
96
116
  end
97
117
 
98
118
  # Builds the object from hash
@@ -13,7 +13,7 @@ require 'date'
13
13
 
14
14
  module CyberSource
15
15
  # Egress Key Information
16
- class InlineResponse2015KeyInformation
16
+ class InlineResponse2018KeyInformation
17
17
  # Provider name
18
18
  attr_accessor :provider
19
19
 
@@ -93,7 +93,7 @@ module CyberSource
93
93
  :'status' => :'String',
94
94
  :'expiration_date' => :'String',
95
95
  :'message' => :'String',
96
- :'error_information' => :'InlineResponse2015KeyInformationErrorInformation'
96
+ :'error_information' => :'InlineResponse2018KeyInformationErrorInformation'
97
97
  }
98
98
  end
99
99
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2015KeyInformationErrorInformation
15
+ class InlineResponse2018KeyInformationErrorInformation
16
16
  # The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA
17
17
  attr_accessor :reason
18
18
 
@@ -38,7 +38,7 @@ module CyberSource
38
38
  def self.swagger_types
39
39
  {
40
40
  :'reason' => :'String',
41
- :'details' => :'Array<InlineResponse2015KeyInformationErrorInformationDetails>'
41
+ :'details' => :'Array<InlineResponse2018KeyInformationErrorInformationDetails>'
42
42
  }
43
43
  end
44
44
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2015KeyInformationErrorInformationDetails
15
+ class InlineResponse2018KeyInformationErrorInformationDetails
16
16
  # This is the flattened JSON object field name/path that is either missing or invalid
17
17
  attr_accessor :field
18
18