cybersource_rest_client 0.0.86 → 0.0.88

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 (285) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/util/CertificateUtility.rb +14 -6
  3. data/lib/cybersource_rest_client/api/acp_checkout_api.rb +553 -0
  4. data/lib/cybersource_rest_client/api/agent_registration_api.rb +721 -0
  5. data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +0 -1
  6. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
  7. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
  8. data/lib/cybersource_rest_client/api/enrollment_api.rb +104 -0
  9. data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +3 -3
  10. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
  11. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
  12. data/lib/cybersource_rest_client/api/{merchant_capabilities_api.rb → merchant_registration_api.rb} +47 -391
  13. data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
  14. data/lib/cybersource_rest_client/api/payment_events_api.rb +197 -0
  15. data/lib/cybersource_rest_client/api/product_feed_api.rb +365 -0
  16. data/lib/cybersource_rest_client/api/purchase_intent_api.rb +278 -0
  17. data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -2
  18. data/lib/cybersource_rest_client/api/transaction_details_api.rb +1 -1
  19. data/lib/cybersource_rest_client/api/transaction_query_api.rb +3 -3
  20. data/lib/cybersource_rest_client/api/ucp_checkout_api.rb +453 -0
  21. data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +104 -0
  22. data/lib/cybersource_rest_client/models/activate_merchant_key_response200.rb +1 -1
  23. data/lib/cybersource_rest_client/models/add_agent_key_response201.rb +11 -11
  24. data/lib/cybersource_rest_client/models/agent_registration_response201.rb +13 -15
  25. data/lib/cybersource_rest_client/models/agent_registration_response201_keys.rb +8 -8
  26. data/lib/cybersource_rest_client/models/agent_request.rb +9 -11
  27. data/lib/cybersource_rest_client/models/agent_update.rb +7 -9
  28. data/lib/cybersource_rest_client/models/auth_reversal_request.rb +1 -1
  29. data/lib/cybersource_rest_client/models/boarding_payouts_configurations.rb +1 -1
  30. data/lib/cybersource_rest_client/models/boarding_payouts_configurations_acquirer.rb +216 -0
  31. data/lib/cybersource_rest_client/models/boarding_payouts_configurations_merchant_descriptor.rb +205 -0
  32. data/lib/cybersource_rest_client/models/boarding_payouts_configurations_processors.rb +581 -0
  33. data/lib/cybersource_rest_client/models/capture_payment_request.rb +1 -1
  34. data/lib/cybersource_rest_client/models/create_order_request.rb +11 -1
  35. data/lib/cybersource_rest_client/models/create_payment_request.rb +14 -1
  36. data/lib/cybersource_rest_client/models/create_session_req.rb +14 -1
  37. data/lib/cybersource_rest_client/models/create_session_request.rb +14 -1
  38. data/lib/cybersource_rest_client/models/iccv1agents_keys.rb +4 -4
  39. data/lib/cybersource_rest_client/models/iccv1merchants_api_integrations.rb +2 -2
  40. data/lib/cybersource_rest_client/models/iccv1merchants_encryption_key.rb +6 -6
  41. data/lib/cybersource_rest_client/models/iccv1merchants_protocol_interactions.rb +1 -1
  42. data/lib/cybersource_rest_client/models/iccv1merchants_web_integrations.rb +2 -2
  43. data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
  44. data/lib/cybersource_rest_client/models/inline_response_200_17.rb +60 -5
  45. data/lib/cybersource_rest_client/models/inline_response_200_18.rb +45 -5
  46. data/lib/cybersource_rest_client/models/inline_response_200_19.rb +30 -107
  47. data/lib/cybersource_rest_client/models/inline_response_200_19_processing.rb +213 -0
  48. data/lib/cybersource_rest_client/models/inline_response_200_19_syndication.rb +224 -0
  49. data/lib/cybersource_rest_client/models/inline_response_200_20_products.rb +80 -682
  50. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +1 -1
  51. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +1 -1
  52. data/lib/cybersource_rest_client/models/inline_response_201_10.rb +18 -93
  53. data/lib/cybersource_rest_client/models/inline_response_201_11.rb +103 -8
  54. data/lib/cybersource_rest_client/models/{inline_response_201_12_client_reference_information.rb → inline_response_201_11_client_reference_information.rb} +1 -1
  55. data/lib/cybersource_rest_client/models/{inline_response_201_12_error_information.rb → inline_response_201_11_error_information.rb} +1 -1
  56. data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information.rb → inline_response_201_11_order_information.rb} +2 -2
  57. 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
  58. 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
  59. data/lib/cybersource_rest_client/models/{inline_response_201_12_processor_information.rb → inline_response_201_11_processor_information.rb} +1 -1
  60. data/lib/cybersource_rest_client/models/inline_response_201_12.rb +141 -80
  61. data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_address.rb → inline_response_201_12_fulfillment_address.rb} +1 -1
  62. data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_options.rb → inline_response_201_12_fulfillment_options.rb} +31 -1
  63. data/lib/cybersource_rest_client/models/{inline_response_201_14_item.rb → inline_response_201_12_item.rb} +20 -20
  64. data/lib/cybersource_rest_client/models/inline_response_201_12_line_items.rb +256 -0
  65. data/lib/cybersource_rest_client/models/{inline_response_201_13_links.rb → inline_response_201_12_links.rb} +1 -1
  66. data/lib/cybersource_rest_client/models/{inline_response_201_13_messages.rb → inline_response_201_12_messages.rb} +1 -1
  67. data/lib/cybersource_rest_client/models/{inline_response_201_13_payment_provider.rb → inline_response_201_12_payment_provider.rb} +1 -1
  68. data/lib/cybersource_rest_client/models/{inline_response_201_13_totals.rb → inline_response_201_12_totals.rb} +16 -1
  69. data/lib/cybersource_rest_client/models/inline_response_201_13.rb +61 -67
  70. data/lib/cybersource_rest_client/models/{inline_response_201_14_discounts.rb → inline_response_201_13_discounts.rb} +1 -1
  71. data/lib/cybersource_rest_client/models/{inline_response_201_14_fulfillment.rb → inline_response_201_13_fulfillment.rb} +1 -1
  72. data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +19 -19
  73. data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +20 -51
  74. data/lib/cybersource_rest_client/models/{inline_response_201_14_order.rb → inline_response_201_13_order.rb} +1 -1
  75. data/lib/cybersource_rest_client/models/{inline_response_201_14_payment.rb → inline_response_201_13_payment.rb} +1 -1
  76. data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp.rb → inline_response_201_13_ucp.rb} +2 -2
  77. data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp_capabilities.rb → inline_response_201_13_ucp_capabilities.rb} +1 -1
  78. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +82 -39
  79. data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information.rb → inline_response_201_3_error_information.rb} +3 -3
  80. data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information_details.rb → inline_response_201_3_error_information_details.rb} +2 -2
  81. data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information.rb → inline_response_201_3_order_information.rb} +2 -2
  82. data/lib/cybersource_rest_client/models/inline_response_201_3_order_information_amount_details.rb +315 -0
  83. data/lib/cybersource_rest_client/models/inline_response_201_3_processing_information.rb +189 -0
  84. data/lib/cybersource_rest_client/models/{inline_response_201_4_processing_information_routing.rb → inline_response_201_3_processing_information_routing.rb} +1 -1
  85. data/lib/cybersource_rest_client/models/inline_response_201_3_processor_information.rb +213 -0
  86. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +41 -30
  87. data/lib/cybersource_rest_client/models/{inline_response_201_5__links.rb → inline_response_201_4__links.rb} +2 -2
  88. data/lib/cybersource_rest_client/models/{inline_response_201_5__links_self.rb → inline_response_201_4__links_self.rb} +1 -1
  89. data/lib/cybersource_rest_client/models/{inline_response_201_5_acquirer_information.rb → inline_response_201_4_acquirer_information.rb} +1 -1
  90. data/lib/cybersource_rest_client/models/{inline_response_201_5_client_reference_information.rb → inline_response_201_4_client_reference_information.rb} +1 -1
  91. data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +1 -1
  92. data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +1 -1
  93. data/lib/cybersource_rest_client/models/{inline_response_201_5_merchant_information.rb → inline_response_201_4_merchant_information.rb} +1 -1
  94. data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +46 -97
  95. data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information.rb → inline_response_201_4_payment_information.rb} +2 -2
  96. data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information_card.rb → inline_response_201_4_payment_information_card.rb} +1 -1
  97. data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +59 -8
  98. 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
  99. data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +342 -7
  100. 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
  101. data/lib/cybersource_rest_client/models/{inline_response_201_5_transactions.rb → inline_response_201_4_transactions.rb} +7 -7
  102. data/lib/cybersource_rest_client/models/inline_response_201_5.rb +35 -68
  103. data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information.rb → inline_response_201_5_payout_information.rb} +3 -3
  104. 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
  105. 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
  106. data/lib/cybersource_rest_client/models/inline_response_201_6.rb +59 -26
  107. data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information.rb → inline_response_201_6_integration_information.rb} +2 -2
  108. 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
  109. data/lib/cybersource_rest_client/models/{inline_response_201_7_organization_information.rb → inline_response_201_6_organization_information.rb} +1 -1
  110. data/lib/cybersource_rest_client/models/{inline_response_201_7_product_information_setups.rb → inline_response_201_6_product_information_setups.rb} +2 -2
  111. data/lib/cybersource_rest_client/models/{inline_response_201_7_registration_information.rb → inline_response_201_6_registration_information.rb} +1 -1
  112. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups.rb → inline_response_201_6_setups.rb} +4 -4
  113. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_commerce_solutions.rb → inline_response_201_6_setups_commerce_solutions.rb} +1 -1
  114. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_risk.rb → inline_response_201_6_setups_risk.rb} +16 -6
  115. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_value_added_services.rb → inline_response_201_6_setups_value_added_services.rb} +16 -6
  116. data/lib/cybersource_rest_client/models/inline_response_201_7.rb +19 -78
  117. data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information.rb → inline_response_201_7_key_information.rb} +2 -2
  118. 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
  119. 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
  120. data/lib/cybersource_rest_client/models/inline_response_201_8.rb +117 -25
  121. data/lib/cybersource_rest_client/models/inline_response_201_9.rb +68 -105
  122. data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads.rb → inline_response_201_9_payloads.rb} +2 -2
  123. data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads_test_payload.rb → inline_response_201_9_payloads_test_payload.rb} +1 -1
  124. data/lib/cybersource_rest_client/models/inline_response_202_1.rb +191 -0
  125. data/lib/cybersource_rest_client/models/inline_response_400_3.rb +1 -1
  126. data/lib/cybersource_rest_client/models/inline_response_400_4.rb +1 -1
  127. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_merchant_defined_field_values_with_definition.rb +11 -1
  128. data/lib/cybersource_rest_client/models/key_request.rb +4 -4
  129. data/lib/cybersource_rest_client/models/key_request_1.rb +5 -5
  130. data/lib/cybersource_rest_client/models/key_update.rb +5 -5
  131. data/lib/cybersource_rest_client/models/key_update_1.rb +5 -5
  132. data/lib/cybersource_rest_client/models/list_agent_keys_response200.rb +2 -2
  133. data/lib/cybersource_rest_client/models/merchant_registration_response201.rb +10 -10
  134. data/lib/cybersource_rest_client/models/merchant_registration_response201_api_integrations.rb +225 -0
  135. data/lib/cybersource_rest_client/models/merchant_registration_response201_keys.rb +1 -1
  136. data/lib/cybersource_rest_client/models/merchant_registration_response201_web_integrations.rb +225 -0
  137. data/lib/cybersource_rest_client/models/merchant_request.rb +7 -7
  138. data/lib/cybersource_rest_client/models/merchant_update.rb +7 -7
  139. data/lib/cybersource_rest_client/models/mit_reversal_request.rb +1 -1
  140. data/lib/cybersource_rest_client/models/mit_void_request.rb +15 -5
  141. data/lib/cybersource_rest_client/models/payments_configuration_setup.rb +11 -1
  142. data/lib/cybersource_rest_client/models/payments_products.rb +11 -1
  143. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +12 -1
  144. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1.rb +12 -1
  145. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information.rb +44 -1
  146. data/lib/cybersource_rest_client/models/{pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb → pts_v2_payments_post201_response_1_order_information_merchant_descriptor.rb} +1 -1
  147. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +18 -1
  148. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +101 -5
  149. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_ship_to.rb +12 -1
  150. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +22 -5
  151. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +22 -5
  152. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +22 -5
  153. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +1 -1
  154. data/lib/cybersource_rest_client/models/{ptsv2paymentsidreversals_point_of_sale_information.rb → pts_v2_payments_reversals_post201_response_point_of_sale_information.rb} +2 -2
  155. data/lib/cybersource_rest_client/models/{ptsv2paymentsidreversals_point_of_sale_information_emv.rb → pts_v2_payments_reversals_post201_response_point_of_sale_information_emv.rb} +1 -1
  156. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +22 -5
  157. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information.rb +1 -1
  158. data/lib/cybersource_rest_client/models/ptsv2intents_buyer_information.rb +196 -0
  159. data/lib/cybersource_rest_client/models/ptsv2intents_merchant_information_merchant_descriptor.rb +18 -1
  160. data/lib/cybersource_rest_client/models/ptsv2intents_order_information_bill_to.rb +154 -1
  161. data/lib/cybersource_rest_client/models/ptsv2intents_order_information_line_items.rb +16 -5
  162. data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information.rb +1 -1
  163. data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information_merchant_descriptor.rb +207 -0
  164. data/lib/cybersource_rest_client/models/ptsv2payments_buyer.rb +247 -0
  165. data/lib/cybersource_rest_client/models/{inline_response_201_3_results_risk_insights.rb → ptsv2payments_order_history.rb} +39 -36
  166. data/lib/cybersource_rest_client/models/ptsv2payments_ship_to.rb +281 -0
  167. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb +1 -1
  168. data/lib/cybersource_rest_client/models/{ptsv2paymentsidcaptures_point_of_sale_information_emv.rb → ptsv2paymentsidrefunds_point_of_sale_information_emv.rb} +1 -1
  169. data/lib/cybersource_rest_client/models/risk_products.rb +15 -5
  170. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
  171. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +1 -1
  172. data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +16 -5
  173. data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +11 -1
  174. data/lib/cybersource_rest_client/models/ucv1sessions_data_acquirer_information.rb +196 -0
  175. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +1 -1
  176. data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +16 -5
  177. data/lib/cybersource_rest_client/models/{inline_response_201_14_line_items.rb → unified_risk_post201_response.rb} +28 -42
  178. data/lib/cybersource_rest_client/models/{inline_response_201_3_results.rb → unified_risk_post201_response_results.rb} +3 -3
  179. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights.rb +291 -0
  180. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_client.rb +208 -0
  181. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_error.rb +202 -0
  182. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages.rb +190 -0
  183. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights.rb +250 -0
  184. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights_insights.rb +219 -0
  185. data/lib/cybersource_rest_client/models/unified_risk_post201_response_transaction_insights_insights_warnings.rb +214 -0
  186. data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response.rb → unified_risk_post400_response.rb} +2 -2
  187. data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response_errors.rb → unified_risk_post400_response_errors.rb} +1 -1
  188. data/lib/cybersource_rest_client/models/{deactivate_merchant_key_response200.rb → unifiedrisk_account.rb} +10 -16
  189. data/lib/cybersource_rest_client/models/unifiedrisk_acquirer.rb +302 -0
  190. data/lib/cybersource_rest_client/models/{inline_response_200_19_google_merchant.rb → unifiedrisk_acquirer_merchant_account.rb} +42 -45
  191. data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +246 -0
  192. data/lib/cybersource_rest_client/models/unifiedrisk_authentication.rb +402 -0
  193. data/lib/cybersource_rest_client/models/unifiedrisk_authentication_challenge.rb +202 -0
  194. data/lib/cybersource_rest_client/models/unifiedrisk_authorization.rb +212 -0
  195. data/lib/cybersource_rest_client/models/unifiedrisk_browser.rb +420 -0
  196. data/lib/cybersource_rest_client/models/unifiedrisk_customer.rb +403 -0
  197. data/lib/cybersource_rest_client/models/unifiedrisk_customer_address.rb +279 -0
  198. data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information.rb → unifiedrisk_customer_personal_identification.rb} +99 -42
  199. data/lib/cybersource_rest_client/models/unifiedrisk_device.rb +681 -0
  200. data/lib/cybersource_rest_client/models/unifiedrisk_device_point_of_sale.rb +344 -0
  201. data/lib/cybersource_rest_client/models/unifiedrisk_initiating_party.rb +223 -0
  202. data/lib/cybersource_rest_client/models/unifiedrisk_merchant.rb +326 -0
  203. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_address.rb +328 -0
  204. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor.rb +389 -0
  205. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +268 -0
  206. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +246 -0
  207. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +268 -0
  208. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_hierarchy.rb +224 -0
  209. data/lib/cybersource_rest_client/models/{label_request.rb → unifiedrisk_merchant_merchant_descriptor_limit_value.rb} +62 -73
  210. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_trading_address.rb +301 -0
  211. data/lib/cybersource_rest_client/models/{inline_response_200_19_google_merchant_products.rb → unifiedrisk_order.rb} +58 -61
  212. data/lib/cybersource_rest_client/models/unifiedrisk_order_billing.rb +360 -0
  213. data/lib/cybersource_rest_client/models/unifiedrisk_order_line_items.rb +262 -0
  214. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping.rb +464 -0
  215. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store.rb +251 -0
  216. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_address.rb +191 -0
  217. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_store_address.rb +235 -0
  218. data/lib/cybersource_rest_client/models/unifiedrisk_partner.rb +214 -0
  219. data/lib/cybersource_rest_client/models/unifiedrisk_payment.rb +423 -0
  220. data/lib/cybersource_rest_client/models/unifiedrisk_payment_approvals.rb +193 -0
  221. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account.rb +451 -0
  222. data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information_amount_details.rb → unifiedrisk_payment_bank_account_balance_before.rb} +49 -56
  223. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_branch_address.rb +328 -0
  224. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +257 -0
  225. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_financial_institution.rb +212 -0
  226. data/lib/cybersource_rest_client/models/unifiedrisk_payment_batch.rb +323 -0
  227. data/lib/cybersource_rest_client/models/unifiedrisk_payment_card.rb +461 -0
  228. data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_par_details.rb +196 -0
  229. data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_token_details.rb +380 -0
  230. data/lib/cybersource_rest_client/models/unifiedrisk_payment_check.rb +289 -0
  231. data/lib/cybersource_rest_client/models/unifiedrisk_payment_check_deposit_location.rb +279 -0
  232. data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty.rb +287 -0
  233. data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_address.rb +279 -0
  234. data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_branch_address.rb +279 -0
  235. data/lib/cybersource_rest_client/models/unifiedrisk_payment_sdk.rb +268 -0
  236. data/lib/cybersource_rest_client/models/unifiedrisk_payment_token.rb +213 -0
  237. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification.rb +230 -0
  238. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_additional.rb +256 -0
  239. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication.rb +232 -0
  240. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_pin.rb +201 -0
  241. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_three_ds.rb +190 -0
  242. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security.rb +199 -0
  243. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_avs.rb +218 -0
  244. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_cvv.rb +196 -0
  245. data/lib/cybersource_rest_client/models/{inline_response_200_19_errors.rb → unifiedrisk_payment_verification_digital.rb} +26 -27
  246. data/lib/cybersource_rest_client/models/unifiedrisk_payment_wallet.rb +201 -0
  247. data/lib/cybersource_rest_client/models/unifiedrisk_payment_wire.rb +364 -0
  248. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment.rb +308 -0
  249. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history.rb +276 -0
  250. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_account_history.rb +207 -0
  251. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account.rb +273 -0
  252. data/lib/cybersource_rest_client/models/{inline_response_201_14.rb → unifiedrisk_risk_assessment_buyer_history_customer_account_alertnate_authentication.rb} +59 -114
  253. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_vital4.rb +191 -0
  254. data/lib/cybersource_rest_client/models/unifiedrisk_session.rb +202 -0
  255. data/lib/cybersource_rest_client/models/unifiedrisk_terminal.rb +238 -0
  256. data/lib/cybersource_rest_client/models/unifiedrisk_terminal_address.rb +301 -0
  257. data/lib/cybersource_rest_client/models/unifiedrisk_terminal_capabilities.rb +234 -0
  258. data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk.rb +708 -0
  259. data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk_raw_data.rb +189 -0
  260. data/lib/cybersource_rest_client/models/unifiedrisk_transaction.rb +305 -12
  261. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_additional_fees.rb +257 -0
  262. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_amount.rb +257 -0
  263. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details.rb +220 -0
  264. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_credits_amount.rb +246 -0
  265. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_debits_amount.rb +246 -0
  266. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_credits.rb +246 -0
  267. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_debits.rb +246 -0
  268. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details.rb +190 -0
  269. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details_deposited_cash_amount.rb +246 -0
  270. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_recurring_details.rb +341 -0
  271. data/lib/cybersource_rest_client/models/unifiedrisk_travel.rb +279 -0
  272. data/lib/cybersource_rest_client/models/value_added_services_products.rb +15 -5
  273. data/lib/cybersource_rest_client/models/void_capture_request.rb +15 -5
  274. data/lib/cybersource_rest_client/models/void_credit_request.rb +15 -5
  275. data/lib/cybersource_rest_client/models/void_payment_request.rb +15 -5
  276. data/lib/cybersource_rest_client/models/void_refund_request.rb +15 -5
  277. data/lib/cybersource_rest_client/models/vpri_request.rb +505 -0
  278. data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data.rb +190 -0
  279. data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data_card_bin_data.rb +357 -0
  280. data/lib/cybersource_rest_client.rb +178 -72
  281. metadata +180 -74
  282. data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +0 -2279
  283. data/lib/cybersource_rest_client/api/transaction_risk_labeling_api.rb +0 -104
  284. data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information.rb +0 -548
  285. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +0 -223
@@ -0,0 +1,225 @@
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 'date'
13
+
14
+ module CyberSource
15
+ # Web-based integration configuration for a merchant checkout flow.
16
+ class MerchantRegistrationResponse201WebIntegrations
17
+ # URL for integration specification
18
+ attr_accessor :integration_spec
19
+
20
+ # Base web page to checkout for agents (must use HTTPS)
21
+ attr_accessor :url
22
+
23
+ # Optional metadata (max 10KB)
24
+ attr_accessor :metadata
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'integration_spec' => :'integrationSpec',
30
+ :'url' => :'url',
31
+ :'metadata' => :'metadata'
32
+ }
33
+ end
34
+
35
+ # Attribute mapping from JSON key to ruby-style variable name.
36
+ def self.json_map
37
+ {
38
+ :'integration_spec' => :'integration_spec',
39
+ :'url' => :'url',
40
+ :'metadata' => :'metadata'
41
+ }
42
+ end
43
+
44
+ # Attribute type mapping.
45
+ def self.swagger_types
46
+ {
47
+ :'integration_spec' => :'String',
48
+ :'url' => :'String',
49
+ :'metadata' => :'Hash<String, Object>'
50
+ }
51
+ end
52
+
53
+ # Initializes the object
54
+ # @param [Hash] attributes Model attributes in the form of hash
55
+ def initialize(attributes = {})
56
+ return unless attributes.is_a?(Hash)
57
+
58
+ # convert string to symbol for hash key
59
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
60
+
61
+ if attributes.has_key?(:'integrationSpec')
62
+ self.integration_spec = attributes[:'integrationSpec']
63
+ end
64
+
65
+ if attributes.has_key?(:'url')
66
+ self.url = attributes[:'url']
67
+ end
68
+
69
+ if attributes.has_key?(:'metadata')
70
+ if (value = attributes[:'metadata']).is_a?(Hash)
71
+ self.metadata = value
72
+ end
73
+ end
74
+ end
75
+
76
+ # Show invalid properties with the reasons. Usually used together with valid?
77
+ # @return Array for valid properties with the reasons
78
+ def list_invalid_properties
79
+ invalid_properties = Array.new
80
+ if @integration_spec.nil?
81
+ invalid_properties.push('invalid value for "integration_spec", integration_spec cannot be nil.')
82
+ end
83
+
84
+ if @url.nil?
85
+ invalid_properties.push('invalid value for "url", url cannot be nil.')
86
+ end
87
+
88
+ invalid_properties
89
+ end
90
+
91
+ # Check to see if the all the properties in the model are valid
92
+ # @return true if the model is valid
93
+ def valid?
94
+ return false if @integration_spec.nil?
95
+ return false if @url.nil?
96
+ true
97
+ end
98
+
99
+ # Checks equality by comparing each attribute.
100
+ # @param [Object] Object to be compared
101
+ def ==(o)
102
+ return true if self.equal?(o)
103
+ self.class == o.class &&
104
+ integration_spec == o.integration_spec &&
105
+ url == o.url &&
106
+ metadata == o.metadata
107
+ end
108
+
109
+ # @see the `==` method
110
+ # @param [Object] Object to be compared
111
+ def eql?(o)
112
+ self == o
113
+ end
114
+
115
+ # Calculates hash code according to all attributes.
116
+ # @return [Fixnum] Hash code
117
+ def hash
118
+ [integration_spec, url, metadata].hash
119
+ end
120
+
121
+ # Builds the object from hash
122
+ # @param [Hash] attributes Model attributes in the form of hash
123
+ # @return [Object] Returns the model itself
124
+ def build_from_hash(attributes)
125
+ return nil unless attributes.is_a?(Hash)
126
+ self.class.swagger_types.each_pair do |key, type|
127
+ if type =~ /\AArray<(.*)>/i
128
+ # check to ensure the input is an array given that the the attribute
129
+ # is documented as an array but the input is not
130
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
131
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
132
+ end
133
+ elsif !attributes[self.class.attribute_map[key]].nil?
134
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
135
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
136
+ end
137
+
138
+ self
139
+ end
140
+
141
+ # Deserializes the data based on type
142
+ # @param string type Data type
143
+ # @param string value Value to be deserialized
144
+ # @return [Object] Deserialized data
145
+ def _deserialize(type, value)
146
+ case type.to_sym
147
+ when :DateTime
148
+ DateTime.parse(value)
149
+ when :Date
150
+ Date.parse(value)
151
+ when :String
152
+ value.to_s
153
+ when :Integer
154
+ value.to_i
155
+ when :Float
156
+ value.to_f
157
+ when :BOOLEAN
158
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
159
+ true
160
+ else
161
+ false
162
+ end
163
+ when :Object
164
+ # generic object (usually a Hash), return directly
165
+ value
166
+ when /\AArray<(?<inner_type>.+)>\z/
167
+ inner_type = Regexp.last_match[:inner_type]
168
+ value.map { |v| _deserialize(inner_type, v) }
169
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
170
+ k_type = Regexp.last_match[:k_type]
171
+ v_type = Regexp.last_match[:v_type]
172
+ {}.tap do |hash|
173
+ value.each do |k, v|
174
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
175
+ end
176
+ end
177
+ else # model
178
+ temp_model = CyberSource.const_get(type).new
179
+ temp_model.build_from_hash(value)
180
+ end
181
+ end
182
+
183
+ # Returns the string representation of the object
184
+ # @return [String] String presentation of the object
185
+ def to_s
186
+ to_hash.to_s
187
+ end
188
+
189
+ # to_body is an alias to to_hash (backward compatibility)
190
+ # @return [Hash] Returns the object in the form of hash
191
+ def to_body
192
+ to_hash
193
+ end
194
+
195
+ # Returns the object in the form of hash
196
+ # @return [Hash] Returns the object in the form of hash
197
+ def to_hash
198
+ hash = {}
199
+ self.class.attribute_map.each_pair do |attr, param|
200
+ value = self.send(attr)
201
+ next if value.nil?
202
+ hash[param] = _to_hash(value)
203
+ end
204
+ hash
205
+ end
206
+
207
+ # Outputs non-array value in the form of hash
208
+ # For object, use to_hash. Otherwise, just return the value
209
+ # @param [Object] value Any valid value
210
+ # @return [Hash] Returns the value in the form of hash
211
+ def _to_hash(value)
212
+ if value.is_a?(Array)
213
+ value.compact.map { |v| _to_hash(v) }
214
+ elsif value.is_a?(Hash)
215
+ {}.tap do |hash|
216
+ value.each { |k, v| hash[k] = _to_hash(v) }
217
+ end
218
+ elsif value.respond_to? :to_hash
219
+ value.to_hash
220
+ else
221
+ value
222
+ end
223
+ end
224
+ end
225
+ end
@@ -17,27 +17,27 @@ module CyberSource
17
17
  # Doing business as (DBA) name
18
18
  attr_accessor :merchant_name
19
19
 
20
- # Base merchant URL (must use HTTPS)
20
+ # Base URL of the merchant's domain. Must use HTTPS and be unique across all registrations.
21
21
  attr_accessor :merchant_url
22
22
 
23
- # Visa Merchant ID — unique identifier
23
+ # Visa Merchant ID (VMID). Must be unique — raises 409 if already in use.
24
24
  attr_accessor :vmid
25
25
 
26
- # Transaction processing type Possible values: - TAP - ACG - BOTH
26
+ # Transaction processing indicator: - ***TAP*** — Trusted Agent Protocol - ***ACG*** — Agentic Checkout Gateway - ***BOTH*** — supports both TAP and ACG Possible values: - TAP - ACG - BOTH
27
27
  attr_accessor :indicator
28
28
 
29
- # Authentication cryptogram type (defaults to DAVV) Possible values: - TAVV - DAVV
29
+ # Authentication cryptogram type used for payment credential generation. Defaults to ***DAVV*** if not provided. Possible values: - TAVV - DAVV
30
30
  attr_accessor :cryptogram_type
31
31
 
32
- # Credential delivery format (defaults to UNENCRYPTED) Possible values: - ENCRYPTED - UNENCRYPTED
32
+ # Credential delivery format. Set to ***ENCRYPTED*** to enable JWE-encrypted payload delivery — requires an `encryptionKey`. Defaults to ***UNENCRYPTED***. Possible values: - ENCRYPTED - UNENCRYPTED
33
33
  attr_accessor :payment_payload_type
34
34
 
35
35
  attr_accessor :encryption_key
36
36
 
37
- # List of acceptance network relationships
37
+ # List of payment network acceptance relationships (e.g., \"Visa\").
38
38
  attr_accessor :acceptance_relationships
39
39
 
40
- # List of protocol configurations (ucp, acp, x402) with HTTPS URLs
40
+ # List of protocol interaction configurations defining the merchant's endpoint for each supported protocol (ucp, acp, x402).
41
41
  attr_accessor :protocol_interactions
42
42
 
43
43
  attr_accessor :web_integrations
@@ -17,19 +17,19 @@ module CyberSource
17
17
  # Doing business as (DBA) name
18
18
  attr_accessor :merchant_name
19
19
 
20
- # Base merchant URL (must use HTTPS)
20
+ # Base URL of the merchant's domain. Must use HTTPS and be unique — raises 409 if already registered.
21
21
  attr_accessor :merchant_url
22
22
 
23
- # Authentication cryptogram type Possible values: - TAVV - DAVV
23
+ # Authentication cryptogram type used for payment credential generation. Possible values: - TAVV - DAVV
24
24
  attr_accessor :cryptogram_type
25
25
 
26
- # Credential delivery format Possible values: - ENCRYPTED - UNENCRYPTED
26
+ # Credential delivery format. Set to ***ENCRYPTED*** to enable JWE-encrypted payload delivery — requires an active encryption key. Returns 400 if no active key exists. Possible values: - ENCRYPTED - UNENCRYPTED
27
27
  attr_accessor :payment_payload_type
28
28
 
29
- # List of acceptance network relationships
29
+ # List of payment network acceptance relationships (e.g., \"Visa\").
30
30
  attr_accessor :acceptance_relationships
31
31
 
32
- # List of protocol configurations
32
+ # List of protocol interaction configurations defining the merchant's endpoint for each supported protocol (ucp, acp, x402).
33
33
  attr_accessor :protocol_interactions
34
34
 
35
35
  attr_accessor :web_integrations
@@ -73,8 +73,8 @@ module CyberSource
73
73
  :'payment_payload_type' => :'String',
74
74
  :'acceptance_relationships' => :'Array<String>',
75
75
  :'protocol_interactions' => :'Array<Iccv1merchantsProtocolInteractions>',
76
- :'web_integrations' => :'Iccv1merchantsWebIntegrations',
77
- :'api_integrations' => :'Iccv1merchantsApiIntegrations'
76
+ :'web_integrations' => :'MerchantRegistrationResponse201WebIntegrations',
77
+ :'api_integrations' => :'MerchantRegistrationResponse201ApiIntegrations'
78
78
  }
79
79
  end
80
80
 
@@ -60,7 +60,7 @@ module CyberSource
60
60
  :'reversal_information' => :'Ptsv2paymentsidreversalsReversalInformation',
61
61
  :'processing_information' => :'Ptsv2paymentsidreversalsProcessingInformation',
62
62
  :'order_information' => :'Ptsv2paymentsidreversalsOrderInformation',
63
- :'point_of_sale_information' => :'Ptsv2paymentsidreversalsPointOfSaleInformation',
63
+ :'point_of_sale_information' => :'Ptsv2paymentsPointOfSaleInformation',
64
64
  :'device_information' => :'Ptsv2paymentsidreversalsDeviceInformation',
65
65
  :'processor_information' => :'Ptsv2reversalsProcessorInformation'
66
66
  }
@@ -21,13 +21,16 @@ module CyberSource
21
21
 
22
22
  attr_accessor :processing_information
23
23
 
24
+ attr_accessor :point_of_sale_information
25
+
24
26
  # Attribute mapping from ruby-style variable name to JSON key.
25
27
  def self.attribute_map
26
28
  {
27
29
  :'client_reference_information' => :'clientReferenceInformation',
28
30
  :'payment_information' => :'paymentInformation',
29
31
  :'order_information' => :'orderInformation',
30
- :'processing_information' => :'processingInformation'
32
+ :'processing_information' => :'processingInformation',
33
+ :'point_of_sale_information' => :'pointOfSaleInformation'
31
34
  }
32
35
  end
33
36
 
@@ -37,7 +40,8 @@ module CyberSource
37
40
  :'client_reference_information' => :'client_reference_information',
38
41
  :'payment_information' => :'payment_information',
39
42
  :'order_information' => :'order_information',
40
- :'processing_information' => :'processing_information'
43
+ :'processing_information' => :'processing_information',
44
+ :'point_of_sale_information' => :'point_of_sale_information'
41
45
  }
42
46
  end
43
47
 
@@ -47,7 +51,8 @@ module CyberSource
47
51
  :'client_reference_information' => :'Ptsv2paymentsClientReferenceInformation',
48
52
  :'payment_information' => :'Ptsv2paymentsidvoidsPaymentInformation',
49
53
  :'order_information' => :'Ptsv2paymentsidvoidsOrderInformation',
50
- :'processing_information' => :'Ptsv2voidsProcessingInformation'
54
+ :'processing_information' => :'Ptsv2voidsProcessingInformation',
55
+ :'point_of_sale_information' => :'Ptsv2paymentsPointOfSaleInformation'
51
56
  }
52
57
  end
53
58
 
@@ -74,6 +79,10 @@ module CyberSource
74
79
  if attributes.has_key?(:'processingInformation')
75
80
  self.processing_information = attributes[:'processingInformation']
76
81
  end
82
+
83
+ if attributes.has_key?(:'pointOfSaleInformation')
84
+ self.point_of_sale_information = attributes[:'pointOfSaleInformation']
85
+ end
77
86
  end
78
87
 
79
88
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -97,7 +106,8 @@ module CyberSource
97
106
  client_reference_information == o.client_reference_information &&
98
107
  payment_information == o.payment_information &&
99
108
  order_information == o.order_information &&
100
- processing_information == o.processing_information
109
+ processing_information == o.processing_information &&
110
+ point_of_sale_information == o.point_of_sale_information
101
111
  end
102
112
 
103
113
  # @see the `==` method
@@ -109,7 +119,7 @@ module CyberSource
109
119
  # Calculates hash code according to all attributes.
110
120
  # @return [Fixnum] Hash code
111
121
  def hash
112
- [client_reference_information, payment_information, order_information, processing_information].hash
122
+ [client_reference_information, payment_information, order_information, processing_information, point_of_sale_information].hash
113
123
  end
114
124
 
115
125
  # Builds the object from hash
@@ -53,6 +53,8 @@ module CyberSource
53
53
 
54
54
  attr_accessor :batch_upload
55
55
 
56
+ attr_accessor :payment_events
57
+
56
58
  attr_accessor :transact_guard
57
59
 
58
60
  attr_accessor :microform
@@ -80,6 +82,7 @@ module CyberSource
80
82
  :'receivables_manager' => :'receivablesManager',
81
83
  :'service_fee' => :'serviceFee',
82
84
  :'batch_upload' => :'batchUpload',
85
+ :'payment_events' => :'paymentEvents',
83
86
  :'transact_guard' => :'transactGuard',
84
87
  :'microform' => :'microform'
85
88
  }
@@ -108,6 +111,7 @@ module CyberSource
108
111
  :'receivables_manager' => :'receivables_manager',
109
112
  :'service_fee' => :'service_fee',
110
113
  :'batch_upload' => :'batch_upload',
114
+ :'payment_events' => :'payment_events',
111
115
  :'transact_guard' => :'transact_guard',
112
116
  :'microform' => :'microform'
113
117
  }
@@ -136,6 +140,7 @@ module CyberSource
136
140
  :'receivables_manager' => :'PaymentsConfigurationSetupDigitalPayments',
137
141
  :'service_fee' => :'PaymentsConfigurationSetupCardProcessing',
138
142
  :'batch_upload' => :'PaymentsConfigurationSetupDigitalPayments',
143
+ :'payment_events' => :'PaymentsConfigurationSetupDigitalPayments',
139
144
  :'transact_guard' => :'PaymentsConfigurationSetupDigitalPayments',
140
145
  :'microform' => :'PaymentsConfigurationSetupCardProcessing'
141
146
  }
@@ -229,6 +234,10 @@ module CyberSource
229
234
  self.batch_upload = attributes[:'batchUpload']
230
235
  end
231
236
 
237
+ if attributes.has_key?(:'paymentEvents')
238
+ self.payment_events = attributes[:'paymentEvents']
239
+ end
240
+
232
241
  if attributes.has_key?(:'transactGuard')
233
242
  self.transact_guard = attributes[:'transactGuard']
234
243
  end
@@ -276,6 +285,7 @@ module CyberSource
276
285
  receivables_manager == o.receivables_manager &&
277
286
  service_fee == o.service_fee &&
278
287
  batch_upload == o.batch_upload &&
288
+ payment_events == o.payment_events &&
279
289
  transact_guard == o.transact_guard &&
280
290
  microform == o.microform
281
291
  end
@@ -289,7 +299,7 @@ module CyberSource
289
299
  # Calculates hash code according to all attributes.
290
300
  # @return [Fixnum] Hash code
291
301
  def hash
292
- [card_processing, alternative_payment_methods, card_present_connect, e_check, payer_authentication, digital_payments, secure_acceptance, virtual_terminal, currency_conversion, tax, customer_invoicing, recurring_billing, cybs_ready_terminal, payment_orchestration, payouts, pay_by_link, unified_checkout, receivables_manager, service_fee, batch_upload, transact_guard, microform].hash
302
+ [card_processing, alternative_payment_methods, card_present_connect, e_check, payer_authentication, digital_payments, secure_acceptance, virtual_terminal, currency_conversion, tax, customer_invoicing, recurring_billing, cybs_ready_terminal, payment_orchestration, payouts, pay_by_link, unified_checkout, receivables_manager, service_fee, batch_upload, payment_events, transact_guard, microform].hash
293
303
  end
294
304
 
295
305
  # Builds the object from hash
@@ -55,6 +55,8 @@ module CyberSource
55
55
 
56
56
  attr_accessor :batch_upload
57
57
 
58
+ attr_accessor :payment_events
59
+
58
60
  attr_accessor :transact_guard
59
61
 
60
62
  attr_accessor :microform
@@ -83,6 +85,7 @@ module CyberSource
83
85
  :'receivables_manager' => :'receivablesManager',
84
86
  :'service_fee' => :'serviceFee',
85
87
  :'batch_upload' => :'batchUpload',
88
+ :'payment_events' => :'paymentEvents',
86
89
  :'transact_guard' => :'transactGuard',
87
90
  :'microform' => :'microform'
88
91
  }
@@ -112,6 +115,7 @@ module CyberSource
112
115
  :'receivables_manager' => :'receivables_manager',
113
116
  :'service_fee' => :'service_fee',
114
117
  :'batch_upload' => :'batch_upload',
118
+ :'payment_events' => :'payment_events',
115
119
  :'transact_guard' => :'transact_guard',
116
120
  :'microform' => :'microform'
117
121
  }
@@ -141,6 +145,7 @@ module CyberSource
141
145
  :'receivables_manager' => :'PaymentsProductsTax',
142
146
  :'service_fee' => :'PaymentsProductsServiceFee',
143
147
  :'batch_upload' => :'PaymentsProductsTax',
148
+ :'payment_events' => :'PaymentsProductsTax',
144
149
  :'transact_guard' => :'PaymentsProductsTax',
145
150
  :'microform' => :'PaymentsProductsMicroform'
146
151
  }
@@ -238,6 +243,10 @@ module CyberSource
238
243
  self.batch_upload = attributes[:'batchUpload']
239
244
  end
240
245
 
246
+ if attributes.has_key?(:'paymentEvents')
247
+ self.payment_events = attributes[:'paymentEvents']
248
+ end
249
+
241
250
  if attributes.has_key?(:'transactGuard')
242
251
  self.transact_guard = attributes[:'transactGuard']
243
252
  end
@@ -286,6 +295,7 @@ module CyberSource
286
295
  receivables_manager == o.receivables_manager &&
287
296
  service_fee == o.service_fee &&
288
297
  batch_upload == o.batch_upload &&
298
+ payment_events == o.payment_events &&
289
299
  transact_guard == o.transact_guard &&
290
300
  microform == o.microform
291
301
  end
@@ -299,7 +309,7 @@ module CyberSource
299
309
  # Calculates hash code according to all attributes.
300
310
  # @return [Fixnum] Hash code
301
311
  def hash
302
- [card_processing, alternative_payment_methods, card_present_connect, cybs_ready_terminal, e_check, payer_authentication, digital_payments, secure_acceptance, virtual_terminal, currency_conversion, tax, customer_invoicing, recurring_billing, payment_orchestration, payouts, differential_fee, pay_by_link, unified_checkout, receivables_manager, service_fee, batch_upload, transact_guard, microform].hash
312
+ [card_processing, alternative_payment_methods, card_present_connect, cybs_ready_terminal, e_check, payer_authentication, digital_payments, secure_acceptance, virtual_terminal, currency_conversion, tax, customer_invoicing, recurring_billing, payment_orchestration, payouts, differential_fee, pay_by_link, unified_checkout, receivables_manager, service_fee, batch_upload, payment_events, transact_guard, microform].hash
303
313
  end
304
314
 
305
315
  # Builds the object from hash
@@ -24,6 +24,9 @@ module CyberSource
24
24
  # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
25
25
  attr_accessor :submit_time_utc
26
26
 
27
+ # Time when the authorization was created, in UTC.
28
+ attr_accessor :create_time_utc
29
+
27
30
  # The status of the submitted transaction. Possible values: - AUTHORIZED - PARTIAL_AUTHORIZED - AUTHORIZED_PENDING_REVIEW - AUTHORIZED_RISK_DECLINED - PENDING_AUTHENTICATION - PENDING_REVIEW - DECLINED - INVALID_REQUEST
28
31
  attr_accessor :status
29
32
 
@@ -75,6 +78,7 @@ module CyberSource
75
78
  :'id' => :'id',
76
79
  :'message' => :'message',
77
80
  :'submit_time_utc' => :'submitTimeUtc',
81
+ :'create_time_utc' => :'createTimeUtc',
78
82
  :'status' => :'status',
79
83
  :'reconciliation_id' => :'reconciliationId',
80
84
  :'error_information' => :'errorInformation',
@@ -106,6 +110,7 @@ module CyberSource
106
110
  :'id' => :'id',
107
111
  :'message' => :'message',
108
112
  :'submit_time_utc' => :'submit_time_utc',
113
+ :'create_time_utc' => :'create_time_utc',
109
114
  :'status' => :'status',
110
115
  :'reconciliation_id' => :'reconciliation_id',
111
116
  :'error_information' => :'error_information',
@@ -137,6 +142,7 @@ module CyberSource
137
142
  :'id' => :'String',
138
143
  :'message' => :'String',
139
144
  :'submit_time_utc' => :'String',
145
+ :'create_time_utc' => :'String',
140
146
  :'status' => :'String',
141
147
  :'reconciliation_id' => :'String',
142
148
  :'error_information' => :'PtsV2PaymentsPost201ResponseErrorInformation',
@@ -185,6 +191,10 @@ module CyberSource
185
191
  self.submit_time_utc = attributes[:'submitTimeUtc']
186
192
  end
187
193
 
194
+ if attributes.has_key?(:'createTimeUtc')
195
+ self.create_time_utc = attributes[:'createTimeUtc']
196
+ end
197
+
188
198
  if attributes.has_key?(:'status')
189
199
  self.status = attributes[:'status']
190
200
  end
@@ -304,6 +314,7 @@ module CyberSource
304
314
  id == o.id &&
305
315
  message == o.message &&
306
316
  submit_time_utc == o.submit_time_utc &&
317
+ create_time_utc == o.create_time_utc &&
307
318
  status == o.status &&
308
319
  reconciliation_id == o.reconciliation_id &&
309
320
  error_information == o.error_information &&
@@ -336,7 +347,7 @@ module CyberSource
336
347
  # Calculates hash code according to all attributes.
337
348
  # @return [Fixnum] Hash code
338
349
  def hash
339
- [_links, id, message, submit_time_utc, status, reconciliation_id, error_information, client_reference_information, processing_information, processor_information, issuer_information, payment_account_information, payment_information, payment_insights_information, order_information, point_of_sale_information, installment_information, token_information, buyer_information, risk_information, consumer_authentication_information, merchant_information, clearing_information, embedded_actions, watchlist_screening_information].hash
350
+ [_links, id, message, submit_time_utc, create_time_utc, status, reconciliation_id, error_information, client_reference_information, processing_information, processor_information, issuer_information, payment_account_information, payment_information, payment_insights_information, order_information, point_of_sale_information, installment_information, token_information, buyer_information, risk_information, consumer_authentication_information, merchant_information, clearing_information, embedded_actions, watchlist_screening_information].hash
340
351
  end
341
352
 
342
353
  # Builds the object from hash
@@ -22,6 +22,9 @@ module CyberSource
22
22
  # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
23
23
  attr_accessor :submit_time_utc
24
24
 
25
+ # The date and time when the request was last updated. **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.).
26
+ attr_accessor :update_time_utc
27
+
25
28
  attr_accessor :processor_information
26
29
 
27
30
  # Reference number for the transaction. Depending on how your Cybersource account is configured, this value could either be provided in the API request or generated by CyberSource. The actual value used in the request to the processor is provided back to you by Cybersource in the response.
@@ -43,6 +46,7 @@ module CyberSource
43
46
  :'id' => :'id',
44
47
  :'status' => :'status',
45
48
  :'submit_time_utc' => :'submitTimeUtc',
49
+ :'update_time_utc' => :'updateTimeUtc',
46
50
  :'processor_information' => :'processorInformation',
47
51
  :'reconciliation_id' => :'reconciliationId',
48
52
  :'payment_information' => :'paymentInformation',
@@ -59,6 +63,7 @@ module CyberSource
59
63
  :'id' => :'id',
60
64
  :'status' => :'status',
61
65
  :'submit_time_utc' => :'submit_time_utc',
66
+ :'update_time_utc' => :'update_time_utc',
62
67
  :'processor_information' => :'processor_information',
63
68
  :'reconciliation_id' => :'reconciliation_id',
64
69
  :'payment_information' => :'payment_information',
@@ -75,6 +80,7 @@ module CyberSource
75
80
  :'id' => :'String',
76
81
  :'status' => :'String',
77
82
  :'submit_time_utc' => :'String',
83
+ :'update_time_utc' => :'String',
78
84
  :'processor_information' => :'PtsV2PaymentsPost201Response1ProcessorInformation',
79
85
  :'reconciliation_id' => :'String',
80
86
  :'payment_information' => :'PtsV2PaymentsPost201Response1PaymentInformation',
@@ -105,6 +111,10 @@ module CyberSource
105
111
  self.submit_time_utc = attributes[:'submitTimeUtc']
106
112
  end
107
113
 
114
+ if attributes.has_key?(:'updateTimeUtc')
115
+ self.update_time_utc = attributes[:'updateTimeUtc']
116
+ end
117
+
108
118
  if attributes.has_key?(:'processorInformation')
109
119
  self.processor_information = attributes[:'processorInformation']
110
120
  end
@@ -167,6 +177,7 @@ module CyberSource
167
177
  id == o.id &&
168
178
  status == o.status &&
169
179
  submit_time_utc == o.submit_time_utc &&
180
+ update_time_utc == o.update_time_utc &&
170
181
  processor_information == o.processor_information &&
171
182
  reconciliation_id == o.reconciliation_id &&
172
183
  payment_information == o.payment_information &&
@@ -185,7 +196,7 @@ module CyberSource
185
196
  # Calculates hash code according to all attributes.
186
197
  # @return [Fixnum] Hash code
187
198
  def hash
188
- [id, status, submit_time_utc, processor_information, reconciliation_id, payment_information, order_information, client_reference_information, issuer_information, error_information].hash
199
+ [id, status, submit_time_utc, update_time_utc, processor_information, reconciliation_id, payment_information, order_information, client_reference_information, issuer_information, error_information].hash
189
200
  end
190
201
 
191
202
  # Builds the object from hash