cybersource_rest_client 0.0.19 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (309) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/core/MerchantConfig.rb +4 -0
  3. data/lib/AuthenticationSDK/util/Constants.rb +8 -0
  4. data/lib/cybersource_rest_client.rb +104 -11
  5. data/lib/cybersource_rest_client/api/authentication_exemptions_api.rb +2 -2
  6. data/lib/cybersource_rest_client/api/conversion_details_api.rb +2 -2
  7. data/lib/cybersource_rest_client/api/decision_manager_api.rb +142 -0
  8. data/lib/cybersource_rest_client/api/download_dtd_api.rb +2 -2
  9. data/lib/cybersource_rest_client/api/download_xsd_api.rb +2 -2
  10. data/lib/cybersource_rest_client/api/net_fundings_api.rb +2 -2
  11. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +2 -2
  12. data/lib/cybersource_rest_client/api/payer_authentication_api.rb +78 -13
  13. data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +2 -2
  14. data/lib/cybersource_rest_client/api/payments_api.rb +71 -0
  15. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +2 -2
  16. data/lib/cybersource_rest_client/api/report_definitions_api.rb +4 -4
  17. data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -2
  18. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +87 -87
  19. data/lib/cybersource_rest_client/api/reports_api.rb +4 -4
  20. data/lib/cybersource_rest_client/api/reversal_api.rb +65 -0
  21. data/lib/cybersource_rest_client/api/search_transactions_api.rb +4 -4
  22. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -4
  23. data/lib/cybersource_rest_client/api/tokenization_api.rb +2 -2
  24. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +15 -9
  25. data/lib/cybersource_rest_client/api/user_management_api.rb +2 -2
  26. data/lib/cybersource_rest_client/api/verification_api.rb +154 -0
  27. data/lib/cybersource_rest_client/api/void_api.rb +65 -0
  28. data/lib/cybersource_rest_client/models/add_negative_list_request.rb +228 -0
  29. data/lib/cybersource_rest_client/models/authentication_exemptions_request.rb +1 -1
  30. data/lib/cybersource_rest_client/models/capture_payment_request.rb +22 -4
  31. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +11 -2
  32. data/lib/cybersource_rest_client/models/create_credit_request.rb +32 -5
  33. data/lib/cybersource_rest_client/models/create_instrument_identifier_request.rb +1 -1
  34. data/lib/cybersource_rest_client/models/create_payment_request.rb +22 -4
  35. data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +1 -1
  36. data/lib/cybersource_rest_client/models/embedded_instrument_identifier_response.rb +10 -1
  37. data/lib/cybersource_rest_client/models/error.rb +13 -23
  38. data/lib/cybersource_rest_client/models/error_bean.rb +1 -1
  39. data/lib/cybersource_rest_client/models/error_links.rb +15 -15
  40. data/lib/cybersource_rest_client/models/error_response.rb +20 -2
  41. data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +183 -0
  42. data/lib/cybersource_rest_client/models/generate_public_key_request.rb +14 -4
  43. data/lib/cybersource_rest_client/models/increment_auth_request.rb +219 -0
  44. data/lib/cybersource_rest_client/models/inline_response_400.rb +14 -59
  45. data/lib/cybersource_rest_client/models/inline_response_400_1.rb +59 -14
  46. data/lib/cybersource_rest_client/models/{inline_response_400_fields.rb → inline_response_400_1_fields.rb} +1 -1
  47. data/lib/cybersource_rest_client/models/instrument_identifier_enrollable_card.rb +1 -1
  48. data/lib/cybersource_rest_client/models/instrument_identifier_response.rb +10 -1
  49. data/lib/cybersource_rest_client/models/instrument_identifier_tokenized_card.rb +272 -0
  50. data/lib/cybersource_rest_client/models/key_parameters.rb +14 -4
  51. data/lib/cybersource_rest_client/models/link.rb +25 -4
  52. data/lib/cybersource_rest_client/models/links.rb +18 -23
  53. data/lib/cybersource_rest_client/models/mit_reversal_request.rb +219 -0
  54. data/lib/cybersource_rest_client/models/mit_void_request.rb +183 -0
  55. data/lib/cybersource_rest_client/models/oct_create_payment_request.rb +1 -1
  56. data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +210 -0
  57. data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +1 -1
  58. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +15 -6
  59. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
  60. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information.rb +14 -4
  61. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +1 -1
  62. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +298 -0
  63. data/lib/cybersource_rest_client/models/{pts_v2_payments_reversals_post201_response__links.rb → pts_v2_incremental_authorization_patch201_response__links.rb} +1 -1
  64. data/lib/cybersource_rest_client/models/{ptsv2payouts_client_reference_information.rb → pts_v2_incremental_authorization_patch201_response_client_reference_information.rb} +2 -2
  65. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +205 -0
  66. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_order_information.rb +183 -0
  67. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information.rb +183 -0
  68. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +199 -0
  69. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +293 -0
  70. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response.rb +225 -0
  71. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +23 -5
  72. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information.rb +1 -1
  73. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +1 -1
  74. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_invoice_details.rb +184 -0
  75. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +199 -0
  76. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processing_information.rb +184 -0
  77. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +1 -1
  78. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +2 -2
  79. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +264 -19
  80. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +28 -3
  81. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +2 -2
  82. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +29 -4
  83. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +10 -10
  84. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +1 -1
  85. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +1 -1
  86. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +2 -2
  87. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +35 -10
  88. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +1 -1
  89. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +14 -4
  90. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +2 -2
  91. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +3 -28
  92. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +2 -2
  93. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +1 -1
  94. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +2 -2
  95. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +5 -5
  96. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +3 -3
  97. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +14 -5
  98. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information.rb +1 -1
  99. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
  100. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +2 -2
  101. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +3 -3
  102. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +2 -2
  103. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +1 -1
  104. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +2 -2
  105. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +2 -2
  106. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
  107. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +199 -0
  108. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +108 -15
  109. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +3 -3
  110. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +209 -0
  111. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +32 -7
  112. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +2 -2
  113. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +1 -1
  114. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +17 -2
  115. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +29 -4
  116. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +55 -21
  117. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +299 -0
  118. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +74 -14
  119. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +1 -1
  120. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
  121. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +1 -1
  122. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +26 -1
  123. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +1 -1
  124. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +21 -12
  125. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb +249 -0
  126. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +7 -7
  127. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +30 -5
  128. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +10 -10
  129. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +29 -4
  130. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +1 -1
  131. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +1 -1
  132. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +27 -2
  133. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
  134. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +1 -1
  135. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
  136. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +91 -16
  137. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +3 -3
  138. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +158 -15
  139. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +19 -9
  140. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
  141. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +5 -5
  142. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +359 -0
  143. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +224 -0
  144. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +2 -2
  145. data/lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb +224 -0
  146. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +3 -3
  147. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +226 -0
  148. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +224 -0
  149. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +1229 -0
  150. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +233 -0
  151. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit.rb +183 -0
  152. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +988 -0
  153. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +285 -0
  154. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +224 -0
  155. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +614 -0
  156. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +349 -0
  157. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +208 -0
  158. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +249 -0
  159. data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +199 -0
  160. data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information.rb +183 -0
  161. data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +224 -0
  162. data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information.rb +183 -0
  163. data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options.rb +183 -0
  164. data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options_initiator.rb +184 -0
  165. data/lib/cybersource_rest_client/models/ptsv2paymentsid_travel_information.rb +199 -0
  166. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +34 -9
  167. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +194 -19
  168. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +1 -1
  169. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +7 -7
  170. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information.rb +13 -4
  171. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +224 -0
  172. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +6 -6
  173. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +1 -1
  174. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +23 -14
  175. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +2 -2
  176. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_travel_information.rb +201 -0
  177. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +1 -1
  178. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +5 -5
  179. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +19 -1
  180. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +54 -4
  181. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +33 -8
  182. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +1 -1
  183. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +1 -1
  184. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +29 -4
  185. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +1 -1
  186. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +1 -1
  187. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +4 -4
  188. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb +1 -1
  189. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -2
  190. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -2
  191. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +2 -2
  192. data/lib/cybersource_rest_client/models/refund_capture_request.rb +22 -4
  193. data/lib/cybersource_rest_client/models/refund_payment_request.rb +22 -4
  194. data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response_subscriptions.rb +1 -1
  195. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +285 -0
  196. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb +224 -0
  197. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +327 -0
  198. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb +209 -0
  199. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb +433 -0
  200. data/lib/cybersource_rest_client/models/risk_v1_authentication_exemptions_post201_response.rb +2 -2
  201. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +3 -3
  202. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +249 -4
  203. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +246 -0
  204. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +224 -0
  205. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_error_information.rb +205 -0
  206. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +3 -3
  207. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_consumer_authentication_information.rb +386 -7
  208. data/lib/cybersource_rest_client/models/{riskv1authentications_consumer_authentication_information_ivr.rb → risk_v1_authentications_post201_response_consumer_authentication_information_ivr.rb} +1 -1
  209. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information_amount_details.rb +1 -1
  210. data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response.rb +225 -0
  211. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +1 -1
  212. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_ip_address.rb +54 -4
  213. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +285 -0
  214. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information.rb +229 -0
  215. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information_watch_list.rb +185 -0
  216. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb +235 -0
  217. data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +237 -0
  218. data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +199 -0
  219. data/lib/cybersource_rest_client/models/riskv1addressverifications_client_reference_information.rb +233 -0
  220. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information.rb +203 -0
  221. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +410 -0
  222. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +342 -0
  223. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +392 -0
  224. data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_acquirer_information.rb +1 -1
  225. data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_order_information_line_items.rb +2 -2
  226. data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_payment_information.rb +13 -4
  227. data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_payment_information_fluid_data.rb +268 -0
  228. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +4 -214
  229. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +2 -2
  230. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information.rb +13 -4
  231. data/lib/cybersource_rest_client/models/riskv1authentications_acquirer_information.rb +1 -1
  232. data/lib/cybersource_rest_client/models/riskv1authentications_consumer_authentication_information.rb +4 -333
  233. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +2 -2
  234. data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_legs.rb +2 -2
  235. data/lib/cybersource_rest_client/models/{riskv1authentications_client_reference_information.rb → riskv1authenticationsetups_client_reference_information.rb} +2 -2
  236. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information.rb +210 -0
  237. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +286 -0
  238. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +325 -0
  239. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +224 -0
  240. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_token_information.rb +184 -0
  241. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +2 -2
  242. data/lib/cybersource_rest_client/models/riskv1decisions_card_verification.rb +1 -1
  243. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +1 -1
  244. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +1 -26
  245. data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +4 -13
  246. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +2 -2
  247. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +1 -26
  248. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +2 -2
  249. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +4 -13
  250. data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +4 -13
  251. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +2 -2
  252. data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information.rb +183 -0
  253. data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +247 -0
  254. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +224 -0
  255. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb +205 -0
  256. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb +249 -0
  257. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information.rb +203 -0
  258. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +503 -0
  259. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb +199 -0
  260. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +364 -0
  261. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +249 -0
  262. data/lib/cybersource_rest_client/models/riskv1liststypeentries_buyer_information.rb +186 -0
  263. data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +224 -0
  264. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information.rb +213 -0
  265. data/lib/cybersource_rest_client/models/{riskv1decisions_order_information_address.rb → riskv1liststypeentries_order_information_address.rb} +1 -1
  266. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +449 -0
  267. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +199 -0
  268. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +325 -0
  269. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information.rb +193 -0
  270. data/lib/cybersource_rest_client/models/{riskv1decisions_payment_information_bank.rb → riskv1liststypeentries_payment_information_bank.rb} +1 -1
  271. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +234 -0
  272. data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information.rb +183 -0
  273. data/lib/cybersource_rest_client/models/{riskv1decisions_risk_information_marking_details.rb → riskv1liststypeentries_risk_information_marking_details.rb} +29 -44
  274. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_embedded_instrument_identifier.rb +10 -1
  275. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response.rb +10 -1
  276. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_tokenized_card.rb +272 -0
  277. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_tokenized_card_card.rb +253 -0
  278. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +1 -1
  279. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb +2 -2
  280. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +1 -1
  281. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +1 -1
  282. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +2 -2
  283. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information.rb +1 -1
  284. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +2 -2
  285. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +1 -1
  286. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +1 -1
  287. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +1 -1
  288. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +1 -1
  289. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb +3 -3
  290. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +2 -2
  291. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +2 -2
  292. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +1 -1
  293. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb +1 -1
  294. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +2 -2
  295. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +4 -4
  296. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +1 -1
  297. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +1 -1
  298. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +1 -1
  299. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +1 -1
  300. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +3 -3
  301. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
  302. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +2 -2
  303. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +1 -1
  304. data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +219 -0
  305. data/lib/cybersource_rest_client/models/{request.rb → validate_request.rb} +12 -3
  306. data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +201 -0
  307. metadata +107 -14
  308. data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb +0 -365
  309. data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb +0 -221
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78e860a8921a1d92e78dbfc4e50f007af8a70f05f9b901d63126db372b39e2b4
4
- data.tar.gz: e7bf63535bd55a57d61a182b9d3c999e46c1177a25f24a4d818e8ceedd55f263
3
+ metadata.gz: b79c150b046435e55d10fd553140bd59d87d30d61e49cf1636b72a407a0f450d
4
+ data.tar.gz: 7fbb8e8ac71a2e0909b39461db335a6e92f7afce1e8e8d7a5381b128561b2525
5
5
  SHA512:
6
- metadata.gz: 91b7ee6a180e06aefe5e4d1060f626643bb3d0641cfa9e7791f92f0fd06401f7f7115f9ad59b8f1fa2bff41d0b1ebd6343218604763b8c9fe3f9c0f38cf124a8
7
- data.tar.gz: e97211cb176672c630b15794cff9d7cafe028bb3bcd79144bfe2e54f3036589a445f5cfc7ba1669aad1efc871b0bc7eccc2e0110c83eeb0f15260af0407accc9
6
+ metadata.gz: bcbd2c0d212908e4a90a58bacf5833d6094b83e20719dd7657aa5aa869fd7938ae926a2a5fd23bda11a195c1c013382a5ceb55d2dbfd8e15fbf82efe515cd011
7
+ data.tar.gz: 2043ba5069e566ba754f0b4801f7901b25831c016c978fe582e05f54fa484440eda80c86b9dd4fc08f1d6fc32598581ec713155096972aa2a18a3245cf8793b6
@@ -82,6 +82,10 @@ public
82
82
  @requestHost = Constants::PRODUCTION_URL
83
83
  elsif @runEnvironment.upcase == Constants::RUN_ENV_SANDBOX
84
84
  @requestHost = Constants::SANDBOX_URL
85
+ elsif @runEnvironment.upcase == Constants::BOA_RUN_ENV_PROD
86
+ @requestHost = Constants::BOA_PRODUCTION_URL
87
+ elsif @runEnvironment.upcase == Constants.BOA_RUN_ENV_SANDBOX
88
+ @requestHost = Constants::BOA_SANDBOX_URL
85
89
  else
86
90
  @requestHost = @runEnvironment
87
91
  end
@@ -68,6 +68,14 @@
68
68
 
69
69
  PRODUCTION_URL = 'api.cybersource.com' unless const_defined?(:PRODUCTION_URL)
70
70
 
71
+ BOA_RUN_ENV_SANDBOX = 'BANKOFAMERICA.ENVIRONMENT.SANDBOX' unless const_defined?(:RUN_ENV_SANDBOX)
72
+
73
+ BOA_RUN_ENV_PROD = 'BANKOFAMERICA.ENVIRONMENT.PRODUCTION'unless const_defined?(:RUN_ENV_PROD)
74
+
75
+ BOA_SANDBOX_URL = 'apitest.merchant-services.bankofamerica.com' unless const_defined?(:SANDBOX_URL)
76
+
77
+ BOA_PRODUCTION_URL = 'api.merchant-services.bankofamerica.com' unless const_defined?(:PRODUCTION_URL)
78
+
71
79
  # constants for fall back logic
72
80
 
73
81
  DEFAULT_LOG_SIZE = '10485760' unless const_defined?(:DEFAULT_LOG_SIZE)
@@ -32,6 +32,7 @@ require 'cybersource_rest_client/version'
32
32
  require 'cybersource_rest_client/configuration'
33
33
 
34
34
  # Models
35
+ require 'cybersource_rest_client/models/add_negative_list_request'
35
36
  require 'cybersource_rest_client/models/auth_reversal_request'
36
37
  require 'cybersource_rest_client/models/authentication_exemptions_request'
37
38
  require 'cybersource_rest_client/models/authorization_options'
@@ -67,11 +68,13 @@ require 'cybersource_rest_client/models/flex_v1_keys_post200_response_der'
67
68
  require 'cybersource_rest_client/models/flex_v1_keys_post200_response_jwk'
68
69
  require 'cybersource_rest_client/models/flex_v1_tokens_post200_response'
69
70
  require 'cybersource_rest_client/models/flexv1tokens_card_info'
71
+ require 'cybersource_rest_client/models/fraud_marking_action_request'
70
72
  require 'cybersource_rest_client/models/generate_public_key_request'
73
+ require 'cybersource_rest_client/models/increment_auth_request'
71
74
  require 'cybersource_rest_client/models/initiator'
72
75
  require 'cybersource_rest_client/models/inline_response_400'
73
76
  require 'cybersource_rest_client/models/inline_response_400_1'
74
- require 'cybersource_rest_client/models/inline_response_400_fields'
77
+ require 'cybersource_rest_client/models/inline_response_400_1_fields'
75
78
  require 'cybersource_rest_client/models/inline_response_default'
76
79
  require 'cybersource_rest_client/models/inline_response_default__links'
77
80
  require 'cybersource_rest_client/models/inline_response_default__links_next'
@@ -83,6 +86,7 @@ require 'cybersource_rest_client/models/instrument_identifier_enrollable_card'
83
86
  require 'cybersource_rest_client/models/instrument_identifier_payment_instruments_link'
84
87
  require 'cybersource_rest_client/models/instrument_identifier_processing_information'
85
88
  require 'cybersource_rest_client/models/instrument_identifier_response'
89
+ require 'cybersource_rest_client/models/instrument_identifier_tokenized_card'
86
90
  require 'cybersource_rest_client/models/instrument_identifier_update'
87
91
  require 'cybersource_rest_client/models/issuer'
88
92
  require 'cybersource_rest_client/models/json_web_key'
@@ -93,6 +97,8 @@ require 'cybersource_rest_client/models/links'
93
97
  require 'cybersource_rest_client/models/merchant_information'
94
98
  require 'cybersource_rest_client/models/merchant_initiated_transaction'
95
99
  require 'cybersource_rest_client/models/metadata'
100
+ require 'cybersource_rest_client/models/mit_reversal_request'
101
+ require 'cybersource_rest_client/models/mit_void_request'
96
102
  require 'cybersource_rest_client/models/model_409_link'
97
103
  require 'cybersource_rest_client/models/model_409_links'
98
104
  require 'cybersource_rest_client/models/oct_create_payment_request'
@@ -101,6 +107,7 @@ require 'cybersource_rest_client/models/pi_for_ii_link_last'
101
107
  require 'cybersource_rest_client/models/pi_for_ii_link_next'
102
108
  require 'cybersource_rest_client/models/pi_for_ii_link_prev'
103
109
  require 'cybersource_rest_client/models/pi_for_ii_link_self'
110
+ require 'cybersource_rest_client/models/payer_auth_setup_request'
104
111
  require 'cybersource_rest_client/models/payment_instrument'
105
112
  require 'cybersource_rest_client/models/payment_instrument_bank_account'
106
113
  require 'cybersource_rest_client/models/payment_instrument_card'
@@ -131,10 +138,22 @@ require 'cybersource_rest_client/models/pts_v2_credits_post201_response_credit_a
131
138
  require 'cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information'
132
139
  require 'cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information'
133
140
  require 'cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options'
141
+ require 'cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response'
142
+ require 'cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_client_reference_information'
143
+ require 'cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information'
144
+ require 'cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response__links'
145
+ require 'cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_order_information'
146
+ require 'cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information'
147
+ require 'cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features'
148
+ require 'cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information'
149
+ require 'cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response'
134
150
  require 'cybersource_rest_client/models/pts_v2_payments_captures_post201_response'
135
151
  require 'cybersource_rest_client/models/pts_v2_payments_captures_post201_response__links'
136
152
  require 'cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information'
137
153
  require 'cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details'
154
+ require 'cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_invoice_details'
155
+ require 'cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information'
156
+ require 'cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processing_information'
138
157
  require 'cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information'
139
158
  require 'cybersource_rest_client/models/pts_v2_payments_captures_post400_response'
140
159
  require 'cybersource_rest_client/models/pts_v2_payments_post201_response'
@@ -178,7 +197,6 @@ require 'cybersource_rest_client/models/pts_v2_payments_refund_post400_response'
178
197
  require 'cybersource_rest_client/models/pts_v2_payments_reversals_post201_response'
179
198
  require 'cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information'
180
199
  require 'cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information'
181
- require 'cybersource_rest_client/models/pts_v2_payments_reversals_post201_response__links'
182
200
  require 'cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information'
183
201
  require 'cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details'
184
202
  require 'cybersource_rest_client/models/pts_v2_payments_reversals_post400_response'
@@ -195,11 +213,11 @@ require 'cybersource_rest_client/models/pts_v2_payouts_post201_response_processo
195
213
  require 'cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information'
196
214
  require 'cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card'
197
215
  require 'cybersource_rest_client/models/pts_v2_payouts_post400_response'
198
- require 'cybersource_rest_client/models/ptsv2credits_point_of_sale_information'
199
- require 'cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv'
216
+ require 'cybersource_rest_client/models/ptsv2credits_installment_information'
200
217
  require 'cybersource_rest_client/models/ptsv2credits_processing_information'
201
218
  require 'cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options'
202
219
  require 'cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer'
220
+ require 'cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options'
203
221
  require 'cybersource_rest_client/models/ptsv2credits_processing_information_purchase_options'
204
222
  require 'cybersource_rest_client/models/ptsv2payments_aggregator_information'
205
223
  require 'cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant'
@@ -208,6 +226,7 @@ require 'cybersource_rest_client/models/ptsv2payments_buyer_information_personal
208
226
  require 'cybersource_rest_client/models/ptsv2payments_client_reference_information'
209
227
  require 'cybersource_rest_client/models/ptsv2payments_client_reference_information_partner'
210
228
  require 'cybersource_rest_client/models/ptsv2payments_consumer_authentication_information'
229
+ require 'cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication'
211
230
  require 'cybersource_rest_client/models/ptsv2payments_device_information'
212
231
  require 'cybersource_rest_client/models/ptsv2payments_installment_information'
213
232
  require 'cybersource_rest_client/models/ptsv2payments_issuer_information'
@@ -218,6 +237,7 @@ require 'cybersource_rest_client/models/ptsv2payments_merchant_information_servi
218
237
  require 'cybersource_rest_client/models/ptsv2payments_order_information'
219
238
  require 'cybersource_rest_client/models/ptsv2payments_order_information_amount_details'
220
239
  require 'cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts'
240
+ require 'cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion'
221
241
  require 'cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge'
222
242
  require 'cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details'
223
243
  require 'cybersource_rest_client/models/ptsv2payments_order_information_bill_to'
@@ -244,9 +264,31 @@ require 'cybersource_rest_client/models/ptsv2payments_merchant_initiated_transac
244
264
  require 'cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options'
245
265
  require 'cybersource_rest_client/models/ptsv2payments_processing_information_capture_options'
246
266
  require 'cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer'
267
+ require 'cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options'
268
+ require 'cybersource_rest_client/models/ptsv2payments_processing_information_loan_options'
247
269
  require 'cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options'
248
270
  require 'cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options'
271
+ require 'cybersource_rest_client/models/ptsv2payments_promotion_information'
249
272
  require 'cybersource_rest_client/models/ptsv2payments_recipient_information'
273
+ require 'cybersource_rest_client/models/ptsv2payments_travel_information'
274
+ require 'cybersource_rest_client/models/ptsv2payments_travel_information_agency'
275
+ require 'cybersource_rest_client/models/ptsv2payments_travel_information_lodging'
276
+ require 'cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room'
277
+ require 'cybersource_rest_client/models/ptsv2payments_travel_information_transit'
278
+ require 'cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline'
279
+ require 'cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information'
280
+ require 'cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service'
281
+ require 'cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs'
282
+ require 'cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer'
283
+ require 'cybersource_rest_client/models/ptsv2paymentsid_client_reference_information'
284
+ require 'cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner'
285
+ require 'cybersource_rest_client/models/ptsv2paymentsid_merchant_information'
286
+ require 'cybersource_rest_client/models/ptsv2paymentsid_order_information'
287
+ require 'cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details'
288
+ require 'cybersource_rest_client/models/ptsv2paymentsid_processing_information'
289
+ require 'cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options'
290
+ require 'cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options_initiator'
291
+ require 'cybersource_rest_client/models/ptsv2paymentsid_travel_information'
250
292
  require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information'
251
293
  require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant'
252
294
  require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information'
@@ -259,11 +301,13 @@ require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_order_informatio
259
301
  require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to'
260
302
  require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details'
261
303
  require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information'
304
+ require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card'
262
305
  require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information'
263
306
  require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv'
264
307
  require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information'
265
308
  require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options'
266
309
  require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options'
310
+ require 'cybersource_rest_client/models/ptsv2paymentsidcaptures_travel_information'
267
311
  require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information'
268
312
  require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information'
269
313
  require 'cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items'
@@ -283,7 +327,6 @@ require 'cybersource_rest_client/models/ptsv2paymentsidreversals_processing_info
283
327
  require 'cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information'
284
328
  require 'cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details'
285
329
  require 'cybersource_rest_client/models/ptsv2paymentsidvoids_payment_information'
286
- require 'cybersource_rest_client/models/ptsv2payouts_client_reference_information'
287
330
  require 'cybersource_rest_client/models/ptsv2payouts_merchant_information'
288
331
  require 'cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor'
289
332
  require 'cybersource_rest_client/models/ptsv2payouts_order_information'
@@ -331,9 +374,13 @@ require 'cybersource_rest_client/models/reporting_v3_reports_id_get200_response'
331
374
  require 'cybersource_rest_client/models/reportingv3_report_downloads_get400_response'
332
375
  require 'cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details'
333
376
  require 'cybersource_rest_client/models/reportingv3reports_report_preferences'
334
- require 'cybersource_rest_client/models/request'
335
377
  require 'cybersource_rest_client/models/response_status'
336
378
  require 'cybersource_rest_client/models/response_status_details'
379
+ require 'cybersource_rest_client/models/risk_v1_address_verifications_post201_response'
380
+ require 'cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information'
381
+ require 'cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code'
382
+ require 'cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address'
383
+ require 'cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1'
337
384
  require 'cybersource_rest_client/models/risk_v1_authentication_excemptions_post400_response'
338
385
  require 'cybersource_rest_client/models/risk_v1_authentication_exemptions_post201_response'
339
386
  require 'cybersource_rest_client/models/risk_v1_authentication_exemptions_post201_response_consumer_authentication_information'
@@ -341,10 +388,15 @@ require 'cybersource_rest_client/models/risk_v1_authentication_exemptions_consum
341
388
  require 'cybersource_rest_client/models/risk_v1_authentication_exemptions_post201_response_risk_information'
342
389
  require 'cybersource_rest_client/models/risk_v1_authentication_results_post201_response'
343
390
  require 'cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information'
391
+ require 'cybersource_rest_client/models/risk_v1_authentication_setups_post201_response'
392
+ require 'cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information'
393
+ require 'cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_error_information'
344
394
  require 'cybersource_rest_client/models/risk_v1_authentications_post201_response'
345
395
  require 'cybersource_rest_client/models/risk_v1_authentications_post201_response_consumer_authentication_information'
396
+ require 'cybersource_rest_client/models/risk_v1_authentications_post201_response_consumer_authentication_information_ivr'
346
397
  require 'cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information'
347
398
  require 'cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information_amount_details'
399
+ require 'cybersource_rest_client/models/risk_v1_authentications_post400_response'
348
400
  require 'cybersource_rest_client/models/risk_v1_decisions_post201_response'
349
401
  require 'cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information'
350
402
  require 'cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information'
@@ -363,6 +415,17 @@ require 'cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_
363
415
  require 'cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity'
364
416
  require 'cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity_morphing'
365
417
  require 'cybersource_rest_client/models/risk_v1_decisions_post400_response'
418
+ require 'cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response'
419
+ require 'cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information'
420
+ require 'cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information_watch_list'
421
+ require 'cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches'
422
+ require 'cybersource_rest_client/models/risk_v1_update_post201_response'
423
+ require 'cybersource_rest_client/models/riskv1addressverifications_buyer_information'
424
+ require 'cybersource_rest_client/models/riskv1addressverifications_client_reference_information'
425
+ require 'cybersource_rest_client/models/riskv1addressverifications_order_information'
426
+ require 'cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to'
427
+ require 'cybersource_rest_client/models/riskv1addressverifications_order_information_line_items'
428
+ require 'cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to'
366
429
  require 'cybersource_rest_client/models/riskv1authenticationexemptions_acquirer_information'
367
430
  require 'cybersource_rest_client/models/riskv1authenticationexemptions_device_information'
368
431
  require 'cybersource_rest_client/models/riskv1authenticationexemptions_merchant_information'
@@ -373,6 +436,7 @@ require 'cybersource_rest_client/models/riskv1authenticationexemptions_order_inf
373
436
  require 'cybersource_rest_client/models/riskv1authenticationexemptions_order_information_ship_to'
374
437
  require 'cybersource_rest_client/models/riskv1authenticationexemptions_payment_information'
375
438
  require 'cybersource_rest_client/models/riskv1authenticationexemptions_payment_information_card'
439
+ require 'cybersource_rest_client/models/riskv1authenticationexemptions_payment_information_fluid_data'
376
440
  require 'cybersource_rest_client/models/riskv1authenticationexemptions_payment_information_tokenized_card'
377
441
  require 'cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information'
378
442
  require 'cybersource_rest_client/models/riskv1authenticationresults_order_information'
@@ -382,9 +446,7 @@ require 'cybersource_rest_client/models/riskv1authenticationresults_payment_info
382
446
  require 'cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card'
383
447
  require 'cybersource_rest_client/models/riskv1authentications_acquirer_information'
384
448
  require 'cybersource_rest_client/models/riskv1authentications_buyer_information'
385
- require 'cybersource_rest_client/models/riskv1authentications_client_reference_information'
386
449
  require 'cybersource_rest_client/models/riskv1authentications_consumer_authentication_information'
387
- require 'cybersource_rest_client/models/riskv1authentications_consumer_authentication_information_ivr'
388
450
  require 'cybersource_rest_client/models/riskv1authentications_consumer_authentication_information_strong_authentication'
389
451
  require 'cybersource_rest_client/models/riskv1authentications_device_information'
390
452
  require 'cybersource_rest_client/models/riskv1authentications_device_information_raw_data'
@@ -401,13 +463,18 @@ require 'cybersource_rest_client/models/riskv1authentications_risk_information_b
401
463
  require 'cybersource_rest_client/models/riskv1authentications_travel_information'
402
464
  require 'cybersource_rest_client/models/riskv1authentications_travel_information_legs'
403
465
  require 'cybersource_rest_client/models/riskv1authentications_travel_information_passengers'
466
+ require 'cybersource_rest_client/models/riskv1authenticationsetups_client_reference_information'
467
+ require 'cybersource_rest_client/models/riskv1authenticationsetups_payment_information'
468
+ require 'cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card'
469
+ require 'cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card'
470
+ require 'cybersource_rest_client/models/riskv1authenticationsetups_processing_information'
471
+ require 'cybersource_rest_client/models/riskv1authenticationsetups_token_information'
404
472
  require 'cybersource_rest_client/models/riskv1decisions_buyer_information'
405
473
  require 'cybersource_rest_client/models/riskv1decisions_card_verification'
406
474
  require 'cybersource_rest_client/models/riskv1decisions_client_reference_information'
407
475
  require 'cybersource_rest_client/models/riskv1decisions_device_information'
408
476
  require 'cybersource_rest_client/models/riskv1decisions_merchant_defined_information'
409
477
  require 'cybersource_rest_client/models/riskv1decisions_order_information'
410
- require 'cybersource_rest_client/models/riskv1decisions_order_information_address'
411
478
  require 'cybersource_rest_client/models/riskv1decisions_order_information_amount_details'
412
479
  require 'cybersource_rest_client/models/riskv1decisions_order_information_bill_to'
413
480
  require 'cybersource_rest_client/models/riskv1decisions_order_information_line_items'
@@ -415,16 +482,36 @@ require 'cybersource_rest_client/models/riskv1decisions_order_information_passen
415
482
  require 'cybersource_rest_client/models/riskv1decisions_order_information_ship_to'
416
483
  require 'cybersource_rest_client/models/riskv1decisions_order_information_shipping_details'
417
484
  require 'cybersource_rest_client/models/riskv1decisions_payment_information'
418
- require 'cybersource_rest_client/models/riskv1decisions_payment_information_bank'
419
485
  require 'cybersource_rest_client/models/riskv1decisions_payment_information_card'
420
486
  require 'cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card'
421
487
  require 'cybersource_rest_client/models/riskv1decisions_processor_information'
422
488
  require 'cybersource_rest_client/models/riskv1decisions_processor_information_avs'
423
489
  require 'cybersource_rest_client/models/riskv1decisions_risk_information'
424
- require 'cybersource_rest_client/models/riskv1decisions_risk_information_marking_details'
425
490
  require 'cybersource_rest_client/models/riskv1decisions_risk_information_profile'
426
491
  require 'cybersource_rest_client/models/riskv1decisions_travel_information'
427
492
  require 'cybersource_rest_client/models/riskv1decisions_travel_information_legs'
493
+ require 'cybersource_rest_client/models/riskv1decisionsidmarking_risk_information'
494
+ require 'cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details'
495
+ require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information'
496
+ require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information'
497
+ require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights'
498
+ require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information'
499
+ require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to'
500
+ require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company'
501
+ require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items'
502
+ require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to'
503
+ require 'cybersource_rest_client/models/riskv1liststypeentries_buyer_information'
504
+ require 'cybersource_rest_client/models/riskv1liststypeentries_device_information'
505
+ require 'cybersource_rest_client/models/riskv1liststypeentries_order_information'
506
+ require 'cybersource_rest_client/models/riskv1liststypeentries_order_information_address'
507
+ require 'cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to'
508
+ require 'cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items'
509
+ require 'cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to'
510
+ require 'cybersource_rest_client/models/riskv1liststypeentries_payment_information'
511
+ require 'cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank'
512
+ require 'cybersource_rest_client/models/riskv1liststypeentries_payment_information_card'
513
+ require 'cybersource_rest_client/models/riskv1liststypeentries_risk_information'
514
+ require 'cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details'
428
515
  require 'cybersource_rest_client/models/self_link_bean'
429
516
  require 'cybersource_rest_client/models/tms_v1_instrument_identifiers_delete409_response'
430
517
  require 'cybersource_rest_client/models/tms_v1_instrument_identifiers_delete409_response__links'
@@ -462,6 +549,8 @@ require 'cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_re
462
549
  require 'cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_processing_information_authorization_options'
463
550
  require 'cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_authorization_options_initiator'
464
551
  require 'cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_merchant_initiated_transaction'
552
+ require 'cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_tokenized_card'
553
+ require 'cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_tokenized_card_card'
465
554
  require 'cybersource_rest_client/models/tmsv1instrumentidentifiers_bank_account'
466
555
  require 'cybersource_rest_client/models/tmsv1instrumentidentifiers_bill_to'
467
556
  require 'cybersource_rest_client/models/tmsv1instrumentidentifiers_card'
@@ -544,6 +633,9 @@ require 'cybersource_rest_client/models/v1_file_details_get200_response_file_det
544
633
  require 'cybersource_rest_client/models/v1_file_details_get200_response__links'
545
634
  require 'cybersource_rest_client/models/v1_file_details_get200_response__links_files'
546
635
  require 'cybersource_rest_client/models/v1_file_details_get200_response__links_self'
636
+ require 'cybersource_rest_client/models/validate_export_compliance_request'
637
+ require 'cybersource_rest_client/models/validate_request'
638
+ require 'cybersource_rest_client/models/verify_customer_address_request'
547
639
  require 'cybersource_rest_client/models/void_capture_request'
548
640
  require 'cybersource_rest_client/models/void_credit_request'
549
641
  require 'cybersource_rest_client/models/void_payment_request'
@@ -579,6 +671,7 @@ require 'cybersource_rest_client/api/tokenization_api'
579
671
  require 'cybersource_rest_client/api/transaction_batches_api'
580
672
  require 'cybersource_rest_client/api/transaction_details_api'
581
673
  require 'cybersource_rest_client/api/user_management_api'
674
+ require 'cybersource_rest_client/api/verification_api'
582
675
  require 'cybersource_rest_client/api/void_api'
583
676
 
584
677
  # Utilities
@@ -20,7 +20,7 @@ module CyberSource
20
20
  @api_client = api_client
21
21
  @api_client.set_configuration(config)
22
22
  end
23
- # Authentication exemptions service
23
+ # Authentication Exemptions Service
24
24
  # A new CYBS branded service to connect to VISA’s REST API to enable Visa Transaction Advisor (VTA) as a standalone service for merchants to support PSD2/SCA adoption and exemptions processing startegy in Europe.VTA Provides intelligent risk data to merchants as inputs to their in-house fraud management tools for fraud mitigation on Visa transactions.
25
25
  # @param authentication_exemptions_request
26
26
  # @param [Hash] opts the optional parameters
@@ -30,7 +30,7 @@ module CyberSource
30
30
  return data, status_code, headers
31
31
  end
32
32
 
33
- # Authentication exemptions service
33
+ # Authentication Exemptions Service
34
34
  # A new CYBS branded service to connect to VISA’s REST API to enable Visa Transaction Advisor (VTA) as a standalone service for merchants to support PSD2/SCA adoption and exemptions processing startegy in Europe.VTA Provides intelligent risk data to merchants as inputs to their in-house fraud management tools for fraud mitigation on Visa transactions.
35
35
  # @param authentication_exemptions_request
36
36
  # @param [Hash] opts the optional parameters
@@ -20,7 +20,7 @@ module CyberSource
20
20
  @api_client = api_client
21
21
  @api_client.set_configuration(config)
22
22
  end
23
- # Get conversion detail transactions
23
+ # Get Conversion Detail Transactions
24
24
  # Get conversion detail of transactions for a merchant.
25
25
  # @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'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
26
26
  # @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'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
@@ -32,7 +32,7 @@ module CyberSource
32
32
  return data, status_code, headers
33
33
  end
34
34
 
35
- # Get conversion detail transactions
35
+ # Get Conversion Detail Transactions
36
36
  # Get conversion detail of transactions for a merchant.
37
37
  # @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'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
38
38
  # @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'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
@@ -20,6 +20,77 @@ module CyberSource
20
20
  @api_client = api_client
21
21
  @api_client.set_configuration(config)
22
22
  end
23
+ # List Management
24
+ # This call adds/deletes/converts the request information in the negative list. Provide the list to be updated as the path parameter. This value can be 'postiive', 'negative' or 'review'.
25
+ # @param type The list to be updated. It can be 'positive', 'negative' or 'review'.
26
+ # @param add_negative_list_request
27
+ # @param [Hash] opts the optional parameters
28
+ # @return [RiskV1UpdatePost201Response]
29
+ def add_negative(type, add_negative_list_request, opts = {})
30
+ data, status_code, headers = add_negative_with_http_info(type, add_negative_list_request, opts)
31
+ return data, status_code, headers
32
+ end
33
+
34
+ # List Management
35
+ # This call adds/deletes/converts the request information in the negative list. Provide the list to be updated as the path parameter. This value can be 'postiive', 'negative' or 'review'.
36
+ # @param type The list to be updated. It can be 'positive', 'negative' or 'review'.
37
+ # @param add_negative_list_request
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [Array<(RiskV1UpdatePost201Response, Fixnum, Hash)>] RiskV1UpdatePost201Response data, response status code and response headers
40
+ def add_negative_with_http_info(type, add_negative_list_request, opts = {})
41
+
42
+ if @api_client.config.debugging
43
+ begin
44
+ raise
45
+ @api_client.config.logger.debug 'Calling API: DecisionManagerApi.add_negative ...'
46
+ rescue
47
+ puts 'Cannot write to log'
48
+ end
49
+ end
50
+ # verify the required parameter 'type' is set
51
+ if @api_client.config.client_side_validation && type.nil?
52
+ fail ArgumentError, "Missing the required parameter 'type' when calling DecisionManagerApi.add_negative"
53
+ end
54
+ # verify the required parameter 'add_negative_list_request' is set
55
+ if @api_client.config.client_side_validation && add_negative_list_request.nil?
56
+ fail ArgumentError, "Missing the required parameter 'add_negative_list_request' when calling DecisionManagerApi.add_negative"
57
+ end
58
+ # resource path
59
+ local_var_path = 'risk/v1/lists/{type}/entries'.sub('{' + 'type' + '}', type.to_s)
60
+
61
+ # query parameters
62
+ query_params = {}
63
+
64
+ # header parameters
65
+ header_params = {}
66
+ # HTTP header 'Accept' (if needed)
67
+ header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
68
+ # HTTP header 'Content-Type'
69
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
70
+
71
+ # form parameters
72
+ form_params = {}
73
+
74
+ # http body (model)
75
+ post_body = @api_client.object_to_http_body(add_negative_list_request)
76
+ auth_names = []
77
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
78
+ :header_params => header_params,
79
+ :query_params => query_params,
80
+ :form_params => form_params,
81
+ :body => post_body,
82
+ :auth_names => auth_names,
83
+ :return_type => 'RiskV1UpdatePost201Response')
84
+ if @api_client.config.debugging
85
+ begin
86
+ raise
87
+ @api_client.config.logger.debug "API called: DecisionManagerApi#add_negative\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ rescue
89
+ puts 'Cannot write to log'
90
+ end
91
+ end
92
+ return data, status_code, headers
93
+ end
23
94
  # Create Decision Manager Case
24
95
  # This is the combined request to the Decision Manager Service for a transaction sent to Cybersource. Decision Manager will return a decision based on the request values.
25
96
  # @param create_decision_manager_case_request
@@ -85,5 +156,76 @@ module CyberSource
85
156
  end
86
157
  return data, status_code, headers
87
158
  end
159
+ # Fraud Marking
160
+ # This can be used to - 1. Add known fraudulent data to the fraud history 2. Remove data added to history with Transaction Marking Tool or by uploading chargeback files 3. Remove chargeback data from history that was automatically added. For detailed information, contact your Cybersource representative Place the request ID of the transaction you want to mark as suspect (or remove from history) as the path parameter in this request.
161
+ # @param id Request ID of the transaction that you want to mark as suspect or remove from history.
162
+ # @param fraud_marking_action_request
163
+ # @param [Hash] opts the optional parameters
164
+ # @return [RiskV1UpdatePost201Response]
165
+ def fraud_update(id, fraud_marking_action_request, opts = {})
166
+ data, status_code, headers = fraud_update_with_http_info(id, fraud_marking_action_request, opts)
167
+ return data, status_code, headers
168
+ end
169
+
170
+ # Fraud Marking
171
+ # This can be used to - 1. Add known fraudulent data to the fraud history 2. Remove data added to history with Transaction Marking Tool or by uploading chargeback files 3. Remove chargeback data from history that was automatically added. For detailed information, contact your Cybersource representative Place the request ID of the transaction you want to mark as suspect (or remove from history) as the path parameter in this request.
172
+ # @param id Request ID of the transaction that you want to mark as suspect or remove from history.
173
+ # @param fraud_marking_action_request
174
+ # @param [Hash] opts the optional parameters
175
+ # @return [Array<(RiskV1UpdatePost201Response, Fixnum, Hash)>] RiskV1UpdatePost201Response data, response status code and response headers
176
+ def fraud_update_with_http_info(id, fraud_marking_action_request, opts = {})
177
+
178
+ if @api_client.config.debugging
179
+ begin
180
+ raise
181
+ @api_client.config.logger.debug 'Calling API: DecisionManagerApi.fraud_update ...'
182
+ rescue
183
+ puts 'Cannot write to log'
184
+ end
185
+ end
186
+ # verify the required parameter 'id' is set
187
+ if @api_client.config.client_side_validation && id.nil?
188
+ fail ArgumentError, "Missing the required parameter 'id' when calling DecisionManagerApi.fraud_update"
189
+ end
190
+ # verify the required parameter 'fraud_marking_action_request' is set
191
+ if @api_client.config.client_side_validation && fraud_marking_action_request.nil?
192
+ fail ArgumentError, "Missing the required parameter 'fraud_marking_action_request' when calling DecisionManagerApi.fraud_update"
193
+ end
194
+ # resource path
195
+ local_var_path = 'risk/v1/decisions/{id}/marking'.sub('{' + 'id' + '}', id.to_s)
196
+
197
+ # query parameters
198
+ query_params = {}
199
+
200
+ # header parameters
201
+ header_params = {}
202
+ # HTTP header 'Accept' (if needed)
203
+ header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
204
+ # HTTP header 'Content-Type'
205
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
206
+
207
+ # form parameters
208
+ form_params = {}
209
+
210
+ # http body (model)
211
+ post_body = @api_client.object_to_http_body(fraud_marking_action_request)
212
+ auth_names = []
213
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
214
+ :header_params => header_params,
215
+ :query_params => query_params,
216
+ :form_params => form_params,
217
+ :body => post_body,
218
+ :auth_names => auth_names,
219
+ :return_type => 'RiskV1UpdatePost201Response')
220
+ if @api_client.config.debugging
221
+ begin
222
+ raise
223
+ @api_client.config.logger.debug "API called: DecisionManagerApi#fraud_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
224
+ rescue
225
+ puts 'Cannot write to log'
226
+ end
227
+ end
228
+ return data, status_code, headers
229
+ end
88
230
  end
89
231
  end