cybersource_rest_client 0.0.55 → 0.0.57

Sign up to get free protection for your applications and to get access to all the features.
Files changed (478) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +14 -0
  3. data/lib/cybersource_rest_client/api/batches_api.rb +19 -37
  4. data/lib/cybersource_rest_client/api/billing_agreements_api.rb +12 -0
  5. data/lib/cybersource_rest_client/api/capture_api.rb +4 -0
  6. data/lib/cybersource_rest_client/api/chargeback_details_api.rb +2 -8
  7. data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +2 -8
  8. data/lib/cybersource_rest_client/api/conversion_details_api.rb +2 -8
  9. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +253 -0
  10. data/lib/cybersource_rest_client/api/credit_api.rb +4 -0
  11. data/lib/cybersource_rest_client/api/customer_api.rb +12 -64
  12. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +14 -124
  13. data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +14 -124
  14. data/lib/cybersource_rest_client/api/decision_manager_api.rb +20 -0
  15. data/lib/cybersource_rest_client/api/download_dtd_api.rb +2 -0
  16. data/lib/cybersource_rest_client/api/download_xsd_api.rb +2 -0
  17. data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +6 -0
  18. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +18 -108
  19. data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +2 -8
  20. data/lib/cybersource_rest_client/api/invoice_settings_api.rb +10 -4
  21. data/lib/cybersource_rest_client/api/invoices_api.rb +28 -12
  22. data/lib/cybersource_rest_client/api/keymanagement_api.rb +2 -0
  23. data/lib/cybersource_rest_client/api/keymanagementpassword_api.rb +4 -0
  24. data/lib/cybersource_rest_client/api/keymanagementpgp_api.rb +4 -0
  25. data/lib/cybersource_rest_client/api/keymanagementscmp_api.rb +4 -0
  26. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +491 -0
  27. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +169 -0
  28. data/lib/cybersource_rest_client/api/microform_integration_api.rb +4 -0
  29. data/lib/cybersource_rest_client/api/net_fundings_api.rb +2 -8
  30. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +2 -0
  31. data/lib/cybersource_rest_client/api/payer_authentication_api.rb +12 -0
  32. data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +2 -16
  33. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +12 -64
  34. data/lib/cybersource_rest_client/api/payments_api.rb +12 -0
  35. data/lib/cybersource_rest_client/api/payouts_api.rb +4 -0
  36. data/lib/cybersource_rest_client/api/plans_api.rb +20 -0
  37. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +2 -16
  38. data/lib/cybersource_rest_client/api/push_funds_api.rb +4 -0
  39. data/lib/cybersource_rest_client/api/refund_api.rb +8 -0
  40. data/lib/cybersource_rest_client/api/report_definitions_api.rb +4 -16
  41. data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -8
  42. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +16 -58
  43. data/lib/cybersource_rest_client/api/reports_api.rb +10 -26
  44. data/lib/cybersource_rest_client/api/retrieval_details_api.rb +2 -8
  45. data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +2 -8
  46. data/lib/cybersource_rest_client/api/reversal_api.rb +8 -0
  47. data/lib/cybersource_rest_client/api/search_transactions_api.rb +6 -0
  48. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -16
  49. data/lib/cybersource_rest_client/api/subscriptions_api.rb +20 -0
  50. data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +14 -0
  51. data/lib/cybersource_rest_client/api/taxes_api.rb +8 -0
  52. data/lib/cybersource_rest_client/api/token_api.rb +2 -16
  53. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +6 -0
  54. data/lib/cybersource_rest_client/api/transaction_details_api.rb +2 -0
  55. data/lib/cybersource_rest_client/api/transient_token_data_api.rb +2 -0
  56. data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +4 -0
  57. data/lib/cybersource_rest_client/api/user_management_api.rb +2 -0
  58. data/lib/cybersource_rest_client/api/user_management_search_api.rb +4 -0
  59. data/lib/cybersource_rest_client/api/verification_api.rb +8 -0
  60. data/lib/cybersource_rest_client/api/void_api.rb +20 -0
  61. data/lib/cybersource_rest_client/models/boardingv1registrations_document_information.rb +192 -0
  62. data/lib/cybersource_rest_client/models/boardingv1registrations_document_information_signed_documents.rb +196 -0
  63. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information.rb +205 -0
  64. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_oauth2.rb +221 -0
  65. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +225 -0
  66. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_information.rb +197 -0
  67. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information.rb +356 -0
  68. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +484 -0
  69. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_address.rb +360 -0
  70. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_business_contact.rb +341 -0
  71. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc.rb +382 -0
  72. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account.rb +331 -0
  73. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +526 -0
  74. data/lib/cybersource_rest_client/models/boardingv1registrations_product_information.rb +190 -0
  75. data/lib/cybersource_rest_client/models/boardingv1registrations_product_information_selected_products.rb +220 -0
  76. data/lib/cybersource_rest_client/models/boardingv1registrations_registration_information.rb +330 -0
  77. data/lib/cybersource_rest_client/models/capture_payment_request.rb +11 -1
  78. data/lib/cybersource_rest_client/models/commerce_solutions_products.rb +210 -0
  79. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater.rb +200 -0
  80. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information.rb +200 -0
  81. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations.rb +242 -0
  82. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_amex.rb +221 -0
  83. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_master_card.rb +222 -0
  84. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_visa.rb +222 -0
  85. data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup.rb +200 -0
  86. data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup_configuration_information.rb +190 -0
  87. data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup_configuration_information_configurations.rb +202 -0
  88. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management.rb +200 -0
  89. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information.rb +200 -0
  90. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information_configurations.rb +191 -0
  91. data/lib/cybersource_rest_client/models/create_credit_request.rb +11 -1
  92. data/lib/cybersource_rest_client/models/create_payment_request.rb +11 -1
  93. data/lib/cybersource_rest_client/models/create_search_request.rb +1 -1
  94. data/lib/cybersource_rest_client/models/create_webhook_request.rb +290 -0
  95. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_bill_to.rb +2 -2
  96. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +54 -52
  97. data/lib/cybersource_rest_client/models/inline_response_200_2_integration_information.rb +205 -0
  98. data/lib/cybersource_rest_client/models/inline_response_200_2_integration_information_tenant_configurations.rb +297 -0
  99. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +26 -103
  100. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +126 -83
  101. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +252 -0
  102. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded.rb → inline_response_200_5__embedded.rb} +2 -2
  103. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded__links.rb → inline_response_200_5__embedded__links.rb} +2 -2
  104. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded__links_reports.rb → inline_response_200_5__embedded__links_reports.rb} +1 -1
  105. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded_batches.rb → inline_response_200_5__embedded_batches.rb} +3 -3
  106. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded_totals.rb → inline_response_200_5__embedded_totals.rb} +1 -1
  107. data/lib/cybersource_rest_client/models/{inline_response_200_2__links.rb → inline_response_200_5__links.rb} +1 -1
  108. data/lib/cybersource_rest_client/models/inline_response_200_6.rb +291 -0
  109. data/lib/cybersource_rest_client/models/{inline_response_200_3__links.rb → inline_response_200_6__links.rb} +2 -2
  110. data/lib/cybersource_rest_client/models/{inline_response_200_3__links_report.rb → inline_response_200_6__links_report.rb} +1 -1
  111. data/lib/cybersource_rest_client/models/{inline_response_200_3_billing.rb → inline_response_200_6_billing.rb} +1 -1
  112. data/lib/cybersource_rest_client/models/inline_response_200_7.rb +293 -0
  113. data/lib/cybersource_rest_client/models/{inline_response_200_4_records.rb → inline_response_200_7_records.rb} +3 -3
  114. data/lib/cybersource_rest_client/models/{inline_response_200_4_response_record.rb → inline_response_200_7_response_record.rb} +2 -2
  115. data/lib/cybersource_rest_client/models/{inline_response_200_4_response_record_additional_updates.rb → inline_response_200_7_response_record_additional_updates.rb} +1 -1
  116. data/lib/cybersource_rest_client/models/{inline_response_200_4_source_record.rb → inline_response_200_7_source_record.rb} +1 -1
  117. data/lib/cybersource_rest_client/models/inline_response_201_1.rb +316 -0
  118. data/lib/cybersource_rest_client/models/inline_response_201_1_integration_information.rb +193 -0
  119. data/lib/cybersource_rest_client/models/inline_response_201_1_integration_information_tenant_configurations.rb +287 -0
  120. data/lib/cybersource_rest_client/models/inline_response_201_1_organization_information.rb +218 -0
  121. data/lib/cybersource_rest_client/models/inline_response_201_1_product_information_setups.rb +215 -0
  122. data/lib/cybersource_rest_client/models/inline_response_201_1_registration_information.rb +257 -0
  123. data/lib/cybersource_rest_client/models/inline_response_201_1_setups.rb +220 -0
  124. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_commerce_solutions.rb +210 -0
  125. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments.rb +340 -0
  126. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing.rb +200 -0
  127. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing_configuration_status.rb +300 -0
  128. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing_subscription_status.rb +279 -0
  129. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_digital_payments.rb +190 -0
  130. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_risk.rb +200 -0
  131. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_value_added_services.rb +200 -0
  132. data/lib/cybersource_rest_client/models/inline_response_201_2.rb +223 -0
  133. data/lib/cybersource_rest_client/models/inline_response_201_2_key_information.rb +301 -0
  134. data/lib/cybersource_rest_client/models/inline_response_201_2_key_information_error_information.rb +203 -0
  135. data/lib/cybersource_rest_client/models/inline_response_201_2_key_information_error_information_details.rb +202 -0
  136. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +348 -0
  137. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +223 -0
  138. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +37 -43
  139. data/lib/cybersource_rest_client/models/inline_response_400_7_details.rb +17 -15
  140. data/lib/cybersource_rest_client/models/inline_response_400_8.rb +276 -0
  141. data/lib/cybersource_rest_client/models/inline_response_400_8_details.rb +200 -0
  142. data/lib/cybersource_rest_client/models/inline_response_404_1.rb +270 -0
  143. data/lib/cybersource_rest_client/models/inline_response_404_2.rb +212 -0
  144. data/lib/cybersource_rest_client/models/inline_response_404_2_details.rb +200 -0
  145. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +270 -0
  146. data/lib/cybersource_rest_client/models/inline_response_500_3.rb +258 -0
  147. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +1 -1
  148. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +1 -1
  149. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb +1 -1
  150. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response_key_information.rb +1 -1
  151. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response_key_information.rb +1 -1
  152. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_key_information.rb +1 -1
  153. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +7 -1
  154. data/lib/cybersource_rest_client/models/kmsegressv2keysasym_client_reference_information.rb +198 -0
  155. data/lib/cybersource_rest_client/models/kmsegressv2keysasym_key_information.rb +280 -0
  156. data/lib/cybersource_rest_client/models/kmsegressv2keyssym_client_reference_information.rb +198 -0
  157. data/lib/cybersource_rest_client/models/kmsegressv2keyssym_key_information.rb +280 -0
  158. data/lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb +1 -1
  159. data/lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb +1 -1
  160. data/lib/cybersource_rest_client/models/kmsv2keyssymdeletes_key_information.rb +1 -1
  161. data/lib/cybersource_rest_client/models/kmsv2keyssymverifi_key_information.rb +1 -1
  162. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1productsorganization_id_event_types.rb +234 -0
  163. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_notification_scope.rb +206 -0
  164. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_products.rb +203 -0
  165. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_retry_policy.rb +271 -0
  166. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy.rb +202 -0
  167. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1.rb +213 -0
  168. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config.rb +224 -0
  169. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config_additional_config.rb +221 -0
  170. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_config.rb +214 -0
  171. data/lib/cybersource_rest_client/models/nrtfv1webhookswebhook_idreplays_by_delivery_status.rb +244 -0
  172. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present.rb +236 -0
  173. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_installment.rb +202 -0
  174. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_payouts.rb +281 -0
  175. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_processors.rb +245 -0
  176. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_present_processors.rb +259 -0
  177. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_common_merchant_descriptor_info.rb +269 -0
  178. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_features_card_not_present_payouts_currencies.rb +258 -0
  179. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service.rb +203 -0
  180. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_internal_only.rb +193 -0
  181. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_processors.rb +262 -0
  182. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_j_cbj_secure.rb +221 -0
  183. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified.rb +204 -0
  184. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified_currencies.rb +244 -0
  185. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_customer_notifications.rb +258 -0
  186. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_merchant_notifications.rb +235 -0
  187. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types.rb +220 -0
  188. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types_discover.rb +257 -0
  189. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info.rb +210 -0
  190. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info_basic_info.rb +318 -0
  191. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_merchant_defined_data_fields.rb +430 -0
  192. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_payment_info.rb +338 -0
  193. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info.rb +210 -0
  194. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_email_receipt.rb +190 -0
  195. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_header.rb +190 -0
  196. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_order_info.rb +200 -0
  197. data/lib/cybersource_rest_client/models/payments_products.rb +350 -0
  198. data/lib/cybersource_rest_client/models/payments_products_card_present_connect.rb +200 -0
  199. data/lib/cybersource_rest_client/models/payments_products_card_present_connect_configuration_information.rb +200 -0
  200. data/lib/cybersource_rest_client/models/payments_products_card_present_connect_configuration_information_configurations.rb +191 -0
  201. data/lib/cybersource_rest_client/models/payments_products_card_present_connect_subscription_information.rb +237 -0
  202. data/lib/cybersource_rest_client/models/payments_products_card_processing.rb +200 -0
  203. data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information.rb +200 -0
  204. data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations.rb +200 -0
  205. data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common.rb +446 -0
  206. data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_acquirer.rb +236 -0
  207. data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_currencies.rb +258 -0
  208. data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_currencies_1.rb +225 -0
  209. data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_payment_types.rb +203 -0
  210. data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb +721 -0
  211. data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_features.rb +200 -0
  212. data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_features_card_present.rb +204 -0
  213. data/lib/cybersource_rest_client/models/payments_products_card_processing_subscription_information.rb +250 -0
  214. data/lib/cybersource_rest_client/models/payments_products_card_processing_subscription_information_features.rb +190 -0
  215. data/lib/cybersource_rest_client/models/payments_products_currency_conversion.rb +200 -0
  216. data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information.rb +200 -0
  217. data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information_configurations.rb +192 -0
  218. data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information_configurations_processors.rb +201 -0
  219. data/lib/cybersource_rest_client/models/payments_products_cybs_ready_terminal.rb +190 -0
  220. data/lib/cybersource_rest_client/models/payments_products_differential_fee.rb +190 -0
  221. data/lib/cybersource_rest_client/models/payments_products_differential_fee_subscription_information.rb +247 -0
  222. data/lib/cybersource_rest_client/models/payments_products_differential_fee_subscription_information_features.rb +190 -0
  223. data/lib/cybersource_rest_client/models/payments_products_digital_payments.rb +190 -0
  224. data/lib/cybersource_rest_client/models/payments_products_digital_payments_subscription_information.rb +250 -0
  225. data/lib/cybersource_rest_client/models/payments_products_e_check.rb +200 -0
  226. data/lib/cybersource_rest_client/models/payments_products_e_check_config_common_internal_only_processors.rb +242 -0
  227. data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information.rb +200 -0
  228. data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations.rb +210 -0
  229. data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_common.rb +296 -0
  230. data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_common_internal_only.rb +206 -0
  231. data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_common_processors.rb +261 -0
  232. data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_features.rb +190 -0
  233. data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_underwriting.rb +334 -0
  234. data/lib/cybersource_rest_client/models/payments_products_e_check_subscription_information.rb +250 -0
  235. data/lib/cybersource_rest_client/models/payments_products_payer_authentication.rb +200 -0
  236. data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information.rb +200 -0
  237. data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information_configurations.rb +190 -0
  238. data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information_configurations_card_types.rb +260 -0
  239. data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information_configurations_card_types_cb.rb +221 -0
  240. data/lib/cybersource_rest_client/models/payments_products_payer_authentication_subscription_information.rb +237 -0
  241. data/lib/cybersource_rest_client/models/payments_products_payouts.rb +200 -0
  242. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information.rb +190 -0
  243. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations.rb +204 -0
  244. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_processor_account.rb +237 -0
  245. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pullfunds.rb +311 -0
  246. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pushfunds.rb +336 -0
  247. data/lib/cybersource_rest_client/models/payments_products_secure_acceptance.rb +200 -0
  248. data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information.rb +200 -0
  249. data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations.rb +251 -0
  250. data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_checkout.rb +213 -0
  251. data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_contact_information.rb +221 -0
  252. data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_notifications.rb +200 -0
  253. data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_payment_methods.rb +214 -0
  254. data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_payment_types.rb +191 -0
  255. data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_service.rb +257 -0
  256. data/lib/cybersource_rest_client/models/payments_products_tax.rb +190 -0
  257. data/lib/cybersource_rest_client/models/payments_products_virtual_terminal.rb +200 -0
  258. data/lib/cybersource_rest_client/models/payments_products_virtual_terminal_configuration_information.rb +200 -0
  259. data/lib/cybersource_rest_client/models/payments_products_virtual_terminal_configuration_information_configurations.rb +200 -0
  260. data/lib/cybersource_rest_client/models/payments_products_virtual_terminal_configuration_information_configurations_card_not_present.rb +200 -0
  261. data/lib/cybersource_rest_client/models/post_registration_body.rb +230 -0
  262. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
  263. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +1 -1
  264. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +4 -4
  265. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_ship_to.rb +6 -6
  266. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type_method.rb +1 -1
  267. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +3 -3
  268. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +4 -4
  269. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +3 -3
  270. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +22 -5
  271. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +1 -1
  272. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
  273. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -1
  274. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +1 -1
  275. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +3 -3
  276. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +18 -18
  277. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_info_codes.rb +3 -3
  278. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +1 -1
  279. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information.rb +1 -1
  280. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
  281. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +1 -1
  282. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +3 -3
  283. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +1 -1
  284. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
  285. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +8 -8
  286. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +1 -1
  287. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +4 -4
  288. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +1 -1
  289. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +1 -1
  290. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +1 -1
  291. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +1 -1
  292. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +4 -4
  293. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +1 -1
  294. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +1 -1
  295. data/lib/cybersource_rest_client/models/ptsv2billingagreements_device_information.rb +2 -2
  296. data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +1 -1
  297. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +2 -2
  298. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +3 -3
  299. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +5 -5
  300. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_card.rb +1 -1
  301. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +2 -2
  302. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +1 -1
  303. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +3 -3
  304. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +1 -1
  305. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +9 -9
  306. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +5 -5
  307. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +1 -1
  308. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +1 -1
  309. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +19 -2
  310. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +5 -5
  311. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +3 -3
  312. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_secure_information.rb +249 -0
  313. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +4 -4
  314. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +5 -5
  315. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +3 -3
  316. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_location.rb +4 -4
  317. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +2 -2
  318. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +9 -9
  319. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -1
  320. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +1 -1
  321. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +1 -1
  322. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +1 -1
  323. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +7 -7
  324. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +2 -2
  325. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +1 -1
  326. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +2 -2
  327. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
  328. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb +1 -1
  329. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +3 -3
  330. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +4 -4
  331. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +2 -2
  332. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +28 -11
  333. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +1 -1
  334. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
  335. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +2 -2
  336. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +5 -5
  337. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +1 -1
  338. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +15 -5
  339. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +4 -4
  340. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +1 -1
  341. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +1 -1
  342. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +1 -1
  343. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_vehicle_data.rb +214 -0
  344. data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information.rb +1 -1
  345. data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information_weights.rb +2 -2
  346. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +1 -1
  347. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +8 -8
  348. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +3 -3
  349. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +1 -1
  350. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +3 -3
  351. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +1 -1
  352. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +1 -1
  353. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +6 -6
  354. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +1 -1
  355. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +3 -3
  356. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +1 -1
  357. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +1 -1
  358. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +1 -1
  359. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +1 -1
  360. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +2 -2
  361. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +1 -1
  362. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +1 -1
  363. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +27 -10
  364. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +4 -4
  365. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -1
  366. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
  367. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +1 -1
  368. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +5 -5
  369. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +1 -1
  370. data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_customer.rb +1 -1
  371. data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +1 -1
  372. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +1 -1
  373. data/lib/cybersource_rest_client/models/replay_webhooks_request.rb +202 -0
  374. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response.rb +1 -0
  375. data/lib/cybersource_rest_client/models/risk_products.rb +200 -0
  376. data/lib/cybersource_rest_client/models/risk_products_decision_manager.rb +200 -0
  377. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_accurint.rb +200 -0
  378. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_accurint_creds.rb +200 -0
  379. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_credilink.rb +220 -0
  380. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_credilink_creds.rb +210 -0
  381. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_ekata_creds.rb +190 -0
  382. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_emailage.rb +220 -0
  383. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_perseuss.rb +210 -0
  384. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_signifyd.rb +200 -0
  385. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_signifyd_creds.rb +220 -0
  386. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_targus.rb +210 -0
  387. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_targus_creds.rb +210 -0
  388. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information.rb +200 -0
  389. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations.rb +220 -0
  390. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_organization.rb +191 -0
  391. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_portfolio_controls.rb +200 -0
  392. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_processing_options.rb +190 -0
  393. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty.rb +190 -0
  394. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty_provider.rb +250 -0
  395. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty_provider_ekata.rb +220 -0
  396. data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials.rb +200 -0
  397. data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials_configuration_information.rb +190 -0
  398. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +4 -4
  399. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +1 -1
  400. data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +1 -1
  401. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +1 -1
  402. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +1 -1
  403. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +7 -7
  404. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -1
  405. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +2 -2
  406. data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +2 -2
  407. data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +2 -2
  408. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +4 -4
  409. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -1
  410. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +2 -2
  411. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -1
  412. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +2 -2
  413. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +2 -2
  414. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +2 -2
  415. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +6 -6
  416. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +1 -1
  417. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +1 -1
  418. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +4 -4
  419. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +2 -2
  420. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +7 -7
  421. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -1
  422. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +2 -2
  423. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb +1 -1
  424. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +3 -3
  425. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +1 -1
  426. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +1 -1
  427. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +4 -4
  428. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +6 -6
  429. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +1 -1
  430. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -1
  431. data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +2 -2
  432. data/lib/cybersource_rest_client/models/save_asym_egress_key.rb +216 -0
  433. data/lib/cybersource_rest_client/models/save_sym_egress_key.rb +216 -0
  434. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +1 -1
  435. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +1 -1
  436. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +5 -5
  437. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +1 -1
  438. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +1 -1
  439. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +2 -2
  440. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +1 -1
  441. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +3 -3
  442. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +1 -1
  443. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +1 -1
  444. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb +1 -1
  445. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +1 -1
  446. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +7 -7
  447. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +6 -6
  448. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +3 -3
  449. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +3 -3
  450. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +2 -2
  451. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +1 -1
  452. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
  453. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +2 -2
  454. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +1 -1
  455. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +2 -2
  456. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +10 -10
  457. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +1 -1
  458. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +1 -1
  459. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +4 -4
  460. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +2 -2
  461. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_bank_account.rb +1 -1
  462. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +1 -1
  463. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +1 -1
  464. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +2 -2
  465. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +1 -1
  466. data/lib/cybersource_rest_client/models/tssv2transactionsemv_tag_details_emv_details_list.rb +1 -1
  467. data/lib/cybersource_rest_client/models/update_webhook_request.rb +315 -0
  468. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to.rb +7 -7
  469. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to_company.rb +3 -3
  470. data/lib/cybersource_rest_client/models/value_added_services_products.rb +200 -0
  471. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_tax_information.rb +1 -1
  472. data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +1 -1
  473. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +2 -2
  474. data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +7 -7
  475. data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +1 -1
  476. data/lib/cybersource_rest_client/utilities/tracking/sdk_tracker.rb +71 -0
  477. data/lib/cybersource_rest_client.rb +214 -13
  478. metadata +217 -30
@@ -0,0 +1,491 @@
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.2.3
10
+
11
+ =end
12
+
13
+ require 'uri'
14
+
15
+ module CyberSource
16
+ class ManageWebhooksApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default, config)
20
+ @api_client = api_client
21
+ @api_client.set_configuration(config)
22
+ end
23
+ # Delete a Webhook Subscription
24
+ # Delete the webhook. Please note that deleting a particular webhook does not delete the history of the webhook notifications.
25
+ #
26
+ # @param webhook_id The webhook identifier.
27
+ # @param [Hash] opts the optional parameters
28
+ # @return [nil]
29
+ #
30
+ # DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
31
+ def delete_webhook_subscription(webhook_id, opts = {})
32
+ data, status_code, headers = delete_webhook_subscription_with_http_info(webhook_id, opts)
33
+ return data, status_code, headers
34
+ end
35
+
36
+ # Delete a Webhook Subscription
37
+ # Delete the webhook. Please note that deleting a particular webhook does not delete the history of the webhook notifications.
38
+ # @param webhook_id The webhook identifier.
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
41
+ def delete_webhook_subscription_with_http_info(webhook_id, opts = {})
42
+
43
+ if @api_client.config.debugging
44
+ begin
45
+ raise
46
+ @api_client.config.logger.debug 'Calling API: ManageWebhooksApi.delete_webhook_subscription ...'
47
+ rescue
48
+ puts 'Cannot write to log'
49
+ end
50
+ end
51
+ # verify the required parameter 'webhook_id' is set
52
+ if @api_client.config.client_side_validation && webhook_id.nil?
53
+ fail ArgumentError, "Missing the required parameter 'webhook_id' when calling ManageWebhooksApi.delete_webhook_subscription"
54
+ end
55
+ # resource path
56
+ local_var_path = 'notification-subscriptions/v1/webhooks/{webhookId}'.sub('{' + 'webhookId' + '}', webhook_id.to_s)
57
+
58
+ # query parameters
59
+ query_params = {}
60
+
61
+ # header parameters
62
+ header_params = {}
63
+ # HTTP header 'Accept' (if needed)
64
+ header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
65
+ # HTTP header 'Content-Type'
66
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
67
+
68
+ # form parameters
69
+ form_params = {}
70
+
71
+ # http body (model)
72
+ if 'DELETE' == 'POST'
73
+ post_body = '{}'
74
+ else
75
+ post_body = nil
76
+ end
77
+ auth_names = []
78
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
79
+ :header_params => header_params,
80
+ :query_params => query_params,
81
+ :form_params => form_params,
82
+ :body => post_body,
83
+ :auth_names => auth_names)
84
+ if @api_client.config.debugging
85
+ begin
86
+ raise
87
+ @api_client.config.logger.debug "API called: ManageWebhooksApi#delete_webhook_subscription\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ rescue
89
+ puts 'Cannot write to log'
90
+ end
91
+ end
92
+ return data, status_code, headers
93
+ end
94
+ # Get Details On a Single Webhook
95
+ # Retrieve the details of a specific webhook by supplying the webhook ID in the path.
96
+ #
97
+ # @param webhook_id The webhook Identifier
98
+ # @param [Hash] opts the optional parameters
99
+ # @return [InlineResponse2004]
100
+ #
101
+ # DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
102
+ def get_webhook_subscription_by_id(webhook_id, opts = {})
103
+ data, status_code, headers = get_webhook_subscription_by_id_with_http_info(webhook_id, opts)
104
+ return data, status_code, headers
105
+ end
106
+
107
+ # Get Details On a Single Webhook
108
+ # Retrieve the details of a specific webhook by supplying the webhook ID in the path.
109
+ # @param webhook_id The webhook Identifier
110
+ # @param [Hash] opts the optional parameters
111
+ # @return [Array<(InlineResponse2004, Fixnum, Hash)>] InlineResponse2004 data, response status code and response headers
112
+ def get_webhook_subscription_by_id_with_http_info(webhook_id, opts = {})
113
+
114
+ if @api_client.config.debugging
115
+ begin
116
+ raise
117
+ @api_client.config.logger.debug 'Calling API: ManageWebhooksApi.get_webhook_subscription_by_id ...'
118
+ rescue
119
+ puts 'Cannot write to log'
120
+ end
121
+ end
122
+ # verify the required parameter 'webhook_id' is set
123
+ if @api_client.config.client_side_validation && webhook_id.nil?
124
+ fail ArgumentError, "Missing the required parameter 'webhook_id' when calling ManageWebhooksApi.get_webhook_subscription_by_id"
125
+ end
126
+ # resource path
127
+ local_var_path = 'notification-subscriptions/v1/webhooks/{webhookId}'.sub('{' + 'webhookId' + '}', webhook_id.to_s)
128
+
129
+ # query parameters
130
+ query_params = {}
131
+
132
+ # header parameters
133
+ header_params = {}
134
+ # HTTP header 'Accept' (if needed)
135
+ header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
136
+ # HTTP header 'Content-Type'
137
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
138
+
139
+ # form parameters
140
+ form_params = {}
141
+
142
+ # http body (model)
143
+ if 'GET' == 'POST'
144
+ post_body = '{}'
145
+ else
146
+ post_body = nil
147
+ end
148
+ auth_names = []
149
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
150
+ :header_params => header_params,
151
+ :query_params => query_params,
152
+ :form_params => form_params,
153
+ :body => post_body,
154
+ :auth_names => auth_names,
155
+ :return_type => 'InlineResponse2004')
156
+ if @api_client.config.debugging
157
+ begin
158
+ raise
159
+ @api_client.config.logger.debug "API called: ManageWebhooksApi#get_webhook_subscription_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
160
+ rescue
161
+ puts 'Cannot write to log'
162
+ end
163
+ end
164
+ return data, status_code, headers
165
+ end
166
+ # Get Details On All Created Webhooks
167
+ # Retrieve a list of all previously created webhooks.
168
+ #
169
+ # @param organization_id The Organization Identifier.
170
+ # @param product_id The Product Identifier.
171
+ # @param event_type The Event Type.
172
+ # @param [Hash] opts the optional parameters
173
+ # @return [Array<InlineResponse2004>]
174
+ #
175
+ # DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
176
+ def get_webhook_subscriptions_by_org(organization_id, product_id, event_type, opts = {})
177
+ data, status_code, headers = get_webhook_subscriptions_by_org_with_http_info(organization_id, product_id, event_type, opts)
178
+ return data, status_code, headers
179
+ end
180
+
181
+ # Get Details On All Created Webhooks
182
+ # Retrieve a list of all previously created webhooks.
183
+ # @param organization_id The Organization Identifier.
184
+ # @param product_id The Product Identifier.
185
+ # @param event_type The Event Type.
186
+ # @param [Hash] opts the optional parameters
187
+ # @return [Array<(Array<InlineResponse2004>, Fixnum, Hash)>] Array<InlineResponse2004> data, response status code and response headers
188
+ def get_webhook_subscriptions_by_org_with_http_info(organization_id, product_id, event_type, opts = {})
189
+
190
+ if @api_client.config.debugging
191
+ begin
192
+ raise
193
+ @api_client.config.logger.debug 'Calling API: ManageWebhooksApi.get_webhook_subscriptions_by_org ...'
194
+ rescue
195
+ puts 'Cannot write to log'
196
+ end
197
+ end
198
+ # verify the required parameter 'organization_id' is set
199
+ if @api_client.config.client_side_validation && organization_id.nil?
200
+ fail ArgumentError, "Missing the required parameter 'organization_id' when calling ManageWebhooksApi.get_webhook_subscriptions_by_org"
201
+ end
202
+ # verify the required parameter 'product_id' is set
203
+ if @api_client.config.client_side_validation && product_id.nil?
204
+ fail ArgumentError, "Missing the required parameter 'product_id' when calling ManageWebhooksApi.get_webhook_subscriptions_by_org"
205
+ end
206
+ # verify the required parameter 'event_type' is set
207
+ if @api_client.config.client_side_validation && event_type.nil?
208
+ fail ArgumentError, "Missing the required parameter 'event_type' when calling ManageWebhooksApi.get_webhook_subscriptions_by_org"
209
+ end
210
+ # resource path
211
+ local_var_path = 'notification-subscriptions/v1/webhooks'
212
+
213
+ # query parameters
214
+ query_params = {}
215
+ query_params[:'organizationId'] = organization_id
216
+ query_params[:'productId'] = product_id
217
+ query_params[:'eventType'] = event_type
218
+
219
+ # header parameters
220
+ header_params = {}
221
+ # HTTP header 'Accept' (if needed)
222
+ header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
223
+ # HTTP header 'Content-Type'
224
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
225
+
226
+ # form parameters
227
+ form_params = {}
228
+
229
+ # http body (model)
230
+ if 'GET' == 'POST'
231
+ post_body = '{}'
232
+ else
233
+ post_body = nil
234
+ end
235
+ auth_names = []
236
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
237
+ :header_params => header_params,
238
+ :query_params => query_params,
239
+ :form_params => form_params,
240
+ :body => post_body,
241
+ :auth_names => auth_names,
242
+ :return_type => 'Array<InlineResponse2004>')
243
+ if @api_client.config.debugging
244
+ begin
245
+ raise
246
+ @api_client.config.logger.debug "API called: ManageWebhooksApi#get_webhook_subscriptions_by_org\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
247
+ rescue
248
+ puts 'Cannot write to log'
249
+ end
250
+ end
251
+ return data, status_code, headers
252
+ end
253
+ # Replay Previous Webhooks
254
+ # Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay.
255
+ #
256
+ # @param webhook_id The webhook uuid identifier.
257
+ # @param [Hash] opts the optional parameters
258
+ # @option opts [ReplayWebhooksRequest] :replay_webhooks_request The request query
259
+ # @return [nil]
260
+ #
261
+ # DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
262
+ def replay_previous_webhooks(webhook_id, opts = {})
263
+ data, status_code, headers = replay_previous_webhooks_with_http_info(webhook_id, opts)
264
+ return data, status_code, headers
265
+ end
266
+
267
+ # Replay Previous Webhooks
268
+ # Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay.
269
+ # @param webhook_id The webhook uuid identifier.
270
+ # @param [Hash] opts the optional parameters
271
+ # @option opts [ReplayWebhooksRequest] :replay_webhooks_request The request query
272
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
273
+ def replay_previous_webhooks_with_http_info(webhook_id, opts = {})
274
+
275
+ if @api_client.config.debugging
276
+ begin
277
+ raise
278
+ @api_client.config.logger.debug 'Calling API: ManageWebhooksApi.replay_previous_webhooks ...'
279
+ rescue
280
+ puts 'Cannot write to log'
281
+ end
282
+ end
283
+ # verify the required parameter 'webhook_id' is set
284
+ if @api_client.config.client_side_validation && webhook_id.nil?
285
+ fail ArgumentError, "Missing the required parameter 'webhook_id' when calling ManageWebhooksApi.replay_previous_webhooks"
286
+ end
287
+ # resource path
288
+ local_var_path = 'nrtf/v1/webhooks/{webhookId}/replays'.sub('{' + 'webhookId' + '}', webhook_id.to_s)
289
+
290
+ # query parameters
291
+ query_params = {}
292
+
293
+ # header parameters
294
+ header_params = {}
295
+ # HTTP header 'Accept' (if needed)
296
+ header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
297
+ # HTTP header 'Content-Type'
298
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
299
+
300
+ # form parameters
301
+ form_params = {}
302
+
303
+ # http body (model)
304
+ post_body = @api_client.object_to_http_body(opts[:'replay_webhooks_request'])
305
+ sdk_tracker = SdkTracker.new
306
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'ReplayWebhooksRequest', @api_client.config.host)
307
+ auth_names = []
308
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
309
+ :header_params => header_params,
310
+ :query_params => query_params,
311
+ :form_params => form_params,
312
+ :body => post_body,
313
+ :auth_names => auth_names)
314
+ if @api_client.config.debugging
315
+ begin
316
+ raise
317
+ @api_client.config.logger.debug "API called: ManageWebhooksApi#replay_previous_webhooks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
318
+ rescue
319
+ puts 'Cannot write to log'
320
+ end
321
+ end
322
+ return data, status_code, headers
323
+ end
324
+ # Message Level Encryption
325
+ # Store and manage certificates that will be used to preform Message Level Encryption (MLE). Each new webhook will need its own unique asymmetric certificate. You can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide.
326
+ #
327
+ # @param v_c_sender_organization_id Sender organization id
328
+ # @param v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
329
+ # @param save_asym_egress_key Provide egress Asymmetric key information to save (create or store)
330
+ # @param [Hash] opts the optional parameters
331
+ # @option opts [String] :v_c_correlation_id A globally unique id associated with your request
332
+ # @return [InlineResponse2014]
333
+ #
334
+ # DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
335
+ def save_asym_egress_key(v_c_sender_organization_id, v_c_permissions, save_asym_egress_key, opts = {})
336
+ data, status_code, headers = save_asym_egress_key_with_http_info(v_c_sender_organization_id, v_c_permissions, save_asym_egress_key, opts)
337
+ return data, status_code, headers
338
+ end
339
+
340
+ # Message Level Encryption
341
+ # Store and manage certificates that will be used to preform Message Level Encryption (MLE). Each new webhook will need its own unique asymmetric certificate. You can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide.
342
+ # @param v_c_sender_organization_id Sender organization id
343
+ # @param v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
344
+ # @param save_asym_egress_key Provide egress Asymmetric key information to save (create or store)
345
+ # @param [Hash] opts the optional parameters
346
+ # @option opts [String] :v_c_correlation_id A globally unique id associated with your request
347
+ # @return [Array<(InlineResponse2014, Fixnum, Hash)>] InlineResponse2014 data, response status code and response headers
348
+ def save_asym_egress_key_with_http_info(v_c_sender_organization_id, v_c_permissions, save_asym_egress_key, opts = {})
349
+
350
+ if @api_client.config.debugging
351
+ begin
352
+ raise
353
+ @api_client.config.logger.debug 'Calling API: ManageWebhooksApi.save_asym_egress_key ...'
354
+ rescue
355
+ puts 'Cannot write to log'
356
+ end
357
+ end
358
+ # verify the required parameter 'v_c_sender_organization_id' is set
359
+ if @api_client.config.client_side_validation && v_c_sender_organization_id.nil?
360
+ fail ArgumentError, "Missing the required parameter 'v_c_sender_organization_id' when calling ManageWebhooksApi.save_asym_egress_key"
361
+ end
362
+ #if @api_client.config.client_side_validation && v_c_sender_organization_id !~ Regexp.new(/^[A-Za-z0-9\\-_]+$/)
363
+ #fail ArgumentError, "invalid value for 'v_c_sender_organization_id' when calling ManageWebhooksApi.save_asym_egress_key, must conform to the pattern /^[A-Za-z0-9\\-_]+$/."
364
+ #end
365
+
366
+ # verify the required parameter 'v_c_permissions' is set
367
+ if @api_client.config.client_side_validation && v_c_permissions.nil?
368
+ fail ArgumentError, "Missing the required parameter 'v_c_permissions' when calling ManageWebhooksApi.save_asym_egress_key"
369
+ end
370
+ # verify the required parameter 'save_asym_egress_key' is set
371
+ if @api_client.config.client_side_validation && save_asym_egress_key.nil?
372
+ fail ArgumentError, "Missing the required parameter 'save_asym_egress_key' when calling ManageWebhooksApi.save_asym_egress_key"
373
+ end
374
+ #if @api_client.config.client_side_validation && !opts[:'v_c_correlation_id'].nil? && opts[:'v_c_correlation_id'] !~ Regexp.new(/^[A-Za-z0-9\\.\\-_:]+$/)
375
+ #fail ArgumentError, "invalid value for 'opts[:\"v_c_correlation_id\"]' when calling ManageWebhooksApi.save_asym_egress_key, must conform to the pattern /^[A-Za-z0-9\\.\\-_:]+$/."
376
+ #end
377
+
378
+ # resource path
379
+ local_var_path = 'kms/egress/v2/keys-asym'
380
+
381
+ # query parameters
382
+ query_params = {}
383
+
384
+ # header parameters
385
+ header_params = {}
386
+ # HTTP header 'Accept' (if needed)
387
+ header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
388
+ # HTTP header 'Content-Type'
389
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
390
+ header_params[:'v-c-sender-organization-id'] = v_c_sender_organization_id
391
+ header_params[:'v-c-permissions'] = v_c_permissions
392
+ header_params[:'v-c-correlation-id'] = opts[:'v_c_correlation_id'] if !opts[:'v_c_correlation_id'].nil?
393
+
394
+ # form parameters
395
+ form_params = {}
396
+
397
+ # http body (model)
398
+ post_body = @api_client.object_to_http_body(save_asym_egress_key)
399
+ sdk_tracker = SdkTracker.new
400
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'SaveAsymEgressKey', @api_client.config.host)
401
+ auth_names = []
402
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
403
+ :header_params => header_params,
404
+ :query_params => query_params,
405
+ :form_params => form_params,
406
+ :body => post_body,
407
+ :auth_names => auth_names,
408
+ :return_type => 'InlineResponse2014')
409
+ if @api_client.config.debugging
410
+ begin
411
+ raise
412
+ @api_client.config.logger.debug "API called: ManageWebhooksApi#save_asym_egress_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
413
+ rescue
414
+ puts 'Cannot write to log'
415
+ end
416
+ end
417
+ return data, status_code, headers
418
+ end
419
+ # Update a Webhook Subscription
420
+ # Update the webhook subscription using PATCH.
421
+ #
422
+ # @param webhook_id The Webhook Identifier.
423
+ # @param [Hash] opts the optional parameters
424
+ # @option opts [UpdateWebhookRequest] :update_webhook_request The webhook payload or changes to apply.
425
+ # @return [nil]
426
+ #
427
+ # DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
428
+ def update_webhook_subscription(webhook_id, opts = {})
429
+ data, status_code, headers = update_webhook_subscription_with_http_info(webhook_id, opts)
430
+ return data, status_code, headers
431
+ end
432
+
433
+ # Update a Webhook Subscription
434
+ # Update the webhook subscription using PATCH.
435
+ # @param webhook_id The Webhook Identifier.
436
+ # @param [Hash] opts the optional parameters
437
+ # @option opts [UpdateWebhookRequest] :update_webhook_request The webhook payload or changes to apply.
438
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
439
+ def update_webhook_subscription_with_http_info(webhook_id, opts = {})
440
+
441
+ if @api_client.config.debugging
442
+ begin
443
+ raise
444
+ @api_client.config.logger.debug 'Calling API: ManageWebhooksApi.update_webhook_subscription ...'
445
+ rescue
446
+ puts 'Cannot write to log'
447
+ end
448
+ end
449
+ # verify the required parameter 'webhook_id' is set
450
+ if @api_client.config.client_side_validation && webhook_id.nil?
451
+ fail ArgumentError, "Missing the required parameter 'webhook_id' when calling ManageWebhooksApi.update_webhook_subscription"
452
+ end
453
+ # resource path
454
+ local_var_path = 'notification-subscriptions/v1/webhooks/{webhookId}'.sub('{' + 'webhookId' + '}', webhook_id.to_s)
455
+
456
+ # query parameters
457
+ query_params = {}
458
+
459
+ # header parameters
460
+ header_params = {}
461
+ # HTTP header 'Accept' (if needed)
462
+ header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
463
+ # HTTP header 'Content-Type'
464
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
465
+
466
+ # form parameters
467
+ form_params = {}
468
+
469
+ # http body (model)
470
+ post_body = @api_client.object_to_http_body(opts[:'update_webhook_request'])
471
+ sdk_tracker = SdkTracker.new
472
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateWebhookRequest', @api_client.config.host)
473
+ auth_names = []
474
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
475
+ :header_params => header_params,
476
+ :query_params => query_params,
477
+ :form_params => form_params,
478
+ :body => post_body,
479
+ :auth_names => auth_names)
480
+ if @api_client.config.debugging
481
+ begin
482
+ raise
483
+ @api_client.config.logger.debug "API called: ManageWebhooksApi#update_webhook_subscription\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
484
+ rescue
485
+ puts 'Cannot write to log'
486
+ end
487
+ end
488
+ return data, status_code, headers
489
+ end
490
+ end
491
+ end