cybersource_rest_client 0.0.56 → 0.0.57

Sign up to get free protection for your applications and to get access to all the features.
Files changed (357) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +8 -0
  3. data/lib/cybersource_rest_client/api/batches_api.rb +8 -28
  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/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 +21 -37
  10. data/lib/cybersource_rest_client/api/credit_api.rb +2 -0
  11. data/lib/cybersource_rest_client/api/customer_api.rb +8 -64
  12. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +10 -124
  13. data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +10 -124
  14. data/lib/cybersource_rest_client/api/decision_manager_api.rb +10 -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 +4 -0
  18. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +12 -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 +4 -0
  21. data/lib/cybersource_rest_client/api/invoices_api.rb +12 -0
  22. data/lib/cybersource_rest_client/api/keymanagement_api.rb +2 -0
  23. data/lib/cybersource_rest_client/api/keymanagementpassword_api.rb +2 -0
  24. data/lib/cybersource_rest_client/api/keymanagementpgp_api.rb +2 -0
  25. data/lib/cybersource_rest_client/api/keymanagementscmp_api.rb +2 -0
  26. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +77 -93
  27. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +2 -2
  28. data/lib/cybersource_rest_client/api/microform_integration_api.rb +2 -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 +6 -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 +8 -64
  34. data/lib/cybersource_rest_client/api/payments_api.rb +6 -0
  35. data/lib/cybersource_rest_client/api/payouts_api.rb +2 -0
  36. data/lib/cybersource_rest_client/api/plans_api.rb +16 -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 +2 -0
  39. data/lib/cybersource_rest_client/api/refund_api.rb +4 -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 +12 -58
  43. data/lib/cybersource_rest_client/api/reports_api.rb +8 -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 +4 -0
  47. data/lib/cybersource_rest_client/api/search_transactions_api.rb +4 -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 +16 -0
  50. data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +8 -0
  51. data/lib/cybersource_rest_client/api/taxes_api.rb +4 -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 +2 -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 +2 -0
  59. data/lib/cybersource_rest_client/api/verification_api.rb +4 -0
  60. data/lib/cybersource_rest_client/api/void_api.rb +10 -0
  61. data/lib/cybersource_rest_client/models/boardingv1registrations_product_information_selected_products.rb +1 -1
  62. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater.rb +1 -1
  63. data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup.rb +1 -1
  64. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management.rb +1 -1
  65. data/lib/cybersource_rest_client/models/create_search_request.rb +1 -1
  66. data/lib/cybersource_rest_client/models/{create_webhook.rb → create_webhook_request.rb} +1 -1
  67. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_bill_to.rb +2 -2
  68. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +1 -1
  69. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +1 -1
  70. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb +1 -1
  71. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response_key_information.rb +1 -1
  72. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response_key_information.rb +1 -1
  73. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_key_information.rb +1 -1
  74. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +1 -1
  75. data/lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb +1 -1
  76. data/lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb +1 -1
  77. data/lib/cybersource_rest_client/models/kmsv2keyssymdeletes_key_information.rb +1 -1
  78. data/lib/cybersource_rest_client/models/kmsv2keyssymverifi_key_information.rb +1 -1
  79. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present.rb +4 -4
  80. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_installment.rb +1 -1
  81. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_payouts.rb +2 -2
  82. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_processors.rb +2 -2
  83. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_present_processors.rb +1 -1
  84. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_common_merchant_descriptor_info.rb +2 -2
  85. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_features_card_not_present_payouts_currencies.rb +1 -1
  86. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service.rb +3 -3
  87. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_internal_only.rb +1 -1
  88. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_processors.rb +1 -1
  89. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_j_cbj_secure.rb +2 -2
  90. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified.rb +2 -2
  91. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified_currencies.rb +1 -1
  92. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_customer_notifications.rb +1 -1
  93. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_merchant_notifications.rb +1 -1
  94. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types.rb +5 -5
  95. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types_discover.rb +1 -1
  96. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info.rb +4 -4
  97. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info_basic_info.rb +1 -1
  98. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_merchant_defined_data_fields.rb +1 -1
  99. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_payment_info.rb +1 -1
  100. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info.rb +4 -4
  101. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_email_receipt.rb +1 -1
  102. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_header.rb +1 -1
  103. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_order_info.rb +1 -1
  104. data/lib/cybersource_rest_client/models/{payment_products.rb → payments_products.rb} +18 -18
  105. data/lib/cybersource_rest_client/models/{payment_products_currency_conversion.rb → payments_products_card_present_connect.rb} +3 -3
  106. data/lib/cybersource_rest_client/models/{payment_products_currency_conversion_configuration_information.rb → payments_products_card_present_connect_configuration_information.rb} +2 -2
  107. data/lib/cybersource_rest_client/models/{payment_products_card_present_connect_configuration_information_configurations.rb → payments_products_card_present_connect_configuration_information_configurations.rb} +1 -1
  108. data/lib/cybersource_rest_client/models/{payment_products_card_present_connect_subscription_information.rb → payments_products_card_present_connect_subscription_information.rb} +1 -1
  109. data/lib/cybersource_rest_client/models/{payment_products_card_processing.rb → payments_products_card_processing.rb} +3 -3
  110. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_configuration_information.rb → payments_products_card_processing_configuration_information.rb} +2 -2
  111. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations.rb → payments_products_card_processing_configuration_information_configurations.rb} +3 -3
  112. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common.rb → payments_products_card_processing_configuration_information_configurations_common.rb} +4 -4
  113. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_acquirer.rb → payments_products_card_processing_configuration_information_configurations_common_acquirer.rb} +1 -1
  114. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_currencies.rb → payments_products_card_processing_configuration_information_configurations_common_currencies.rb} +1 -1
  115. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_currencies_1.rb → payments_products_card_processing_configuration_information_configurations_common_currencies_1.rb} +1 -1
  116. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_payment_types.rb → payments_products_card_processing_configuration_information_configurations_common_payment_types.rb} +2 -2
  117. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_processors.rb → payments_products_card_processing_configuration_information_configurations_common_processors.rb} +10 -10
  118. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_features.rb → payments_products_card_processing_configuration_information_configurations_features.rb} +3 -3
  119. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_features_card_present.rb → payments_products_card_processing_configuration_information_configurations_features_card_present.rb} +2 -2
  120. data/lib/cybersource_rest_client/models/{payment_products_card_processing_subscription_information.rb → payments_products_card_processing_subscription_information.rb} +2 -2
  121. data/lib/cybersource_rest_client/models/{payment_products_card_processing_subscription_information_features.rb → payments_products_card_processing_subscription_information_features.rb} +1 -1
  122. data/lib/cybersource_rest_client/models/payments_products_currency_conversion.rb +200 -0
  123. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information.rb → payments_products_currency_conversion_configuration_information.rb} +2 -2
  124. data/lib/cybersource_rest_client/models/{payment_products_currency_conversion_configuration_information_configurations.rb → payments_products_currency_conversion_configuration_information_configurations.rb} +2 -2
  125. data/lib/cybersource_rest_client/models/{payment_products_currency_conversion_configuration_information_configurations_processors.rb → payments_products_currency_conversion_configuration_information_configurations_processors.rb} +1 -1
  126. data/lib/cybersource_rest_client/models/{payment_products_cybs_ready_terminal.rb → payments_products_cybs_ready_terminal.rb} +2 -2
  127. data/lib/cybersource_rest_client/models/{payment_products_differential_fee.rb → payments_products_differential_fee.rb} +2 -2
  128. data/lib/cybersource_rest_client/models/{payment_products_differential_fee_subscription_information.rb → payments_products_differential_fee_subscription_information.rb} +2 -2
  129. data/lib/cybersource_rest_client/models/{payment_products_differential_fee_subscription_information_features.rb → payments_products_differential_fee_subscription_information_features.rb} +2 -2
  130. data/lib/cybersource_rest_client/models/{payment_products_digital_payments.rb → payments_products_digital_payments.rb} +2 -2
  131. data/lib/cybersource_rest_client/models/{payment_products_digital_payments_subscription_information.rb → payments_products_digital_payments_subscription_information.rb} +2 -2
  132. data/lib/cybersource_rest_client/models/{payment_products_payouts.rb → payments_products_e_check.rb} +3 -3
  133. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common_internal_only_processors.rb → payments_products_e_check_config_common_internal_only_processors.rb} +1 -1
  134. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information.rb → payments_products_e_check_configuration_information.rb} +2 -2
  135. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations.rb → payments_products_e_check_configuration_information_configurations.rb} +4 -4
  136. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common.rb → payments_products_e_check_configuration_information_configurations_common.rb} +3 -3
  137. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common_internal_only.rb → payments_products_e_check_configuration_information_configurations_common_internal_only.rb} +2 -2
  138. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common_processors.rb → payments_products_e_check_configuration_information_configurations_common_processors.rb} +1 -1
  139. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_features.rb → payments_products_e_check_configuration_information_configurations_features.rb} +2 -2
  140. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_underwriting.rb → payments_products_e_check_configuration_information_configurations_underwriting.rb} +4 -4
  141. data/lib/cybersource_rest_client/models/{payment_products_e_check_subscription_information.rb → payments_products_e_check_subscription_information.rb} +1 -1
  142. data/lib/cybersource_rest_client/models/payments_products_payer_authentication.rb +200 -0
  143. data/lib/cybersource_rest_client/models/{payment_products_card_present_connect_configuration_information.rb → payments_products_payer_authentication_configuration_information.rb} +2 -2
  144. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information_configurations.rb → payments_products_payer_authentication_configuration_information_configurations.rb} +2 -2
  145. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information_configurations_card_types.rb → payments_products_payer_authentication_configuration_information_configurations_card_types.rb} +9 -9
  146. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information_configurations_card_types_cb.rb → payments_products_payer_authentication_configuration_information_configurations_card_types_cb.rb} +2 -2
  147. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_subscription_information.rb → payments_products_payer_authentication_subscription_information.rb} +1 -1
  148. data/lib/cybersource_rest_client/models/{payment_products_e_check.rb → payments_products_payouts.rb} +3 -3
  149. data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information.rb → payments_products_payouts_configuration_information.rb} +2 -2
  150. data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations.rb → payments_products_payouts_configuration_information_configurations.rb} +3 -3
  151. data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations_processor_account.rb → payments_products_payouts_configuration_information_configurations_processor_account.rb} +1 -1
  152. data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations_pullfunds.rb → payments_products_payouts_configuration_information_configurations_pullfunds.rb} +1 -1
  153. data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations_pushfunds.rb → payments_products_payouts_configuration_information_configurations_pushfunds.rb} +2 -2
  154. data/lib/cybersource_rest_client/models/{payment_products_card_present_connect.rb → payments_products_secure_acceptance.rb} +3 -3
  155. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information.rb → payments_products_secure_acceptance_configuration_information.rb} +2 -2
  156. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations.rb → payments_products_secure_acceptance_configuration_information_configurations.rb} +7 -7
  157. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_checkout.rb → payments_products_secure_acceptance_configuration_information_configurations_checkout.rb} +1 -1
  158. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_contact_information.rb → payments_products_secure_acceptance_configuration_information_configurations_contact_information.rb} +1 -1
  159. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_notifications.rb → payments_products_secure_acceptance_configuration_information_configurations_notifications.rb} +3 -3
  160. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_payment_methods.rb → payments_products_secure_acceptance_configuration_information_configurations_payment_methods.rb} +1 -1
  161. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_payment_types.rb → payments_products_secure_acceptance_configuration_information_configurations_payment_types.rb} +2 -2
  162. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_service.rb → payments_products_secure_acceptance_configuration_information_configurations_service.rb} +1 -1
  163. data/lib/cybersource_rest_client/models/{payment_products_tax.rb → payments_products_tax.rb} +2 -2
  164. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance.rb → payments_products_virtual_terminal.rb} +3 -3
  165. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information.rb → payments_products_virtual_terminal_configuration_information.rb} +2 -2
  166. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_configuration_information_configurations.rb → payments_products_virtual_terminal_configuration_information_configurations.rb} +3 -3
  167. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_configuration_information_configurations_card_not_present.rb → payments_products_virtual_terminal_configuration_information_configurations_card_not_present.rb} +3 -3
  168. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
  169. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +1 -1
  170. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +4 -4
  171. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_ship_to.rb +6 -6
  172. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type_method.rb +1 -1
  173. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +3 -3
  174. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +4 -4
  175. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +3 -3
  176. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +1 -1
  177. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +1 -1
  178. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
  179. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -1
  180. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +1 -1
  181. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +3 -3
  182. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +18 -18
  183. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_info_codes.rb +3 -3
  184. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +1 -1
  185. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information.rb +1 -1
  186. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
  187. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +3 -3
  188. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +1 -1
  189. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
  190. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +8 -8
  191. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +1 -1
  192. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +4 -4
  193. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +1 -1
  194. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +1 -1
  195. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +1 -1
  196. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +1 -1
  197. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +4 -4
  198. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +1 -1
  199. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +1 -1
  200. data/lib/cybersource_rest_client/models/ptsv2billingagreements_device_information.rb +2 -2
  201. data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +1 -1
  202. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +2 -2
  203. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +3 -3
  204. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +5 -5
  205. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_card.rb +1 -1
  206. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +2 -2
  207. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +1 -1
  208. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +3 -3
  209. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +1 -1
  210. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +9 -9
  211. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +5 -5
  212. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +1 -1
  213. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +1 -1
  214. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1 -1
  215. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +5 -5
  216. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +3 -3
  217. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +4 -4
  218. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +5 -5
  219. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +3 -3
  220. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_location.rb +4 -4
  221. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +2 -2
  222. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +9 -9
  223. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -1
  224. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +1 -1
  225. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +1 -1
  226. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +1 -1
  227. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +7 -7
  228. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +2 -2
  229. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +1 -1
  230. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +2 -2
  231. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
  232. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb +1 -1
  233. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +3 -3
  234. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +4 -4
  235. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +2 -2
  236. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +6 -6
  237. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +1 -1
  238. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
  239. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +2 -2
  240. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +5 -5
  241. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +1 -1
  242. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +4 -4
  243. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +1 -1
  244. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +1 -1
  245. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +1 -1
  246. data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information.rb +1 -1
  247. data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information_weights.rb +2 -2
  248. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +1 -1
  249. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +8 -8
  250. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +3 -3
  251. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +1 -1
  252. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +3 -3
  253. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +1 -1
  254. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +1 -1
  255. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +6 -6
  256. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +1 -1
  257. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +3 -3
  258. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +1 -1
  259. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +1 -1
  260. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +1 -1
  261. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +1 -1
  262. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +2 -2
  263. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +1 -1
  264. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +1 -1
  265. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +5 -5
  266. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +4 -4
  267. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -1
  268. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
  269. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +1 -1
  270. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +5 -5
  271. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +1 -1
  272. data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_customer.rb +1 -1
  273. data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +1 -1
  274. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +1 -1
  275. data/lib/cybersource_rest_client/models/{replay_webhooks.rb → replay_webhooks_request.rb} +1 -1
  276. data/lib/cybersource_rest_client/models/risk_products_decision_manager.rb +1 -1
  277. data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials.rb +1 -1
  278. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +4 -4
  279. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +1 -1
  280. data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +1 -1
  281. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +1 -1
  282. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +1 -1
  283. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +7 -7
  284. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -1
  285. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +2 -2
  286. data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +2 -2
  287. data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +2 -2
  288. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +4 -4
  289. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -1
  290. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +2 -2
  291. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -1
  292. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +2 -2
  293. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +2 -2
  294. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
  295. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +6 -6
  296. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +1 -1
  297. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +1 -1
  298. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +4 -4
  299. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +2 -2
  300. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +7 -7
  301. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -1
  302. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +2 -2
  303. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb +1 -1
  304. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +3 -3
  305. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +1 -1
  306. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +1 -1
  307. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +4 -4
  308. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +6 -6
  309. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +1 -1
  310. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -1
  311. data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +2 -2
  312. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +1 -1
  313. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +1 -1
  314. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +5 -5
  315. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +1 -1
  316. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +1 -1
  317. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +2 -2
  318. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +1 -1
  319. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +3 -3
  320. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +1 -1
  321. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +1 -1
  322. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb +1 -1
  323. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +1 -1
  324. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +7 -7
  325. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +6 -6
  326. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +3 -3
  327. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +3 -3
  328. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +2 -2
  329. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +1 -1
  330. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
  331. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +2 -2
  332. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +1 -1
  333. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +2 -2
  334. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +10 -10
  335. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +1 -1
  336. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +1 -1
  337. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +4 -4
  338. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +2 -2
  339. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_bank_account.rb +1 -1
  340. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +1 -1
  341. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +1 -1
  342. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +2 -2
  343. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +1 -1
  344. data/lib/cybersource_rest_client/models/tssv2transactionsemv_tag_details_emv_details_list.rb +1 -1
  345. data/lib/cybersource_rest_client/models/{update_webhook.rb → update_webhook_request.rb} +1 -1
  346. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to.rb +7 -7
  347. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to_company.rb +3 -3
  348. data/lib/cybersource_rest_client/models/value_added_services_products.rb +2 -2
  349. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_tax_information.rb +1 -1
  350. data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +1 -1
  351. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +2 -2
  352. data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +7 -7
  353. data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +1 -1
  354. data/lib/cybersource_rest_client.rb +67 -67
  355. metadata +70 -70
  356. data/lib/cybersource_rest_client/models/payment_products_payer_authentication.rb +0 -200
  357. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal.rb +0 -200
@@ -22,11 +22,13 @@ module CyberSource
22
22
  end
23
23
  # Download a Report
24
24
  # Download a report using the unique report name and date.
25
+ #
25
26
  # @param report_date Valid date on which to download the report in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** yyyy-mm-dd For reports that span multiple days, this value would be the end date of the report in the time zone of the report subscription. Example 1: If your report start date is 2020-03-06 and the end date is 2020-03-09, the reportDate passed in the query is 2020-03-09. Example 2: If your report runs from midnight to midnight on 2020-03-09, the reportDate passed in the query is 2020-03-10
26
27
  # @param report_name Name of the report to download
27
28
  # @param [Hash] opts the optional parameters
28
29
  # @option opts [String] :organization_id Valid Organization Id
29
30
  # @return [nil]
31
+ #
30
32
  def download_report(report_date, report_name, opts = {})
31
33
  data, status_code, headers = download_report_with_http_info(report_date, report_name, opts)
32
34
  return data, status_code, headers
@@ -57,14 +59,6 @@ module CyberSource
57
59
  if @api_client.config.client_side_validation && report_name.nil?
58
60
  fail ArgumentError, "Missing the required parameter 'report_name' when calling ReportDownloadsApi.download_report"
59
61
  end
60
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
61
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportDownloadsApi.download_report, the character length must be smaller than or equal to 32.'
62
- end
63
-
64
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
65
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportDownloadsApi.download_report, the character length must be great than or equal to 1.'
66
- end
67
-
68
62
  #if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
69
63
  #fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling ReportDownloadsApi.download_report, must conform to the pattern /[a-zA-Z0-9-_]+/."
70
64
  #end
@@ -22,10 +22,12 @@ module CyberSource
22
22
  end
23
23
  # Create a Standard or Classic Subscription
24
24
  # Create or update an already existing classic or standard subscription.
25
+ #
25
26
  # @param predefined_subscription_request_bean Report subscription request payload
26
27
  # @param [Hash] opts the optional parameters
27
28
  # @option opts [String] :organization_id Valid Organization Id
28
29
  # @return [nil]
30
+ #
29
31
  def create_standard_or_classic_subscription(predefined_subscription_request_bean, opts = {})
30
32
  data, status_code, headers = create_standard_or_classic_subscription_with_http_info(predefined_subscription_request_bean, opts)
31
33
  return data, status_code, headers
@@ -51,14 +53,6 @@ module CyberSource
51
53
  if @api_client.config.client_side_validation && predefined_subscription_request_bean.nil?
52
54
  fail ArgumentError, "Missing the required parameter 'predefined_subscription_request_bean' when calling ReportSubscriptionsApi.create_standard_or_classic_subscription"
53
55
  end
54
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
55
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportSubscriptionsApi.create_standard_or_classic_subscription, the character length must be smaller than or equal to 32.'
56
- end
57
-
58
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
59
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportSubscriptionsApi.create_standard_or_classic_subscription, the character length must be great than or equal to 1.'
60
- end
61
-
62
56
  #if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
63
57
  #fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling ReportSubscriptionsApi.create_standard_or_classic_subscription, must conform to the pattern /[a-zA-Z0-9-_]+/."
64
58
  #end
@@ -103,10 +97,12 @@ module CyberSource
103
97
  end
104
98
  # Create Report Subscription for a Report Name by Organization
105
99
  # Create a report subscription for your organization. The report name must be unique.
100
+ #
106
101
  # @param create_report_subscription_request Report subscription request payload
107
102
  # @param [Hash] opts the optional parameters
108
103
  # @option opts [String] :organization_id Valid Organization Id
109
104
  # @return [nil]
105
+ #
110
106
  def create_subscription(create_report_subscription_request, opts = {})
111
107
  data, status_code, headers = create_subscription_with_http_info(create_report_subscription_request, opts)
112
108
  return data, status_code, headers
@@ -132,14 +128,6 @@ module CyberSource
132
128
  if @api_client.config.client_side_validation && create_report_subscription_request.nil?
133
129
  fail ArgumentError, "Missing the required parameter 'create_report_subscription_request' when calling ReportSubscriptionsApi.create_subscription"
134
130
  end
135
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
136
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportSubscriptionsApi.create_subscription, the character length must be smaller than or equal to 32.'
137
- end
138
-
139
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
140
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportSubscriptionsApi.create_subscription, the character length must be great than or equal to 1.'
141
- end
142
-
143
131
  #if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
144
132
  #fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling ReportSubscriptionsApi.create_subscription, must conform to the pattern /[a-zA-Z0-9-_]+/."
145
133
  #end
@@ -184,10 +172,12 @@ module CyberSource
184
172
  end
185
173
  # Delete Subscription of a Report Name by Organization
186
174
  # Delete a report subscription for your organization. You must know the unique name of the report you want to delete.
175
+ #
187
176
  # @param report_name Name of the Report to Delete
188
177
  # @param [Hash] opts the optional parameters
189
178
  # @option opts [String] :organization_id Valid Organization Id
190
179
  # @return [nil]
180
+ #
191
181
  def delete_subscription(report_name, opts = {})
192
182
  data, status_code, headers = delete_subscription_with_http_info(report_name, opts)
193
183
  return data, status_code, headers
@@ -213,26 +203,10 @@ module CyberSource
213
203
  if @api_client.config.client_side_validation && report_name.nil?
214
204
  fail ArgumentError, "Missing the required parameter 'report_name' when calling ReportSubscriptionsApi.delete_subscription"
215
205
  end
216
- if @api_client.config.client_side_validation && report_name.to_s.length > 80
217
- fail ArgumentError, 'invalid value for "report_name" when calling ReportSubscriptionsApi.delete_subscription, the character length must be smaller than or equal to 80.'
218
- end
219
-
220
- if @api_client.config.client_side_validation && report_name.to_s.length < 1
221
- fail ArgumentError, 'invalid value for "report_name" when calling ReportSubscriptionsApi.delete_subscription, the character length must be great than or equal to 1.'
222
- end
223
-
224
206
  #if @api_client.config.client_side_validation && report_name !~ Regexp.new(/[a-zA-Z0-9-_+]+/)
225
207
  #fail ArgumentError, "invalid value for 'report_name' when calling ReportSubscriptionsApi.delete_subscription, must conform to the pattern /[a-zA-Z0-9-_+]+/."
226
208
  #end
227
209
 
228
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
229
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportSubscriptionsApi.delete_subscription, the character length must be smaller than or equal to 32.'
230
- end
231
-
232
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
233
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportSubscriptionsApi.delete_subscription, the character length must be great than or equal to 1.'
234
- end
235
-
236
210
  #if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
237
211
  #fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling ReportSubscriptionsApi.delete_subscription, must conform to the pattern /[a-zA-Z0-9-_]+/."
238
212
  #end
@@ -279,9 +253,11 @@ module CyberSource
279
253
  end
280
254
  # Get All Subscriptions
281
255
  # View a summary of all report subscriptions.
256
+ #
282
257
  # @param [Hash] opts the optional parameters
283
258
  # @option opts [String] :organization_id Valid Organization Id
284
259
  # @return [ReportingV3ReportSubscriptionsGet200Response]
260
+ #
285
261
  def get_all_subscriptions(opts = {})
286
262
  data, status_code, headers = get_all_subscriptions_with_http_info(opts)
287
263
  return data, status_code, headers
@@ -302,14 +278,6 @@ module CyberSource
302
278
  puts 'Cannot write to log'
303
279
  end
304
280
  end
305
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
306
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportSubscriptionsApi.get_all_subscriptions, the character length must be smaller than or equal to 32.'
307
- end
308
-
309
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
310
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportSubscriptionsApi.get_all_subscriptions, the character length must be great than or equal to 1.'
311
- end
312
-
313
281
  #if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
314
282
  #fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling ReportSubscriptionsApi.get_all_subscriptions, must conform to the pattern /[a-zA-Z0-9-_]+/."
315
283
  #end
@@ -356,18 +324,20 @@ module CyberSource
356
324
  return data, status_code, headers
357
325
  end
358
326
  # Get Subscription for Report Name
359
- # View the details of a report subscription, such as the report format or report frequency, using the reports unique name.
327
+ # View the details of a report subscription, such as the report format or report frequency, using the report's unique name.
328
+ #
360
329
  # @param report_name Name of the Report to Retrieve
361
330
  # @param [Hash] opts the optional parameters
362
331
  # @option opts [String] :organization_id Valid Organization Id
363
332
  # @return [ReportingV3ReportSubscriptionsGet200ResponseSubscriptions]
333
+ #
364
334
  def get_subscription(report_name, opts = {})
365
335
  data, status_code, headers = get_subscription_with_http_info(report_name, opts)
366
336
  return data, status_code, headers
367
337
  end
368
338
 
369
339
  # Get Subscription for Report Name
370
- # View the details of a report subscription, such as the report format or report frequency, using the reports unique name.
340
+ # View the details of a report subscription, such as the report format or report frequency, using the report&#39;s unique name.
371
341
  # @param report_name Name of the Report to Retrieve
372
342
  # @param [Hash] opts the optional parameters
373
343
  # @option opts [String] :organization_id Valid Organization Id
@@ -386,26 +356,10 @@ module CyberSource
386
356
  if @api_client.config.client_side_validation && report_name.nil?
387
357
  fail ArgumentError, "Missing the required parameter 'report_name' when calling ReportSubscriptionsApi.get_subscription"
388
358
  end
389
- if @api_client.config.client_side_validation && report_name.to_s.length > 80
390
- fail ArgumentError, 'invalid value for "report_name" when calling ReportSubscriptionsApi.get_subscription, the character length must be smaller than or equal to 80.'
391
- end
392
-
393
- if @api_client.config.client_side_validation && report_name.to_s.length < 1
394
- fail ArgumentError, 'invalid value for "report_name" when calling ReportSubscriptionsApi.get_subscription, the character length must be great than or equal to 1.'
395
- end
396
-
397
359
  #if @api_client.config.client_side_validation && report_name !~ Regexp.new(/[a-zA-Z0-9-_+]+/)
398
360
  #fail ArgumentError, "invalid value for 'report_name' when calling ReportSubscriptionsApi.get_subscription, must conform to the pattern /[a-zA-Z0-9-_+]+/."
399
361
  #end
400
362
 
401
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
402
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportSubscriptionsApi.get_subscription, the character length must be smaller than or equal to 32.'
403
- end
404
-
405
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
406
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportSubscriptionsApi.get_subscription, the character length must be great than or equal to 1.'
407
- end
408
-
409
363
  #if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
410
364
  #fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling ReportSubscriptionsApi.get_subscription, must conform to the pattern /[a-zA-Z0-9-_]+/."
411
365
  #end
@@ -22,10 +22,12 @@ module CyberSource
22
22
  end
23
23
  # Create Adhoc Report
24
24
  # Create a one-time report. You must specify the type of report in reportDefinitionName. For a list of values for reportDefinitionName, see the [Reporting Developer Guide](https://www.cybersource.com/developers/documentation/reporting_and_reconciliation)
25
+ #
25
26
  # @param create_adhoc_report_request Report subscription request payload
26
27
  # @param [Hash] opts the optional parameters
27
28
  # @option opts [String] :organization_id Valid Organization Id
28
29
  # @return [nil]
30
+ #
29
31
  def create_report(create_adhoc_report_request, opts = {})
30
32
  data, status_code, headers = create_report_with_http_info(create_adhoc_report_request, opts)
31
33
  return data, status_code, headers
@@ -51,14 +53,6 @@ module CyberSource
51
53
  if @api_client.config.client_side_validation && create_adhoc_report_request.nil?
52
54
  fail ArgumentError, "Missing the required parameter 'create_adhoc_report_request' when calling ReportsApi.create_report"
53
55
  end
54
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
55
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportsApi.create_report, the character length must be smaller than or equal to 32.'
56
- end
57
-
58
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
59
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportsApi.create_report, the character length must be great than or equal to 1.'
60
- end
61
-
62
56
  #if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
63
57
  #fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling ReportsApi.create_report, must conform to the pattern /[a-zA-Z0-9-_]+/."
64
58
  #end
@@ -102,18 +96,20 @@ module CyberSource
102
96
  return data, status_code, headers
103
97
  end
104
98
  # Get Report Based on Report Id
105
- # Download a report using the reportId value. If you dont already know this value, you can obtain it using the Retrieve available reports call.
99
+ # Download a report using the reportId value. If you don't already know this value, you can obtain it using the Retrieve available reports call.
100
+ #
106
101
  # @param report_id Valid Report Id
107
102
  # @param [Hash] opts the optional parameters
108
103
  # @option opts [String] :organization_id Valid Organization Id
109
104
  # @return [ReportingV3ReportsIdGet200Response]
105
+ #
110
106
  def get_report_by_report_id(report_id, opts = {})
111
107
  data, status_code, headers = get_report_by_report_id_with_http_info(report_id, opts)
112
108
  return data, status_code, headers
113
109
  end
114
110
 
115
111
  # Get Report Based on Report Id
116
- # Download a report using the reportId value. If you dont already know this value, you can obtain it using the Retrieve available reports call.
112
+ # Download a report using the reportId value. If you don&#39;t already know this value, you can obtain it using the Retrieve available reports call.
117
113
  # @param report_id Valid Report Id
118
114
  # @param [Hash] opts the optional parameters
119
115
  # @option opts [String] :organization_id Valid Organization Id
@@ -132,14 +128,6 @@ module CyberSource
132
128
  if @api_client.config.client_side_validation && report_id.nil?
133
129
  fail ArgumentError, "Missing the required parameter 'report_id' when calling ReportsApi.get_report_by_report_id"
134
130
  end
135
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
136
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportsApi.get_report_by_report_id, the character length must be smaller than or equal to 32.'
137
- end
138
-
139
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
140
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportsApi.get_report_by_report_id, the character length must be great than or equal to 1.'
141
- end
142
-
143
131
  #if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
144
132
  #fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling ReportsApi.get_report_by_report_id, must conform to the pattern /[a-zA-Z0-9-_]+/."
145
133
  #end
@@ -187,6 +175,7 @@ module CyberSource
187
175
  end
188
176
  # Retrieve Available Reports
189
177
  # Retrieve a list of the available reports to which you are subscribed. This will also give you the reportId value, which you can also use to download a report.
178
+ #
190
179
  # @param start_time Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
191
180
  # @param end_time Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
192
181
  # @param time_query_type Specify time you would like to search Valid values: - reportTimeFrame - executedTime
@@ -198,6 +187,7 @@ module CyberSource
198
187
  # @option opts [Integer] :report_definition_id Valid Report Definition Id
199
188
  # @option opts [String] :report_status Valid Report Status Valid values: - COMPLETED - PENDING - QUEUED - RUNNING - ERROR - NO_DATA
200
189
  # @return [ReportingV3ReportsGet200Response]
190
+ #
201
191
  def search_reports(start_time, end_time, time_query_type, opts = {})
202
192
  data, status_code, headers = search_reports_with_http_info(start_time, end_time, time_query_type, opts)
203
193
  return data, status_code, headers
@@ -238,14 +228,6 @@ module CyberSource
238
228
  if @api_client.config.client_side_validation && time_query_type.nil?
239
229
  fail ArgumentError, "Missing the required parameter 'time_query_type' when calling ReportsApi.search_reports"
240
230
  end
241
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
242
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportsApi.search_reports, the character length must be smaller than or equal to 32.'
243
- end
244
-
245
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
246
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling ReportsApi.search_reports, the character length must be great than or equal to 1.'
247
- end
248
-
249
231
  #if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
250
232
  #fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling ReportsApi.search_reports, must conform to the pattern /[a-zA-Z0-9-_]+/."
251
233
  #end
@@ -22,11 +22,13 @@ module CyberSource
22
22
  end
23
23
  # Get Retrieval Details
24
24
  # Retrieval Detail Report Description
25
+ #
25
26
  # @param start_time Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
26
27
  # @param end_time Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
27
28
  # @param [Hash] opts the optional parameters
28
29
  # @option opts [String] :organization_id Valid Organization Id
29
30
  # @return [ReportingV3RetrievalDetailsGet200Response]
31
+ #
30
32
  def get_retrieval_details(start_time, end_time, opts = {})
31
33
  data, status_code, headers = get_retrieval_details_with_http_info(start_time, end_time, opts)
32
34
  return data, status_code, headers
@@ -57,14 +59,6 @@ module CyberSource
57
59
  if @api_client.config.client_side_validation && end_time.nil?
58
60
  fail ArgumentError, "Missing the required parameter 'end_time' when calling RetrievalDetailsApi.get_retrieval_details"
59
61
  end
60
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
61
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling RetrievalDetailsApi.get_retrieval_details, the character length must be smaller than or equal to 32.'
62
- end
63
-
64
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
65
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling RetrievalDetailsApi.get_retrieval_details, the character length must be great than or equal to 1.'
66
- end
67
-
68
62
  #if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
69
63
  #fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling RetrievalDetailsApi.get_retrieval_details, must conform to the pattern /[a-zA-Z0-9-_]+/."
70
64
  #end
@@ -22,11 +22,13 @@ module CyberSource
22
22
  end
23
23
  # Get Retrieval Summaries
24
24
  # Retrieval Summary Report Description
25
+ #
25
26
  # @param start_time Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
26
27
  # @param end_time Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
27
28
  # @param [Hash] opts the optional parameters
28
29
  # @option opts [String] :organization_id Valid Organization Id
29
30
  # @return [ReportingV3RetrievalSummariesGet200Response]
31
+ #
30
32
  def get_retrieval_summary(start_time, end_time, opts = {})
31
33
  data, status_code, headers = get_retrieval_summary_with_http_info(start_time, end_time, opts)
32
34
  return data, status_code, headers
@@ -57,14 +59,6 @@ module CyberSource
57
59
  if @api_client.config.client_side_validation && end_time.nil?
58
60
  fail ArgumentError, "Missing the required parameter 'end_time' when calling RetrievalSummariesApi.get_retrieval_summary"
59
61
  end
60
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
61
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling RetrievalSummariesApi.get_retrieval_summary, the character length must be smaller than or equal to 32.'
62
- end
63
-
64
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
65
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling RetrievalSummariesApi.get_retrieval_summary, the character length must be great than or equal to 1.'
66
- end
67
-
68
62
  #if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
69
63
  #fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling RetrievalSummariesApi.get_retrieval_summary, must conform to the pattern /[a-zA-Z0-9-_]+/."
70
64
  #end
@@ -22,10 +22,12 @@ module CyberSource
22
22
  end
23
23
  # Process an Authorization Reversal
24
24
  # Include the payment ID in the POST request to reverse the payment amount.
25
+ #
25
26
  # @param id The payment ID returned from a previous payment request.
26
27
  # @param auth_reversal_request
27
28
  # @param [Hash] opts the optional parameters
28
29
  # @return [PtsV2PaymentsReversalsPost201Response]
30
+ #
29
31
  def auth_reversal(id, auth_reversal_request, opts = {})
30
32
  data, status_code, headers = auth_reversal_with_http_info(id, auth_reversal_request, opts)
31
33
  return data, status_code, headers
@@ -95,9 +97,11 @@ module CyberSource
95
97
  end
96
98
  # Timeout Reversal
97
99
  # This is to reverse a previous payment that merchant does not receive a reply(Mostly due to Timeout). To use this feature/API, make sure to pass unique value to field - clientReferenceInformation -> transactionId in [/pts/v2/payments](https://developer.cybersource.com/api-reference-assets/index.html#payments_payments) API call and use same transactionId in this API request payload to reverse the payment.
100
+ #
98
101
  # @param mit_reversal_request
99
102
  # @param [Hash] opts the optional parameters
100
103
  # @return [PtsV2PaymentsReversalsPost201Response]
104
+ #
101
105
  def mit_reversal(mit_reversal_request, opts = {})
102
106
  data, status_code, headers = mit_reversal_with_http_info(mit_reversal_request, opts)
103
107
  return data, status_code, headers
@@ -22,9 +22,11 @@ module CyberSource
22
22
  end
23
23
  # Create a Search Request
24
24
  # Create a search request.
25
+ #
25
26
  # @param create_search_request
26
27
  # @param [Hash] opts the optional parameters
27
28
  # @return [TssV2TransactionsPost201Response]
29
+ #
28
30
  def create_search(create_search_request, opts = {})
29
31
  data, status_code, headers = create_search_with_http_info(create_search_request, opts)
30
32
  return data, status_code, headers
@@ -89,9 +91,11 @@ module CyberSource
89
91
  end
90
92
  # Get Search Results
91
93
  # Include the Search ID in the GET request to retrieve the search results.
94
+ #
92
95
  # @param search_id Search ID.
93
96
  # @param [Hash] opts the optional parameters
94
97
  # @return [TssV2TransactionsPost201Response]
98
+ #
95
99
  def get_search(search_id, opts = {})
96
100
  data, status_code, headers = get_search_with_http_info(search_id, opts)
97
101
  return data, status_code, headers
@@ -22,10 +22,12 @@ module CyberSource
22
22
  end
23
23
  # Download a File with File Identifier
24
24
  # Download a file for the given file identifier
25
+ #
25
26
  # @param file_id Unique identifier for each file
26
27
  # @param [Hash] opts the optional parameters
27
28
  # @option opts [String] :organization_id Valid Cybersource Organization Id
28
29
  # @return [nil]
30
+ #
29
31
  def get_file(file_id, opts = {})
30
32
  data, status_code, headers = get_file_with_http_info(file_id, opts)
31
33
  return data, status_code, headers
@@ -51,14 +53,6 @@ module CyberSource
51
53
  if @api_client.config.client_side_validation && file_id.nil?
52
54
  fail ArgumentError, "Missing the required parameter 'file_id' when calling SecureFileShareApi.get_file"
53
55
  end
54
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
55
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling SecureFileShareApi.get_file, the character length must be smaller than or equal to 32.'
56
- end
57
-
58
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
59
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling SecureFileShareApi.get_file, the character length must be great than or equal to 1.'
60
- end
61
-
62
56
  #if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
63
57
  #fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling SecureFileShareApi.get_file, must conform to the pattern /[a-zA-Z0-9-_]+/."
64
58
  #end
@@ -105,12 +99,14 @@ module CyberSource
105
99
  end
106
100
  # Get List of Files
107
101
  # Get list of files and it's information of them available inside the report directory
102
+ #
108
103
  # @param start_date Valid start date in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd
109
104
  # @param end_date Valid end date in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd
110
105
  # @param [Hash] opts the optional parameters
111
106
  # @option opts [String] :organization_id Valid Cybersource Organization Id
112
107
  # @option opts [String] :name **Tailored to searches for specific files with in given Date range** example : MyTransactionDetailreport.xml
113
108
  # @return [V1FileDetailsGet200Response]
109
+ #
114
110
  def get_file_detail(start_date, end_date, opts = {})
115
111
  data, status_code, headers = get_file_detail_with_http_info(start_date, end_date, opts)
116
112
  return data, status_code, headers
@@ -142,14 +138,6 @@ module CyberSource
142
138
  if @api_client.config.client_side_validation && end_date.nil?
143
139
  fail ArgumentError, "Missing the required parameter 'end_date' when calling SecureFileShareApi.get_file_detail"
144
140
  end
145
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
146
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling SecureFileShareApi.get_file_detail, the character length must be smaller than or equal to 32.'
147
- end
148
-
149
- if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
150
- fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling SecureFileShareApi.get_file_detail, the character length must be great than or equal to 1.'
151
- end
152
-
153
141
  #if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
154
142
  #fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling SecureFileShareApi.get_file_detail, must conform to the pattern /[a-zA-Z0-9-_]+/."
155
143
  #end
@@ -22,9 +22,11 @@ module CyberSource
22
22
  end
23
23
  # Activate a Subscription
24
24
  # Activate a `CANCELLED` Or `SUSPENDED` Subscription
25
+ #
25
26
  # @param id Subscription Id
26
27
  # @param [Hash] opts the optional parameters
27
28
  # @return [ActivateSubscriptionResponse]
29
+ #
28
30
  def activate_subscription(id, opts = {})
29
31
  data, status_code, headers = activate_subscription_with_http_info(id, opts)
30
32
  return data, status_code, headers
@@ -91,9 +93,11 @@ module CyberSource
91
93
  end
92
94
  # Cancel a Subscription
93
95
  # Cancel a Subscription
96
+ #
94
97
  # @param id Subscription Id
95
98
  # @param [Hash] opts the optional parameters
96
99
  # @return [CancelSubscriptionResponse]
100
+ #
97
101
  def cancel_subscription(id, opts = {})
98
102
  data, status_code, headers = cancel_subscription_with_http_info(id, opts)
99
103
  return data, status_code, headers
@@ -160,9 +164,11 @@ module CyberSource
160
164
  end
161
165
  # Create a Subscription
162
166
  # Create a Recurring Billing Subscription
167
+ #
163
168
  # @param create_subscription_request
164
169
  # @param [Hash] opts the optional parameters
165
170
  # @return [CreateSubscriptionResponse]
171
+ #
166
172
  def create_subscription(create_subscription_request, opts = {})
167
173
  data, status_code, headers = create_subscription_with_http_info(create_subscription_request, opts)
168
174
  return data, status_code, headers
@@ -227,12 +233,14 @@ module CyberSource
227
233
  end
228
234
  # Get a List of Subscriptions
229
235
  # Retrieve Subscriptions by Subscription Code & Subscription Status.
236
+ #
230
237
  # @param [Hash] opts the optional parameters
231
238
  # @option opts [Integer] :offset Page offset number.
232
239
  # @option opts [Integer] :limit Number of items to be returned. Default - &#x60;20&#x60;, Max - &#x60;100&#x60;
233
240
  # @option opts [String] :code Filter by Subscription Code
234
241
  # @option opts [String] :status Filter by Subscription Status
235
242
  # @return [GetAllSubscriptionsResponse]
243
+ #
236
244
  def get_all_subscriptions(opts = {})
237
245
  data, status_code, headers = get_all_subscriptions_with_http_info(opts)
238
246
  return data, status_code, headers
@@ -302,9 +310,11 @@ module CyberSource
302
310
  end
303
311
  # Get a Subscription
304
312
  # Get a Subscription by Subscription Id
313
+ #
305
314
  # @param id Subscription Id
306
315
  # @param [Hash] opts the optional parameters
307
316
  # @return [GetSubscriptionResponse]
317
+ #
308
318
  def get_subscription(id, opts = {})
309
319
  data, status_code, headers = get_subscription_with_http_info(id, opts)
310
320
  return data, status_code, headers
@@ -371,8 +381,10 @@ module CyberSource
371
381
  end
372
382
  # Get a Subscription Code
373
383
  # Get a Unique Subscription Code
384
+ #
374
385
  # @param [Hash] opts the optional parameters
375
386
  # @return [GetSubscriptionCodeResponse]
387
+ #
376
388
  def get_subscription_code(opts = {})
377
389
  data, status_code, headers = get_subscription_code_with_http_info(opts)
378
390
  return data, status_code, headers
@@ -434,9 +446,11 @@ module CyberSource
434
446
  end
435
447
  # Suspend a Subscription
436
448
  # Suspend a Subscription
449
+ #
437
450
  # @param id Subscription Id
438
451
  # @param [Hash] opts the optional parameters
439
452
  # @return [SuspendSubscriptionResponse]
453
+ #
440
454
  def suspend_subscription(id, opts = {})
441
455
  data, status_code, headers = suspend_subscription_with_http_info(id, opts)
442
456
  return data, status_code, headers
@@ -503,10 +517,12 @@ module CyberSource
503
517
  end
504
518
  # Update a Subscription
505
519
  # Update a Subscription by Subscription Id
520
+ #
506
521
  # @param id Subscription Id
507
522
  # @param update_subscription Update Subscription
508
523
  # @param [Hash] opts the optional parameters
509
524
  # @return [UpdateSubscriptionResponse]
525
+ #
510
526
  def update_subscription(id, update_subscription, opts = {})
511
527
  data, status_code, headers = update_subscription_with_http_info(id, update_subscription, opts)
512
528
  return data, status_code, headers
@@ -22,9 +22,11 @@ module CyberSource
22
22
  end
23
23
  # Create Shared-Secret Keys
24
24
  # Create one or more Shared-Secret Keys
25
+ #
25
26
  # @param create_shared_secret_keys_request
26
27
  # @param [Hash] opts the optional parameters
27
28
  # @return [KmsV2KeysSymPost201Response]
29
+ #
28
30
  def create_v2_shared_secret_keys(create_shared_secret_keys_request, opts = {})
29
31
  data, status_code, headers = create_v2_shared_secret_keys_with_http_info(create_shared_secret_keys_request, opts)
30
32
  return data, status_code, headers
@@ -89,10 +91,12 @@ module CyberSource
89
91
  end
90
92
  # Create Shared-Secret Keys as per verifi spec
91
93
  # Create one or more Shared-Secret Keys as per Verifi spec with 32 chars, store digest algo during key generation.
94
+ #
92
95
  # @param v_ic_domain domain
93
96
  # @param create_shared_secret_keys_verifi_request
94
97
  # @param [Hash] opts the optional parameters
95
98
  # @return [KmsV2KeysSymPost201Response]
99
+ #
96
100
  def create_v2_shared_secret_keys_verifi(v_ic_domain, create_shared_secret_keys_verifi_request, opts = {})
97
101
  data, status_code, headers = create_v2_shared_secret_keys_verifi_with_http_info(v_ic_domain, create_shared_secret_keys_verifi_request, opts)
98
102
  return data, status_code, headers
@@ -163,9 +167,11 @@ module CyberSource
163
167
  end
164
168
  # Delete one or more Symmetric keys
165
169
  # 'Delete one or more Symmetric keys'
170
+ #
166
171
  # @param delete_bulk_symmetric_keys_request
167
172
  # @param [Hash] opts the optional parameters
168
173
  # @return [KmsV2KeysSymDeletesPost200Response]
174
+ #
169
175
  def delete_bulk_symmetric_keys(delete_bulk_symmetric_keys_request, opts = {})
170
176
  data, status_code, headers = delete_bulk_symmetric_keys_with_http_info(delete_bulk_symmetric_keys_request, opts)
171
177
  return data, status_code, headers
@@ -230,9 +236,11 @@ module CyberSource
230
236
  end
231
237
  # Retrieves shared secret key details
232
238
  # Retrieves keys details by providing the key id.
239
+ #
233
240
  # @param key_id Key ID.
234
241
  # @param [Hash] opts the optional parameters
235
242
  # @return [KmsV2KeysSymGet200Response]
243
+ #
236
244
  def get_key_details(key_id, opts = {})
237
245
  data, status_code, headers = get_key_details_with_http_info(key_id, opts)
238
246
  return data, status_code, headers
@@ -22,9 +22,11 @@ module CyberSource
22
22
  end
23
23
  # Calculate Taxes
24
24
  # The tax calculation service provides real-time sales tax and VAT calculations for orders placed with your business worldwide. It enhances your ability to conduct business globally and enables you to avoid the risk and complexity of managing online tax calculation. The service supports product-based tax rules and exemptions for goods and services. The tax rates are updated twice a month and calculations include sub-level detail (rates per taxing jurisdiction, names and types of jurisdictions). Implementation guidance, list of supported countries, and information on tax reporting are in the [Tax User Guide](https://developer.cybersource.com/docs/cybs/en-us/tax-calculation/developer/all/rest/tax-calculation/tax-overview.html).
25
+ #
25
26
  # @param tax_request
26
27
  # @param [Hash] opts the optional parameters
27
28
  # @return [VasV2PaymentsPost201Response]
29
+ #
28
30
  def calculate_tax(tax_request, opts = {})
29
31
  data, status_code, headers = calculate_tax_with_http_info(tax_request, opts)
30
32
  return data, status_code, headers
@@ -89,10 +91,12 @@ module CyberSource
89
91
  end
90
92
  # Void Taxes
91
93
  # Pass the Tax Request ID in the PATCH request to void the committed tax calculation.
94
+ #
92
95
  # @param void_tax_request
93
96
  # @param id The tax ID returned from a previous request.
94
97
  # @param [Hash] opts the optional parameters
95
98
  # @return [VasV2TaxVoid200Response]
99
+ #
96
100
  def void_tax(void_tax_request, id, opts = {})
97
101
  data, status_code, headers = void_tax_with_http_info(void_tax_request, id, opts)
98
102
  return data, status_code, headers