cybersource_rest_client 0.0.55 → 0.0.56

Sign up to get free protection for your applications and to get access to all the features.
Files changed (275) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +6 -0
  3. data/lib/cybersource_rest_client/api/batches_api.rb +25 -23
  4. data/lib/cybersource_rest_client/api/billing_agreements_api.rb +6 -0
  5. data/lib/cybersource_rest_client/api/capture_api.rb +2 -0
  6. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +269 -0
  7. data/lib/cybersource_rest_client/api/credit_api.rb +2 -0
  8. data/lib/cybersource_rest_client/api/customer_api.rb +4 -0
  9. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +4 -0
  10. data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +4 -0
  11. data/lib/cybersource_rest_client/api/decision_manager_api.rb +10 -0
  12. data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +2 -0
  13. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +6 -0
  14. data/lib/cybersource_rest_client/api/invoice_settings_api.rb +6 -4
  15. data/lib/cybersource_rest_client/api/invoices_api.rb +16 -12
  16. data/lib/cybersource_rest_client/api/keymanagementpassword_api.rb +2 -0
  17. data/lib/cybersource_rest_client/api/keymanagementpgp_api.rb +2 -0
  18. data/lib/cybersource_rest_client/api/keymanagementscmp_api.rb +2 -0
  19. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +507 -0
  20. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +169 -0
  21. data/lib/cybersource_rest_client/api/microform_integration_api.rb +2 -0
  22. data/lib/cybersource_rest_client/api/payer_authentication_api.rb +6 -0
  23. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +4 -0
  24. data/lib/cybersource_rest_client/api/payments_api.rb +6 -0
  25. data/lib/cybersource_rest_client/api/payouts_api.rb +2 -0
  26. data/lib/cybersource_rest_client/api/plans_api.rb +4 -0
  27. data/lib/cybersource_rest_client/api/push_funds_api.rb +2 -0
  28. data/lib/cybersource_rest_client/api/refund_api.rb +4 -0
  29. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +4 -0
  30. data/lib/cybersource_rest_client/api/reports_api.rb +2 -0
  31. data/lib/cybersource_rest_client/api/reversal_api.rb +4 -0
  32. data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -0
  33. data/lib/cybersource_rest_client/api/subscriptions_api.rb +4 -0
  34. data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +6 -0
  35. data/lib/cybersource_rest_client/api/taxes_api.rb +4 -0
  36. data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +2 -0
  37. data/lib/cybersource_rest_client/api/user_management_search_api.rb +2 -0
  38. data/lib/cybersource_rest_client/api/verification_api.rb +4 -0
  39. data/lib/cybersource_rest_client/api/void_api.rb +10 -0
  40. data/lib/cybersource_rest_client/models/boardingv1registrations_document_information.rb +192 -0
  41. data/lib/cybersource_rest_client/models/boardingv1registrations_document_information_signed_documents.rb +196 -0
  42. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information.rb +205 -0
  43. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_oauth2.rb +221 -0
  44. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +225 -0
  45. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_information.rb +197 -0
  46. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information.rb +356 -0
  47. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +484 -0
  48. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_address.rb +360 -0
  49. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_business_contact.rb +341 -0
  50. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc.rb +382 -0
  51. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account.rb +331 -0
  52. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +526 -0
  53. data/lib/cybersource_rest_client/models/boardingv1registrations_product_information.rb +190 -0
  54. data/lib/cybersource_rest_client/models/boardingv1registrations_product_information_selected_products.rb +220 -0
  55. data/lib/cybersource_rest_client/models/boardingv1registrations_registration_information.rb +330 -0
  56. data/lib/cybersource_rest_client/models/capture_payment_request.rb +11 -1
  57. data/lib/cybersource_rest_client/models/commerce_solutions_products.rb +210 -0
  58. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater.rb +200 -0
  59. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information.rb +200 -0
  60. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations.rb +242 -0
  61. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_amex.rb +221 -0
  62. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_master_card.rb +222 -0
  63. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_visa.rb +222 -0
  64. data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup.rb +200 -0
  65. data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup_configuration_information.rb +190 -0
  66. data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup_configuration_information_configurations.rb +202 -0
  67. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management.rb +200 -0
  68. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information.rb +200 -0
  69. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information_configurations.rb +191 -0
  70. data/lib/cybersource_rest_client/models/create_credit_request.rb +11 -1
  71. data/lib/cybersource_rest_client/models/create_payment_request.rb +11 -1
  72. data/lib/cybersource_rest_client/models/create_webhook.rb +290 -0
  73. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +54 -52
  74. data/lib/cybersource_rest_client/models/inline_response_200_2_integration_information.rb +205 -0
  75. data/lib/cybersource_rest_client/models/inline_response_200_2_integration_information_tenant_configurations.rb +297 -0
  76. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +26 -103
  77. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +126 -83
  78. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +252 -0
  79. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded.rb → inline_response_200_5__embedded.rb} +2 -2
  80. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded__links.rb → inline_response_200_5__embedded__links.rb} +2 -2
  81. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded__links_reports.rb → inline_response_200_5__embedded__links_reports.rb} +1 -1
  82. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded_batches.rb → inline_response_200_5__embedded_batches.rb} +3 -3
  83. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded_totals.rb → inline_response_200_5__embedded_totals.rb} +1 -1
  84. data/lib/cybersource_rest_client/models/{inline_response_200_2__links.rb → inline_response_200_5__links.rb} +1 -1
  85. data/lib/cybersource_rest_client/models/inline_response_200_6.rb +291 -0
  86. data/lib/cybersource_rest_client/models/{inline_response_200_3__links.rb → inline_response_200_6__links.rb} +2 -2
  87. data/lib/cybersource_rest_client/models/{inline_response_200_3__links_report.rb → inline_response_200_6__links_report.rb} +1 -1
  88. data/lib/cybersource_rest_client/models/{inline_response_200_3_billing.rb → inline_response_200_6_billing.rb} +1 -1
  89. data/lib/cybersource_rest_client/models/inline_response_200_7.rb +293 -0
  90. data/lib/cybersource_rest_client/models/{inline_response_200_4_records.rb → inline_response_200_7_records.rb} +3 -3
  91. data/lib/cybersource_rest_client/models/{inline_response_200_4_response_record.rb → inline_response_200_7_response_record.rb} +2 -2
  92. 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
  93. data/lib/cybersource_rest_client/models/{inline_response_200_4_source_record.rb → inline_response_200_7_source_record.rb} +1 -1
  94. data/lib/cybersource_rest_client/models/inline_response_201_1.rb +316 -0
  95. data/lib/cybersource_rest_client/models/inline_response_201_1_integration_information.rb +193 -0
  96. data/lib/cybersource_rest_client/models/inline_response_201_1_integration_information_tenant_configurations.rb +287 -0
  97. data/lib/cybersource_rest_client/models/inline_response_201_1_organization_information.rb +218 -0
  98. data/lib/cybersource_rest_client/models/inline_response_201_1_product_information_setups.rb +215 -0
  99. data/lib/cybersource_rest_client/models/inline_response_201_1_registration_information.rb +257 -0
  100. data/lib/cybersource_rest_client/models/inline_response_201_1_setups.rb +220 -0
  101. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_commerce_solutions.rb +210 -0
  102. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments.rb +340 -0
  103. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing.rb +200 -0
  104. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing_configuration_status.rb +300 -0
  105. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing_subscription_status.rb +279 -0
  106. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_digital_payments.rb +190 -0
  107. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_risk.rb +200 -0
  108. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_value_added_services.rb +200 -0
  109. data/lib/cybersource_rest_client/models/inline_response_201_2.rb +223 -0
  110. data/lib/cybersource_rest_client/models/inline_response_201_2_key_information.rb +301 -0
  111. data/lib/cybersource_rest_client/models/inline_response_201_2_key_information_error_information.rb +203 -0
  112. data/lib/cybersource_rest_client/models/inline_response_201_2_key_information_error_information_details.rb +202 -0
  113. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +348 -0
  114. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +223 -0
  115. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +37 -43
  116. data/lib/cybersource_rest_client/models/inline_response_400_7_details.rb +17 -15
  117. data/lib/cybersource_rest_client/models/inline_response_400_8.rb +276 -0
  118. data/lib/cybersource_rest_client/models/inline_response_400_8_details.rb +200 -0
  119. data/lib/cybersource_rest_client/models/inline_response_404_1.rb +270 -0
  120. data/lib/cybersource_rest_client/models/inline_response_404_2.rb +212 -0
  121. data/lib/cybersource_rest_client/models/inline_response_404_2_details.rb +200 -0
  122. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +270 -0
  123. data/lib/cybersource_rest_client/models/inline_response_500_3.rb +258 -0
  124. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +6 -0
  125. data/lib/cybersource_rest_client/models/kmsegressv2keysasym_client_reference_information.rb +198 -0
  126. data/lib/cybersource_rest_client/models/kmsegressv2keysasym_key_information.rb +280 -0
  127. data/lib/cybersource_rest_client/models/kmsegressv2keyssym_client_reference_information.rb +198 -0
  128. data/lib/cybersource_rest_client/models/kmsegressv2keyssym_key_information.rb +280 -0
  129. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1productsorganization_id_event_types.rb +234 -0
  130. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_notification_scope.rb +206 -0
  131. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_products.rb +203 -0
  132. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_retry_policy.rb +271 -0
  133. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy.rb +202 -0
  134. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1.rb +213 -0
  135. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config.rb +224 -0
  136. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config_additional_config.rb +221 -0
  137. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_config.rb +214 -0
  138. data/lib/cybersource_rest_client/models/nrtfv1webhookswebhook_idreplays_by_delivery_status.rb +244 -0
  139. data/lib/cybersource_rest_client/models/payment_products.rb +350 -0
  140. data/lib/cybersource_rest_client/models/payment_products_card_present_connect.rb +200 -0
  141. data/lib/cybersource_rest_client/models/payment_products_card_present_connect_configuration_information.rb +200 -0
  142. data/lib/cybersource_rest_client/models/payment_products_card_present_connect_configuration_information_configurations.rb +191 -0
  143. data/lib/cybersource_rest_client/models/payment_products_card_present_connect_subscription_information.rb +237 -0
  144. data/lib/cybersource_rest_client/models/payment_products_card_processing.rb +200 -0
  145. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present.rb +236 -0
  146. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_installment.rb +202 -0
  147. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_payouts.rb +281 -0
  148. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_processors.rb +245 -0
  149. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_present_processors.rb +259 -0
  150. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_common_merchant_descriptor_info.rb +269 -0
  151. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_features_card_not_present_payouts_currencies.rb +258 -0
  152. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information.rb +200 -0
  153. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations.rb +200 -0
  154. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common.rb +446 -0
  155. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_acquirer.rb +236 -0
  156. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_currencies.rb +258 -0
  157. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_currencies_1.rb +225 -0
  158. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_payment_types.rb +203 -0
  159. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_processors.rb +721 -0
  160. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_features.rb +200 -0
  161. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_features_card_present.rb +204 -0
  162. data/lib/cybersource_rest_client/models/payment_products_card_processing_subscription_information.rb +250 -0
  163. data/lib/cybersource_rest_client/models/payment_products_card_processing_subscription_information_features.rb +190 -0
  164. data/lib/cybersource_rest_client/models/payment_products_currency_conversion.rb +200 -0
  165. data/lib/cybersource_rest_client/models/payment_products_currency_conversion_configuration_information.rb +200 -0
  166. data/lib/cybersource_rest_client/models/payment_products_currency_conversion_configuration_information_configurations.rb +192 -0
  167. data/lib/cybersource_rest_client/models/payment_products_currency_conversion_configuration_information_configurations_processors.rb +201 -0
  168. data/lib/cybersource_rest_client/models/payment_products_cybs_ready_terminal.rb +190 -0
  169. data/lib/cybersource_rest_client/models/payment_products_differential_fee.rb +190 -0
  170. data/lib/cybersource_rest_client/models/payment_products_differential_fee_subscription_information.rb +247 -0
  171. data/lib/cybersource_rest_client/models/payment_products_differential_fee_subscription_information_features.rb +190 -0
  172. data/lib/cybersource_rest_client/models/payment_products_digital_payments.rb +190 -0
  173. data/lib/cybersource_rest_client/models/payment_products_digital_payments_subscription_information.rb +250 -0
  174. data/lib/cybersource_rest_client/models/payment_products_e_check.rb +200 -0
  175. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service.rb +203 -0
  176. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_internal_only.rb +193 -0
  177. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_processors.rb +262 -0
  178. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information.rb +200 -0
  179. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations.rb +210 -0
  180. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_common.rb +296 -0
  181. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_common_internal_only.rb +206 -0
  182. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_common_internal_only_processors.rb +242 -0
  183. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_common_processors.rb +261 -0
  184. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_features.rb +190 -0
  185. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_underwriting.rb +334 -0
  186. data/lib/cybersource_rest_client/models/payment_products_e_check_subscription_information.rb +250 -0
  187. data/lib/cybersource_rest_client/models/payment_products_payer_authentication.rb +200 -0
  188. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_j_cbj_secure.rb +221 -0
  189. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified.rb +204 -0
  190. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified_currencies.rb +244 -0
  191. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_configuration_information.rb +200 -0
  192. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_configuration_information_configurations.rb +190 -0
  193. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_configuration_information_configurations_card_types.rb +260 -0
  194. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_configuration_information_configurations_card_types_cb.rb +221 -0
  195. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_subscription_information.rb +237 -0
  196. data/lib/cybersource_rest_client/models/payment_products_payouts.rb +200 -0
  197. data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information.rb +190 -0
  198. data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information_configurations.rb +204 -0
  199. data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information_configurations_processor_account.rb +237 -0
  200. data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information_configurations_pullfunds.rb +311 -0
  201. data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information_configurations_pushfunds.rb +336 -0
  202. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance.rb +200 -0
  203. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_customer_notifications.rb +258 -0
  204. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_merchant_notifications.rb +235 -0
  205. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types.rb +220 -0
  206. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types_discover.rb +257 -0
  207. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information.rb +200 -0
  208. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations.rb +251 -0
  209. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_checkout.rb +213 -0
  210. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_contact_information.rb +221 -0
  211. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_notifications.rb +200 -0
  212. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_payment_methods.rb +214 -0
  213. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_payment_types.rb +191 -0
  214. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_service.rb +257 -0
  215. data/lib/cybersource_rest_client/models/payment_products_tax.rb +190 -0
  216. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal.rb +200 -0
  217. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info.rb +210 -0
  218. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info_basic_info.rb +318 -0
  219. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_merchant_defined_data_fields.rb +430 -0
  220. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_payment_info.rb +338 -0
  221. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info.rb +210 -0
  222. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_email_receipt.rb +190 -0
  223. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_header.rb +190 -0
  224. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_order_info.rb +200 -0
  225. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_configuration_information.rb +200 -0
  226. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_configuration_information_configurations.rb +200 -0
  227. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_configuration_information_configurations_card_not_present.rb +200 -0
  228. data/lib/cybersource_rest_client/models/post_registration_body.rb +230 -0
  229. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +22 -5
  230. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +1 -1
  231. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +1 -1
  232. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +18 -1
  233. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_secure_information.rb +249 -0
  234. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
  235. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +22 -5
  236. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +15 -5
  237. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_vehicle_data.rb +214 -0
  238. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +22 -5
  239. data/lib/cybersource_rest_client/models/replay_webhooks.rb +202 -0
  240. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response.rb +1 -0
  241. data/lib/cybersource_rest_client/models/risk_products.rb +200 -0
  242. data/lib/cybersource_rest_client/models/risk_products_decision_manager.rb +200 -0
  243. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_accurint.rb +200 -0
  244. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_accurint_creds.rb +200 -0
  245. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_credilink.rb +220 -0
  246. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_credilink_creds.rb +210 -0
  247. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_ekata_creds.rb +190 -0
  248. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_emailage.rb +220 -0
  249. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_perseuss.rb +210 -0
  250. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_signifyd.rb +200 -0
  251. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_signifyd_creds.rb +220 -0
  252. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_targus.rb +210 -0
  253. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_targus_creds.rb +210 -0
  254. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information.rb +200 -0
  255. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations.rb +220 -0
  256. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_organization.rb +191 -0
  257. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_portfolio_controls.rb +200 -0
  258. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_processing_options.rb +190 -0
  259. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty.rb +190 -0
  260. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty_provider.rb +250 -0
  261. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty_provider_ekata.rb +220 -0
  262. data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials.rb +200 -0
  263. data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials_configuration_information.rb +190 -0
  264. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
  265. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -1
  266. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -1
  267. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
  268. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -1
  269. data/lib/cybersource_rest_client/models/save_asym_egress_key.rb +216 -0
  270. data/lib/cybersource_rest_client/models/save_sym_egress_key.rb +216 -0
  271. data/lib/cybersource_rest_client/models/update_webhook.rb +315 -0
  272. data/lib/cybersource_rest_client/models/value_added_services_products.rb +200 -0
  273. data/lib/cybersource_rest_client/utilities/tracking/sdk_tracker.rb +71 -0
  274. data/lib/cybersource_rest_client.rb +214 -13
  275. metadata +216 -29
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38488f7d3a86cd6fa25e9727d0570b4e2bde8bd4be92ad62616c895cea0d4495
4
- data.tar.gz: a6d5210f1edf0e44224bf32c89f1c7a9e558ff2f752095f68cbaee2e8bd77d48
3
+ metadata.gz: 3655991d124913aa0fdda42cbe77440c391d71e9d1a69244104fa1f3a786925a
4
+ data.tar.gz: 14aac82efb28b1d845eed28cfda48f1e788c0ebbfaa7ff6f506053446def8033
5
5
  SHA512:
6
- metadata.gz: 662fed9b1692eb10e0dac0594ca6b43d022e284a944660fc22477bc9ed1cf2a06466bdac063a328153a56912424e43e387309837f6dc591c52d6a35f535f345c
7
- data.tar.gz: 7428af4e0e31a9321addd0bdcf9dd7585eed5ef178a09a1390387b9900de616bdc9df13489e12b2b6c7c87756ca7bca7ab2a9bf1c036ea828bf793dabaaaba71
6
+ metadata.gz: dc1994de94d774aaa8a1682f952cf557c799f58bb4c09a7d061febac97d27cb4fd88ae1756d644ba290421a5fdb63d92cd78537fdaa07763cec6b1060cd4883d
7
+ data.tar.gz: 013702e4bb0f1afc4b56b9b92fd113149e19765a1f2ff9c94ba04a088ad1152a45975a38faebe0edd12a50dd6864ca196b424f9b039c8d4627944e9266922a19
@@ -67,6 +67,8 @@ module CyberSource
67
67
 
68
68
  # http body (model)
69
69
  post_body = @api_client.object_to_http_body(create_p12_keys_request)
70
+ sdk_tracker = SdkTracker.new
71
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateP12KeysRequest', @api_client.config.host)
70
72
  auth_names = []
71
73
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
72
74
  :header_params => header_params,
@@ -132,6 +134,8 @@ module CyberSource
132
134
 
133
135
  # http body (model)
134
136
  post_body = @api_client.object_to_http_body(delete_bulk_p12_keys_request)
137
+ sdk_tracker = SdkTracker.new
138
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'DeleteBulkP12KeysRequest', @api_client.config.host)
135
139
  auth_names = []
136
140
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
137
141
  :header_params => header_params,
@@ -272,6 +276,8 @@ module CyberSource
272
276
 
273
277
  # http body (model)
274
278
  post_body = @api_client.object_to_http_body(update_asym_keys_request)
279
+ sdk_tracker = SdkTracker.new
280
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateAsymKeysRequest', @api_client.config.host)
275
281
  auth_names = []
276
282
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
277
283
  :header_params => header_params,
@@ -24,7 +24,7 @@ module CyberSource
24
24
  # **Get Batch Report**<br>This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH) - Source record information including token ids, masked card number, expiration dates & card type. - Response record information including response code, reason, token ids, masked card number, expiration dates & card type.
25
25
  # @param batch_id Unique identification number assigned to the submitted request.
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [InlineResponse2004]
27
+ # @return [InlineResponse2007]
28
28
  def get_batch_report(batch_id, opts = {})
29
29
  data, status_code, headers = get_batch_report_with_http_info(batch_id, opts)
30
30
  return data, status_code, headers
@@ -34,7 +34,7 @@ module CyberSource
34
34
  # **Get Batch Report**&lt;br&gt;This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH) - Source record information including token ids, masked card number, expiration dates &amp; card type. - Response record information including response code, reason, token ids, masked card number, expiration dates &amp; card type.
35
35
  # @param batch_id Unique identification number assigned to the submitted request.
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse2004, Fixnum, Hash)>] InlineResponse2004 data, response status code and response headers
37
+ # @return [Array<(InlineResponse2007, Fixnum, Hash)>] InlineResponse2007 data, response status code and response headers
38
38
  def get_batch_report_with_http_info(batch_id, opts = {})
39
39
 
40
40
  if @api_client.config.debugging
@@ -49,13 +49,13 @@ module CyberSource
49
49
  if @api_client.config.client_side_validation && batch_id.nil?
50
50
  fail ArgumentError, "Missing the required parameter 'batch_id' when calling BatchesApi.get_batch_report"
51
51
  end
52
- if @api_client.config.client_side_validation && batch_id > 32
53
- fail ArgumentError, 'invalid value for "batch_id" when calling BatchesApi.get_batch_report, must be smaller than or equal to 32.'
54
- end
55
-
56
- if @api_client.config.client_side_validation && batch_id < 16
57
- fail ArgumentError, 'invalid value for "batch_id" when calling BatchesApi.get_batch_report, must be greater than or equal to 16.'
58
- end
52
+ # if @api_client.config.client_side_validation && batch_id > 32
53
+ # fail ArgumentError, 'invalid value for "batch_id" when calling BatchesApi.get_batch_report, must be smaller than or equal to 32.'
54
+ # end
55
+ #
56
+ # if @api_client.config.client_side_validation && batch_id < 16
57
+ # fail ArgumentError, 'invalid value for "batch_id" when calling BatchesApi.get_batch_report, must be greater than or equal to 16.'
58
+ # end
59
59
 
60
60
  # resource path
61
61
  local_var_path = 'accountupdater/v1/batches/{batchId}/report'.sub('{' + 'batchId' + '}', batch_id.to_s)
@@ -86,7 +86,7 @@ module CyberSource
86
86
  :form_params => form_params,
87
87
  :body => post_body,
88
88
  :auth_names => auth_names,
89
- :return_type => 'InlineResponse2004')
89
+ :return_type => 'InlineResponse2007')
90
90
  if @api_client.config.debugging
91
91
  begin
92
92
  raise
@@ -101,7 +101,7 @@ module CyberSource
101
101
  # **Get Batch Status**<br>This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH)
102
102
  # @param batch_id Unique identification number assigned to the submitted request.
103
103
  # @param [Hash] opts the optional parameters
104
- # @return [InlineResponse2003]
104
+ # @return [InlineResponse2006]
105
105
  def get_batch_status(batch_id, opts = {})
106
106
  data, status_code, headers = get_batch_status_with_http_info(batch_id, opts)
107
107
  return data, status_code, headers
@@ -111,7 +111,7 @@ module CyberSource
111
111
  # **Get Batch Status**&lt;br&gt;This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH)
112
112
  # @param batch_id Unique identification number assigned to the submitted request.
113
113
  # @param [Hash] opts the optional parameters
114
- # @return [Array<(InlineResponse2003, Fixnum, Hash)>] InlineResponse2003 data, response status code and response headers
114
+ # @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
115
115
  def get_batch_status_with_http_info(batch_id, opts = {})
116
116
 
117
117
  if @api_client.config.debugging
@@ -126,13 +126,13 @@ module CyberSource
126
126
  if @api_client.config.client_side_validation && batch_id.nil?
127
127
  fail ArgumentError, "Missing the required parameter 'batch_id' when calling BatchesApi.get_batch_status"
128
128
  end
129
- if @api_client.config.client_side_validation && batch_id > 32
130
- fail ArgumentError, 'invalid value for "batch_id" when calling BatchesApi.get_batch_status, must be smaller than or equal to 32.'
131
- end
132
-
133
- if @api_client.config.client_side_validation && batch_id < 16
134
- fail ArgumentError, 'invalid value for "batch_id" when calling BatchesApi.get_batch_status, must be greater than or equal to 16.'
135
- end
129
+ # if @api_client.config.client_side_validation && batch_id > 32
130
+ # fail ArgumentError, 'invalid value for "batch_id" when calling BatchesApi.get_batch_status, must be smaller than or equal to 32.'
131
+ # end
132
+ #
133
+ # if @api_client.config.client_side_validation && batch_id < 16
134
+ # fail ArgumentError, 'invalid value for "batch_id" when calling BatchesApi.get_batch_status, must be greater than or equal to 16.'
135
+ # end
136
136
 
137
137
  # resource path
138
138
  local_var_path = 'accountupdater/v1/batches/{batchId}/status'.sub('{' + 'batchId' + '}', batch_id.to_s)
@@ -163,7 +163,7 @@ module CyberSource
163
163
  :form_params => form_params,
164
164
  :body => post_body,
165
165
  :auth_names => auth_names,
166
- :return_type => 'InlineResponse2003')
166
+ :return_type => 'InlineResponse2006')
167
167
  if @api_client.config.debugging
168
168
  begin
169
169
  raise
@@ -181,7 +181,7 @@ module CyberSource
181
181
  # @option opts [Integer] :limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (default to 20)
182
182
  # @option opts [String] :from_date ISO-8601 format: yyyyMMddTHHmmssZ
183
183
  # @option opts [String] :to_date ISO-8601 format: yyyyMMddTHHmmssZ
184
- # @return [InlineResponse2002]
184
+ # @return [InlineResponse2005]
185
185
  def get_batches_list(opts = {})
186
186
  data, status_code, headers = get_batches_list_with_http_info(opts)
187
187
  return data, status_code, headers
@@ -194,7 +194,7 @@ module CyberSource
194
194
  # @option opts [Integer] :limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset.
195
195
  # @option opts [String] :from_date ISO-8601 format: yyyyMMddTHHmmssZ
196
196
  # @option opts [String] :to_date ISO-8601 format: yyyyMMddTHHmmssZ
197
- # @return [Array<(InlineResponse2002, Fixnum, Hash)>] InlineResponse2002 data, response status code and response headers
197
+ # @return [Array<(InlineResponse2005, Fixnum, Hash)>] InlineResponse2005 data, response status code and response headers
198
198
  def get_batches_list_with_http_info(opts = {})
199
199
 
200
200
  if @api_client.config.debugging
@@ -250,7 +250,7 @@ module CyberSource
250
250
  :form_params => form_params,
251
251
  :body => post_body,
252
252
  :auth_names => auth_names,
253
- :return_type => 'InlineResponse2002')
253
+ :return_type => 'InlineResponse2005')
254
254
  if @api_client.config.debugging
255
255
  begin
256
256
  raise
@@ -308,6 +308,8 @@ module CyberSource
308
308
 
309
309
  # http body (model)
310
310
  post_body = @api_client.object_to_http_body(body)
311
+ sdk_tracker = SdkTracker.new
312
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'Body', @api_client.config.host)
311
313
  auth_names = []
312
314
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
313
315
  :header_params => header_params,
@@ -73,6 +73,8 @@ module CyberSource
73
73
 
74
74
  # http body (model)
75
75
  post_body = @api_client.object_to_http_body(modify_billing_agreement)
76
+ sdk_tracker = SdkTracker.new
77
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'ModifyBillingAgreement', @api_client.config.host)
76
78
  auth_names = []
77
79
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
78
80
  :header_params => header_params,
@@ -144,6 +146,8 @@ module CyberSource
144
146
 
145
147
  # http body (model)
146
148
  post_body = @api_client.object_to_http_body(intimate_billing_agreement)
149
+ sdk_tracker = SdkTracker.new
150
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'IntimateBillingAgreement', @api_client.config.host)
147
151
  auth_names = []
148
152
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
149
153
  :header_params => header_params,
@@ -209,6 +213,8 @@ module CyberSource
209
213
 
210
214
  # http body (model)
211
215
  post_body = @api_client.object_to_http_body(create_billing_agreement)
216
+ sdk_tracker = SdkTracker.new
217
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateBillingAgreement', @api_client.config.host)
212
218
  auth_names = []
213
219
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
214
220
  :header_params => header_params,
@@ -73,6 +73,8 @@ module CyberSource
73
73
 
74
74
  # http body (model)
75
75
  post_body = @api_client.object_to_http_body(capture_payment_request)
76
+ sdk_tracker = SdkTracker.new
77
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CapturePaymentRequest', @api_client.config.host)
76
78
  auth_names = []
77
79
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
78
80
  :header_params => header_params,
@@ -0,0 +1,269 @@
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 CreateNewWebhooksApi
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
+ # Create a Webhook
24
+ # Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file.
25
+ #
26
+ # @param [Hash] opts the optional parameters
27
+ # @option opts [CreateWebhook] :create_webhook The webhook payload
28
+ # @return [InlineResponse2013]
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 create_webhook(opts = {})
32
+ data, status_code, headers = create_webhook_with_http_info(opts)
33
+ return data, status_code, headers
34
+ end
35
+
36
+ # Create a Webhook
37
+ # Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [CreateWebhook] :create_webhook The webhook payload
40
+ # @return [Array<(InlineResponse2013, Fixnum, Hash)>] InlineResponse2013 data, response status code and response headers
41
+ def create_webhook_with_http_info(opts = {})
42
+
43
+ if @api_client.config.debugging
44
+ begin
45
+ raise
46
+ @api_client.config.logger.debug 'Calling API: CreateNewWebhooksApi.create_webhook ...'
47
+ rescue
48
+ puts 'Cannot write to log'
49
+ end
50
+ end
51
+ # resource path
52
+ local_var_path = 'notification-subscriptions/v1/webhooks'
53
+
54
+ # query parameters
55
+ query_params = {}
56
+
57
+ # header parameters
58
+ header_params = {}
59
+ # HTTP header 'Accept' (if needed)
60
+ header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
61
+ # HTTP header 'Content-Type'
62
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
63
+
64
+ # form parameters
65
+ form_params = {}
66
+
67
+ # http body (model)
68
+ post_body = @api_client.object_to_http_body(opts[:'create_webhook'])
69
+ sdk_tracker = SdkTracker.new
70
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateWebhook', @api_client.config.host)
71
+ auth_names = []
72
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
73
+ :header_params => header_params,
74
+ :query_params => query_params,
75
+ :form_params => form_params,
76
+ :body => post_body,
77
+ :auth_names => auth_names,
78
+ :return_type => 'InlineResponse2013')
79
+ if @api_client.config.debugging
80
+ begin
81
+ raise
82
+ @api_client.config.logger.debug "API called: CreateNewWebhooksApi#create_webhook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
83
+ rescue
84
+ puts 'Cannot write to log'
85
+ end
86
+ end
87
+ return data, status_code, headers
88
+ end
89
+ # Find Products You Can Subscribe To
90
+ # Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks.
91
+ #
92
+ # @param organization_id The Organization Identifier.
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [Array<InlineResponse2003>]
95
+ #
96
+ # 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.
97
+ def find_product_to_subscribe(organization_id, opts = {})
98
+ data, status_code, headers = find_product_to_subscribe_with_http_info(organization_id, opts)
99
+ return data, status_code, headers
100
+ end
101
+
102
+ # Find Products You Can Subscribe To
103
+ # Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks.
104
+ # @param organization_id The Organization Identifier.
105
+ # @param [Hash] opts the optional parameters
106
+ # @return [Array<(Array<InlineResponse2003>, Fixnum, Hash)>] Array<InlineResponse2003> data, response status code and response headers
107
+ def find_product_to_subscribe_with_http_info(organization_id, opts = {})
108
+
109
+ if @api_client.config.debugging
110
+ begin
111
+ raise
112
+ @api_client.config.logger.debug 'Calling API: CreateNewWebhooksApi.find_product_to_subscribe ...'
113
+ rescue
114
+ puts 'Cannot write to log'
115
+ end
116
+ end
117
+ # verify the required parameter 'organization_id' is set
118
+ if @api_client.config.client_side_validation && organization_id.nil?
119
+ fail ArgumentError, "Missing the required parameter 'organization_id' when calling CreateNewWebhooksApi.find_product_to_subscribe"
120
+ end
121
+ # resource path
122
+ local_var_path = 'notification-subscriptions/v1/products/{organizationId}'.sub('{' + 'organizationId' + '}', organization_id.to_s)
123
+
124
+ # query parameters
125
+ query_params = {}
126
+
127
+ # header parameters
128
+ header_params = {}
129
+ # HTTP header 'Accept' (if needed)
130
+ header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
131
+ # HTTP header 'Content-Type'
132
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
133
+
134
+ # form parameters
135
+ form_params = {}
136
+
137
+ # http body (model)
138
+ if 'GET' == 'POST'
139
+ post_body = '{}'
140
+ else
141
+ post_body = nil
142
+ end
143
+ auth_names = []
144
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
145
+ :header_params => header_params,
146
+ :query_params => query_params,
147
+ :form_params => form_params,
148
+ :body => post_body,
149
+ :auth_names => auth_names,
150
+ :return_type => 'Array<InlineResponse2003>')
151
+ if @api_client.config.debugging
152
+ begin
153
+ raise
154
+ @api_client.config.logger.debug "API called: CreateNewWebhooksApi#find_product_to_subscribe\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
155
+ rescue
156
+ puts 'Cannot write to log'
157
+ end
158
+ end
159
+ return data, status_code, headers
160
+ end
161
+ # Create Webhook Security Keys
162
+ # Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature. Select the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remeber to save the key in the API response, so that you can use it to validate messages later.
163
+ #
164
+ # @param v_c_sender_organization_id Sender organization id
165
+ # @param v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
166
+ # @param [Hash] opts the optional parameters
167
+ # @option opts [String] :v_c_correlation_id A globally unique id associated with your request
168
+ # @option opts [SaveSymEgressKey] :save_sym_egress_key Provide egress Symmetric key information to save (create or store or refresh)
169
+ # @return [InlineResponse2012]
170
+ #
171
+ # 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.
172
+ def save_sym_egress_key(v_c_sender_organization_id, v_c_permissions, opts = {})
173
+ data, status_code, headers = save_sym_egress_key_with_http_info(v_c_sender_organization_id, v_c_permissions, opts)
174
+ return data, status_code, headers
175
+ end
176
+
177
+ # Create Webhook Security Keys
178
+ # Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature. Select the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remeber to save the key in the API response, so that you can use it to validate messages later.
179
+ # @param v_c_sender_organization_id Sender organization id
180
+ # @param v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
181
+ # @param [Hash] opts the optional parameters
182
+ # @option opts [String] :v_c_correlation_id A globally unique id associated with your request
183
+ # @option opts [SaveSymEgressKey] :save_sym_egress_key Provide egress Symmetric key information to save (create or store or refresh)
184
+ # @return [Array<(InlineResponse2012, Fixnum, Hash)>] InlineResponse2012 data, response status code and response headers
185
+ def save_sym_egress_key_with_http_info(v_c_sender_organization_id, v_c_permissions, opts = {})
186
+
187
+ if @api_client.config.debugging
188
+ begin
189
+ raise
190
+ @api_client.config.logger.debug 'Calling API: CreateNewWebhooksApi.save_sym_egress_key ...'
191
+ rescue
192
+ puts 'Cannot write to log'
193
+ end
194
+ end
195
+ # verify the required parameter 'v_c_sender_organization_id' is set
196
+ if @api_client.config.client_side_validation && v_c_sender_organization_id.nil?
197
+ fail ArgumentError, "Missing the required parameter 'v_c_sender_organization_id' when calling CreateNewWebhooksApi.save_sym_egress_key"
198
+ end
199
+ if @api_client.config.client_side_validation && v_c_sender_organization_id.to_s.length > 100
200
+ fail ArgumentError, 'invalid value for "v_c_sender_organization_id" when calling CreateNewWebhooksApi.save_sym_egress_key, the character length must be smaller than or equal to 100.'
201
+ end
202
+
203
+ if @api_client.config.client_side_validation && v_c_sender_organization_id.to_s.length < 2
204
+ fail ArgumentError, 'invalid value for "v_c_sender_organization_id" when calling CreateNewWebhooksApi.save_sym_egress_key, the character length must be great than or equal to 2.'
205
+ end
206
+
207
+ #if @api_client.config.client_side_validation && v_c_sender_organization_id !~ Regexp.new(/^[A-Za-z0-9\\-_]+$/)
208
+ #fail ArgumentError, "invalid value for 'v_c_sender_organization_id' when calling CreateNewWebhooksApi.save_sym_egress_key, must conform to the pattern /^[A-Za-z0-9\\-_]+$/."
209
+ #end
210
+
211
+ # verify the required parameter 'v_c_permissions' is set
212
+ if @api_client.config.client_side_validation && v_c_permissions.nil?
213
+ fail ArgumentError, "Missing the required parameter 'v_c_permissions' when calling CreateNewWebhooksApi.save_sym_egress_key"
214
+ end
215
+ if @api_client.config.client_side_validation && !opts[:'v_c_correlation_id'].nil? && opts[:'v_c_correlation_id'].to_s.length > 100
216
+ fail ArgumentError, 'invalid value for "opts[:"v_c_correlation_id"]" when calling CreateNewWebhooksApi.save_sym_egress_key, the character length must be smaller than or equal to 100.'
217
+ end
218
+
219
+ if @api_client.config.client_side_validation && !opts[:'v_c_correlation_id'].nil? && opts[:'v_c_correlation_id'].to_s.length < 2
220
+ fail ArgumentError, 'invalid value for "opts[:"v_c_correlation_id"]" when calling CreateNewWebhooksApi.save_sym_egress_key, the character length must be great than or equal to 2.'
221
+ end
222
+
223
+ #if @api_client.config.client_side_validation && !opts[:'v_c_correlation_id'].nil? && opts[:'v_c_correlation_id'] !~ Regexp.new(/^[A-Za-z0-9\\.\\-_:]+$/)
224
+ #fail ArgumentError, "invalid value for 'opts[:\"v_c_correlation_id\"]' when calling CreateNewWebhooksApi.save_sym_egress_key, must conform to the pattern /^[A-Za-z0-9\\.\\-_:]+$/."
225
+ #end
226
+
227
+ # resource path
228
+ local_var_path = 'kms/egress/v2/keys-sym'
229
+
230
+ # query parameters
231
+ query_params = {}
232
+
233
+ # header parameters
234
+ header_params = {}
235
+ # HTTP header 'Accept' (if needed)
236
+ header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
237
+ # HTTP header 'Content-Type'
238
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
239
+ header_params[:'v-c-sender-organization-id'] = v_c_sender_organization_id
240
+ header_params[:'v-c-permissions'] = v_c_permissions
241
+ header_params[:'v-c-correlation-id'] = opts[:'v_c_correlation_id'] if !opts[:'v_c_correlation_id'].nil?
242
+
243
+ # form parameters
244
+ form_params = {}
245
+
246
+ # http body (model)
247
+ post_body = @api_client.object_to_http_body(opts[:'save_sym_egress_key'])
248
+ sdk_tracker = SdkTracker.new
249
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'SaveSymEgressKey', @api_client.config.host)
250
+ auth_names = []
251
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
252
+ :header_params => header_params,
253
+ :query_params => query_params,
254
+ :form_params => form_params,
255
+ :body => post_body,
256
+ :auth_names => auth_names,
257
+ :return_type => 'InlineResponse2012')
258
+ if @api_client.config.debugging
259
+ begin
260
+ raise
261
+ @api_client.config.logger.debug "API called: CreateNewWebhooksApi#save_sym_egress_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
262
+ rescue
263
+ puts 'Cannot write to log'
264
+ end
265
+ end
266
+ return data, status_code, headers
267
+ end
268
+ end
269
+ end
@@ -67,6 +67,8 @@ module CyberSource
67
67
 
68
68
  # http body (model)
69
69
  post_body = @api_client.object_to_http_body(create_credit_request)
70
+ sdk_tracker = SdkTracker.new
71
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateCreditRequest', @api_client.config.host)
70
72
  auth_names = []
71
73
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
72
74
  :header_params => header_params,
@@ -278,6 +278,8 @@ module CyberSource
278
278
 
279
279
  # http body (model)
280
280
  post_body = @api_client.object_to_http_body(patch_customer_request)
281
+ sdk_tracker = SdkTracker.new
282
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchCustomerRequest', @api_client.config.host)
281
283
  auth_names = []
282
284
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
283
285
  :header_params => header_params,
@@ -354,6 +356,8 @@ module CyberSource
354
356
 
355
357
  # http body (model)
356
358
  post_body = @api_client.object_to_http_body(post_customer_request)
359
+ sdk_tracker = SdkTracker.new
360
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostCustomerRequest', @api_client.config.host)
357
361
  auth_names = []
358
362
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
359
363
  :header_params => header_params,
@@ -426,6 +426,8 @@ module CyberSource
426
426
 
427
427
  # http body (model)
428
428
  post_body = @api_client.object_to_http_body(patch_customer_payment_instrument_request)
429
+ sdk_tracker = SdkTracker.new
430
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchCustomerPaymentInstrumentRequest', @api_client.config.host)
429
431
  auth_names = []
430
432
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
431
433
  :header_params => header_params,
@@ -516,6 +518,8 @@ module CyberSource
516
518
 
517
519
  # http body (model)
518
520
  post_body = @api_client.object_to_http_body(post_customer_payment_instrument_request)
521
+ sdk_tracker = SdkTracker.new
522
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostCustomerPaymentInstrumentRequest', @api_client.config.host)
519
523
  auth_names = []
520
524
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
521
525
  :header_params => header_params,
@@ -426,6 +426,8 @@ module CyberSource
426
426
 
427
427
  # http body (model)
428
428
  post_body = @api_client.object_to_http_body(patch_customer_shipping_address_request)
429
+ sdk_tracker = SdkTracker.new
430
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchCustomerShippingAddressRequest', @api_client.config.host)
429
431
  auth_names = []
430
432
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
431
433
  :header_params => header_params,
@@ -516,6 +518,8 @@ module CyberSource
516
518
 
517
519
  # http body (model)
518
520
  post_body = @api_client.object_to_http_body(post_customer_shipping_address_request)
521
+ sdk_tracker = SdkTracker.new
522
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostCustomerShippingAddressRequest', @api_client.config.host)
519
523
  auth_names = []
520
524
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
521
525
  :header_params => header_params,
@@ -73,6 +73,8 @@ module CyberSource
73
73
 
74
74
  # http body (model)
75
75
  post_body = @api_client.object_to_http_body(case_management_actions_request)
76
+ sdk_tracker = SdkTracker.new
77
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CaseManagementActionsRequest', @api_client.config.host)
76
78
  auth_names = []
77
79
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
78
80
  :header_params => header_params,
@@ -144,6 +146,8 @@ module CyberSource
144
146
 
145
147
  # http body (model)
146
148
  post_body = @api_client.object_to_http_body(add_negative_list_request)
149
+ sdk_tracker = SdkTracker.new
150
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'AddNegativeListRequest', @api_client.config.host)
147
151
  auth_names = []
148
152
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
149
153
  :header_params => header_params,
@@ -215,6 +219,8 @@ module CyberSource
215
219
 
216
220
  # http body (model)
217
221
  post_body = @api_client.object_to_http_body(case_management_comments_request)
222
+ sdk_tracker = SdkTracker.new
223
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CaseManagementCommentsRequest', @api_client.config.host)
218
224
  auth_names = []
219
225
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
220
226
  :header_params => header_params,
@@ -280,6 +286,8 @@ module CyberSource
280
286
 
281
287
  # http body (model)
282
288
  post_body = @api_client.object_to_http_body(create_bundled_decision_manager_case_request)
289
+ sdk_tracker = SdkTracker.new
290
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateBundledDecisionManagerCaseRequest', @api_client.config.host)
283
291
  auth_names = []
284
292
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
285
293
  :header_params => header_params,
@@ -351,6 +359,8 @@ module CyberSource
351
359
 
352
360
  # http body (model)
353
361
  post_body = @api_client.object_to_http_body(fraud_marking_action_request)
362
+ sdk_tracker = SdkTracker.new
363
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'FraudMarkingActionRequest', @api_client.config.host)
354
364
  auth_names = []
355
365
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
356
366
  :header_params => header_params,
@@ -130,6 +130,8 @@ module CyberSource
130
130
 
131
131
  # http body (model)
132
132
  post_body = @api_client.object_to_http_body(body)
133
+ sdk_tracker = SdkTracker.new
134
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'Body', @api_client.config.host)
133
135
  auth_names = []
134
136
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
135
137
  :header_params => header_params,
@@ -384,6 +384,8 @@ module CyberSource
384
384
 
385
385
  # http body (model)
386
386
  post_body = @api_client.object_to_http_body(patch_instrument_identifier_request)
387
+ sdk_tracker = SdkTracker.new
388
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchInstrumentIdentifierRequest', @api_client.config.host)
387
389
  auth_names = []
388
390
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
389
391
  :header_params => header_params,
@@ -460,6 +462,8 @@ module CyberSource
460
462
 
461
463
  # http body (model)
462
464
  post_body = @api_client.object_to_http_body(post_instrument_identifier_request)
465
+ sdk_tracker = SdkTracker.new
466
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostInstrumentIdentifierRequest', @api_client.config.host)
463
467
  auth_names = []
464
468
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
465
469
  :header_params => header_params,
@@ -550,6 +554,8 @@ module CyberSource
550
554
 
551
555
  # http body (model)
552
556
  post_body = @api_client.object_to_http_body(post_instrument_identifier_enrollment_request)
557
+ sdk_tracker = SdkTracker.new
558
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostInstrumentIdentifierEnrollmentRequest', @api_client.config.host)
553
559
  auth_names = []
554
560
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
555
561
  :header_params => header_params,