cybersource_rest_client 0.0.79 → 0.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +17 -7
  3. data/lib/AuthenticationSDK/core/Authorization.rb +2 -2
  4. data/lib/AuthenticationSDK/core/MerchantConfig.rb +278 -23
  5. data/lib/AuthenticationSDK/util/Cache.rb +158 -8
  6. data/lib/AuthenticationSDK/util/CachedMLEKId.rb +17 -0
  7. data/lib/AuthenticationSDK/util/CertificateUtility.rb +109 -29
  8. data/lib/AuthenticationSDK/util/Constants.rb +6 -0
  9. data/lib/AuthenticationSDK/util/JWT/JWTExceptions.rb +81 -0
  10. data/lib/AuthenticationSDK/util/JWT/JWTUtility.rb +154 -0
  11. data/lib/AuthenticationSDK/util/MLEUtility.rb +167 -11
  12. data/lib/AuthenticationSDK/util/Utility.rb +37 -1
  13. data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +13 -5
  14. data/lib/cybersource_rest_client/api/batches_api.rb +50 -18
  15. data/lib/cybersource_rest_client/api/billing_agreements_api.rb +33 -9
  16. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +11 -3
  17. data/lib/cybersource_rest_client/api/capture_api.rb +11 -3
  18. data/lib/cybersource_rest_client/api/chargeback_details_api.rb +11 -3
  19. data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +11 -3
  20. data/lib/cybersource_rest_client/api/conversion_details_api.rb +11 -3
  21. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +35 -11
  22. data/lib/cybersource_rest_client/api/credit_api.rb +11 -3
  23. data/lib/cybersource_rest_client/api/customer_api.rb +44 -12
  24. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +55 -15
  25. data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +55 -15
  26. data/lib/cybersource_rest_client/api/decision_manager_api.rb +57 -17
  27. data/lib/cybersource_rest_client/api/device_de_association_api.rb +24 -8
  28. data/lib/cybersource_rest_client/api/device_search_api.rb +26 -10
  29. data/lib/cybersource_rest_client/api/download_dtd_api.rb +11 -3
  30. data/lib/cybersource_rest_client/api/download_xsd_api.rb +11 -3
  31. data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +22 -6
  32. data/lib/cybersource_rest_client/api/enrollment_api.rb +104 -0
  33. data/lib/cybersource_rest_client/api/flex_api_api.rb +11 -3
  34. data/lib/cybersource_rest_client/api/instructions_api.rb +452 -0
  35. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +66 -18
  36. data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +11 -3
  37. data/lib/cybersource_rest_client/api/invoice_settings_api.rb +22 -6
  38. data/lib/cybersource_rest_client/api/invoices_api.rb +77 -21
  39. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +81 -25
  40. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +24 -8
  41. data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +50 -18
  42. data/lib/cybersource_rest_client/api/microform_integration_api.rb +11 -3
  43. data/lib/cybersource_rest_client/api/net_fundings_api.rb +11 -3
  44. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +11 -3
  45. data/lib/cybersource_rest_client/api/offers_api.rb +24 -8
  46. data/lib/cybersource_rest_client/api/orders_api.rb +22 -6
  47. data/lib/cybersource_rest_client/api/payer_authentication_api.rb +33 -9
  48. data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +11 -3
  49. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +44 -12
  50. data/lib/cybersource_rest_client/api/payment_links_api.rb +44 -12
  51. data/lib/cybersource_rest_client/api/payment_tokens_api.rb +11 -3
  52. data/lib/cybersource_rest_client/api/payments_api.rb +66 -18
  53. data/lib/cybersource_rest_client/api/payouts_api.rb +11 -3
  54. data/lib/cybersource_rest_client/api/plans_api.rb +88 -24
  55. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +11 -3
  56. data/lib/cybersource_rest_client/api/push_funds_api.rb +11 -3
  57. data/lib/cybersource_rest_client/api/refund_api.rb +22 -6
  58. data/lib/cybersource_rest_client/api/report_definitions_api.rb +22 -6
  59. data/lib/cybersource_rest_client/api/report_downloads_api.rb +11 -3
  60. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +55 -15
  61. data/lib/cybersource_rest_client/api/reports_api.rb +33 -9
  62. data/lib/cybersource_rest_client/api/retrieval_details_api.rb +11 -3
  63. data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +11 -3
  64. data/lib/cybersource_rest_client/api/reversal_api.rb +22 -6
  65. data/lib/cybersource_rest_client/api/search_transactions_api.rb +22 -6
  66. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +22 -6
  67. data/lib/cybersource_rest_client/api/subscriptions_api.rb +97 -33
  68. data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +22 -6
  69. data/lib/cybersource_rest_client/api/taxes_api.rb +22 -6
  70. data/lib/cybersource_rest_client/api/token_api.rb +24 -8
  71. data/lib/cybersource_rest_client/api/tokenize_api.rb +107 -0
  72. data/lib/cybersource_rest_client/api/tokenized_card_api.rb +126 -9
  73. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +44 -12
  74. data/lib/cybersource_rest_client/api/transaction_details_api.rb +11 -3
  75. data/lib/cybersource_rest_client/api/transient_token_data_api.rb +22 -6
  76. data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +11 -3
  77. data/lib/cybersource_rest_client/api/user_management_api.rb +11 -3
  78. data/lib/cybersource_rest_client/api/user_management_search_api.rb +11 -3
  79. data/lib/cybersource_rest_client/api/verification_api.rb +22 -6
  80. data/lib/cybersource_rest_client/api/void_api.rb +55 -15
  81. data/lib/cybersource_rest_client/api_client.rb +20 -3
  82. data/lib/cybersource_rest_client/models/acpv1instructions_decline_threshold.rb +232 -0
  83. data/lib/cybersource_rest_client/models/acpv1instructions_mandates.rb +405 -0
  84. data/lib/cybersource_rest_client/models/acpv1instructions_recurring_payment_information.rb +191 -0
  85. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconf_processor_info_payment_instrument_verifi_results.rb +213 -0
  86. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_confirmation_data.rb +229 -0
  87. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_merchant_information.rb +258 -0
  88. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information.rb +377 -0
  89. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information_shipping_details.rb +206 -0
  90. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information.rb +425 -0
  91. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb +190 -0
  92. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_attachments.rb +258 -0
  93. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_client_reference_information.rb +215 -0
  94. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_mandate_reference_data.rb +205 -0
  95. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information.rb +334 -0
  96. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information_merchant_descriptor.rb +250 -0
  97. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information.rb +228 -0
  98. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb +354 -0
  99. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items.rb +367 -0
  100. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_additional_info.rb +231 -0
  101. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_policies.rb +346 -0
  102. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_line_items.rb +190 -0
  103. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_ship_to.rb +686 -0
  104. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_payment_options.rb +217 -0
  105. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_transaction_data.rb +348 -0
  106. data/lib/cybersource_rest_client/models/acpv1tokens_assurance_data.rb +313 -0
  107. data/lib/cybersource_rest_client/models/acpv1tokens_authenticated_identities.rb +237 -0
  108. data/lib/cybersource_rest_client/models/acpv1tokens_authentication_context.rb +191 -0
  109. data/lib/cybersource_rest_client/models/acpv1tokens_bill_to.rb +400 -0
  110. data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information.rb +229 -0
  111. data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information_personal_identification.rb +212 -0
  112. data/lib/cybersource_rest_client/models/acpv1tokens_consent_data.rb +297 -0
  113. data/lib/cybersource_rest_client/models/{rbsv1subscriptions_client_reference_information.rb → acpv1tokens_consumer_identity.rb} +73 -61
  114. data/lib/cybersource_rest_client/models/acpv1tokens_device_information.rb +378 -0
  115. data/lib/cybersource_rest_client/models/acpv1tokens_device_information_device_data.rb +302 -0
  116. data/lib/cybersource_rest_client/models/acpv1tokens_enrollment_reference_data.rb +207 -0
  117. data/lib/cybersource_rest_client/models/acpv1tokens_payment_information.rb +215 -0
  118. data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_customer.rb +197 -0
  119. data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_instrument_identifier.rb +206 -0
  120. data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_payment_instrument.rb +197 -0
  121. data/lib/cybersource_rest_client/models/agentic_cancel_purchase_intent_request.rb +257 -0
  122. data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400.rb +189 -0
  123. data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error.rb +238 -0
  124. data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error_detail.rb +224 -0
  125. data/lib/cybersource_rest_client/models/agentic_card_enrollment_request.rb +325 -0
  126. data/lib/cybersource_rest_client/models/agentic_card_enrollment_response200.rb +206 -0
  127. data/lib/cybersource_rest_client/models/agentic_card_enrollment_response202.rb +219 -0
  128. data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_request.rb +247 -0
  129. data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_response202.rb +195 -0
  130. data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_request.rb +327 -0
  131. data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_response200.rb +222 -0
  132. data/lib/cybersource_rest_client/models/agentic_pending_purchase_intent_response202.rb +241 -0
  133. data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_request.rb +247 -0
  134. data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200.rb +200 -0
  135. data/lib/cybersource_rest_client/models/{rbsv1plans_client_reference_information.rb → agentic_retrieve_payment_credentials_response200_transaction_response_complete.rb} +52 -47
  136. data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200_transaction_response_with_pending_events.rb +235 -0
  137. data/lib/cybersource_rest_client/models/agentic_update_purchase_intent_request.rb +315 -0
  138. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +36 -1
  139. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_localized_names.rb +254 -0
  140. data/lib/cybersource_rest_client/models/create_plan_request.rb +1 -11
  141. data/lib/cybersource_rest_client/models/create_subscription_request.rb +1 -1
  142. data/lib/cybersource_rest_client/models/create_subscription_request_1.rb +1 -1
  143. data/lib/cybersource_rest_client/models/create_subscription_response.rb +15 -5
  144. data/lib/cybersource_rest_client/models/generate_unified_checkout_capture_context_request.rb +13 -2
  145. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_client_reference_information.rb +196 -0
  146. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_subscriptions.rb +11 -1
  147. data/lib/cybersource_rest_client/models/get_subscription_response.rb +11 -1
  148. data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument.rb +1 -1
  149. data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument_buyer_information.rb +1 -1
  150. data/lib/cybersource_rest_client/models/get_subscription_response_1_shipping_address.rb +1 -1
  151. data/lib/cybersource_rest_client/models/get_subscription_response_reactivation_information.rb +22 -22
  152. data/lib/cybersource_rest_client/models/inline_response_200.rb +9 -44
  153. data/lib/cybersource_rest_client/models/inline_response_200_1.rb +29 -31
  154. data/lib/cybersource_rest_client/models/inline_response_200_10.rb +33 -37
  155. data/lib/cybersource_rest_client/models/{inline_response_200_9_devices.rb → inline_response_200_10_devices.rb} +2 -2
  156. data/lib/cybersource_rest_client/models/{inline_response_200_9_payment_processor_to_terminal_map.rb → inline_response_200_10_payment_processor_to_terminal_map.rb} +1 -1
  157. data/lib/cybersource_rest_client/models/inline_response_200_11.rb +47 -86
  158. data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded.rb → inline_response_200_11__embedded.rb} +2 -2
  159. data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded__links.rb → inline_response_200_11__embedded__links.rb} +2 -2
  160. data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded__links_reports.rb → inline_response_200_11__embedded__links_reports.rb} +1 -1
  161. data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded_batches.rb → inline_response_200_11__embedded_batches.rb} +3 -3
  162. data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded_totals.rb → inline_response_200_11__embedded_totals.rb} +1 -1
  163. data/lib/cybersource_rest_client/models/inline_response_200_11__links.rb +16 -17
  164. data/lib/cybersource_rest_client/models/inline_response_200_12.rb +47 -49
  165. data/lib/cybersource_rest_client/models/inline_response_200_12__links.rb +201 -0
  166. data/lib/cybersource_rest_client/models/{inline_response_200_11__links_report.rb → inline_response_200_12__links_report.rb} +1 -1
  167. data/lib/cybersource_rest_client/models/{inline_response_200_11_billing.rb → inline_response_200_12_billing.rb} +1 -1
  168. data/lib/cybersource_rest_client/models/inline_response_200_13.rb +102 -31
  169. data/lib/cybersource_rest_client/models/{inline_response_200_12_records.rb → inline_response_200_13_records.rb} +3 -3
  170. data/lib/cybersource_rest_client/models/{inline_response_200_12_response_record.rb → inline_response_200_13_response_record.rb} +2 -2
  171. data/lib/cybersource_rest_client/models/{inline_response_200_12_response_record_additional_updates.rb → inline_response_200_13_response_record_additional_updates.rb} +1 -1
  172. data/lib/cybersource_rest_client/models/{inline_response_200_12_source_record.rb → inline_response_200_13_source_record.rb} +1 -1
  173. data/lib/cybersource_rest_client/models/inline_response_200_14.rb +18 -84
  174. data/lib/cybersource_rest_client/models/inline_response_200_15.rb +287 -0
  175. data/lib/cybersource_rest_client/models/{inline_response_200_14_client_reference_information.rb → inline_response_200_15_client_reference_information.rb} +1 -1
  176. data/lib/cybersource_rest_client/models/{inline_response_200_content.rb → inline_response_200_1_content.rb} +1 -1
  177. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +32 -103
  178. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded.rb → inline_response_200_2__embedded.rb} +3 -3
  179. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture.rb → inline_response_200_2__embedded_capture.rb} +2 -2
  180. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture__links.rb → inline_response_200_2__embedded_capture__links.rb} +2 -2
  181. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture__links_self.rb → inline_response_200_2__embedded_capture__links_self.rb} +1 -1
  182. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal.rb → inline_response_200_2__embedded_reversal.rb} +2 -2
  183. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal__links.rb → inline_response_200_2__embedded_reversal__links.rb} +2 -2
  184. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal__links_self.rb → inline_response_200_2__embedded_reversal__links_self.rb} +1 -1
  185. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +100 -54
  186. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +65 -25
  187. data/lib/cybersource_rest_client/models/{inline_response_200_3_integration_information.rb → inline_response_200_4_integration_information.rb} +2 -2
  188. data/lib/cybersource_rest_client/models/{inline_response_200_3_integration_information_tenant_configurations.rb → inline_response_200_4_integration_information_tenant_configurations.rb} +1 -1
  189. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +25 -126
  190. data/lib/cybersource_rest_client/models/inline_response_200_6.rb +1 -12
  191. data/lib/cybersource_rest_client/models/inline_response_200_7.rb +129 -51
  192. data/lib/cybersource_rest_client/models/inline_response_200_8.rb +55 -10
  193. data/lib/cybersource_rest_client/models/{inline_response_200_7_devices.rb → inline_response_200_8_devices.rb} +1 -1
  194. data/lib/cybersource_rest_client/models/inline_response_200_9.rb +10 -55
  195. data/lib/cybersource_rest_client/models/{inline_response_200_10__links.rb → inline_response_200_details.rb} +18 -17
  196. data/lib/cybersource_rest_client/models/inline_response_200_errors.rb +213 -0
  197. data/lib/cybersource_rest_client/models/inline_response_200_responses.rb +224 -0
  198. data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments.rb +15 -5
  199. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +9 -9
  200. data/lib/cybersource_rest_client/models/patch_customer_request.rb +9 -9
  201. data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +3 -3
  202. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +9 -9
  203. data/lib/cybersource_rest_client/models/payment_instrument_list_1__embedded_payment_instruments.rb +8 -8
  204. data/lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb +1 -1
  205. data/lib/cybersource_rest_client/models/payments_products.rb +15 -5
  206. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +9 -9
  207. data/lib/cybersource_rest_client/models/post_customer_request.rb +9 -9
  208. data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +3 -3
  209. data/lib/cybersource_rest_client/models/post_issuer_life_cycle_simulation_request.rb +211 -0
  210. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +9 -9
  211. data/lib/cybersource_rest_client/models/post_tokenize_request.rb +199 -0
  212. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +22 -5
  213. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +22 -5
  214. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +39 -5
  215. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information.rb +246 -0
  216. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit.rb +189 -0
  217. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline.rb +889 -0
  218. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information.rb +259 -0
  219. data/lib/cybersource_rest_client/models/{rbsv1subscriptions_client_reference_information_partner.rb → ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information_service.rb} +24 -24
  220. data/lib/cybersource_rest_client/models/refund_capture_request.rb +1 -1
  221. data/lib/cybersource_rest_client/models/refund_payment_request.rb +1 -1
  222. data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__embedded.rb +1 -1
  223. data/lib/cybersource_rest_client/models/tms_issuerlifecycleeventsimulations_metadata_card_art_combined_asset.rb +190 -0
  224. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_merchant_information.rb → tms_merchant_information.rb} +2 -2
  225. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb → tms_merchant_information_merchant_descriptor.rb} +1 -1
  226. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb → tmsv2tokenize_default_payment_instrument_buyer_info_issued_by.rb} +1 -1
  227. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb → tmsv2tokenize_default_payment_instrument_buyer_info_personal_identification.rb} +2 -2
  228. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb → tmsv2tokenize_default_payment_instrument_card_tokenized_info.rb} +1 -1
  229. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb → tmsv2tokenize_default_payment_instrument_instrument_identifier.rb} +1 -1
  230. data/lib/cybersource_rest_client/models/tmsv2tokenize_processing_information.rb +205 -0
  231. data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information.rb +247 -0
  232. data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information_customer.rb +289 -0
  233. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded.rb → tmsv2tokenize_token_information_customer__embedded.rb} +3 -3
  234. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument.rb} +10 -10
  235. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__embedded.rb} +1 -1
  236. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__links.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links.rb} +3 -3
  237. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__links_self.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links_self.rb} +1 -1
  238. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_bank_account.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bank_account.rb} +1 -1
  239. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_bill_to.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bill_to.rb} +1 -1
  240. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_buyer_information.rb} +2 -2
  241. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_card.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_card.rb} +2 -2
  242. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_metadata.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_metadata.rb} +1 -1
  243. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address.rb} +4 -4
  244. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links.rb} +3 -3
  245. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links_customer.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_customer.rb} +1 -1
  246. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links_self.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_self.rb} +1 -1
  247. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address_metadata.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address_metadata.rb} +1 -1
  248. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address_ship_to.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address_ship_to.rb} +1 -1
  249. data/lib/cybersource_rest_client/models/{tmsv2customers__links.rb → tmsv2tokenize_token_information_customer__links.rb} +4 -4
  250. data/lib/cybersource_rest_client/models/{tmsv2customers__links_payment_instruments.rb → tmsv2tokenize_token_information_customer__links_payment_instruments.rb} +1 -1
  251. data/lib/cybersource_rest_client/models/{tmsv2customers__links_self.rb → tmsv2tokenize_token_information_customer__links_self.rb} +1 -1
  252. data/lib/cybersource_rest_client/models/{tmsv2customers__links_shipping_address.rb → tmsv2tokenize_token_information_customer__links_shipping_address.rb} +1 -1
  253. data/lib/cybersource_rest_client/models/{tmsv2customers_buyer_information.rb → tmsv2tokenize_token_information_customer_buyer_information.rb} +1 -1
  254. data/lib/cybersource_rest_client/models/{tmsv2customers_client_reference_information.rb → tmsv2tokenize_token_information_customer_client_reference_information.rb} +1 -1
  255. data/lib/cybersource_rest_client/models/{tmsv2customers_default_payment_instrument.rb → tmsv2tokenize_token_information_customer_default_payment_instrument.rb} +1 -1
  256. data/lib/cybersource_rest_client/models/{tmsv2customers_default_shipping_address.rb → tmsv2tokenize_token_information_customer_default_shipping_address.rb} +1 -1
  257. data/lib/cybersource_rest_client/models/{tmsv2customers_merchant_defined_information.rb → tmsv2tokenize_token_information_customer_merchant_defined_information.rb} +1 -1
  258. data/lib/cybersource_rest_client/models/{tmsv2customers_metadata.rb → tmsv2tokenize_token_information_customer_metadata.rb} +1 -1
  259. data/lib/cybersource_rest_client/models/{tmsv2customers_object_information.rb → tmsv2tokenize_token_information_customer_object_information.rb} +1 -1
  260. data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.rb +230 -0
  261. data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.rb +189 -0
  262. data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.rb +189 -0
  263. data/lib/cybersource_rest_client/models/update_subscription.rb +1 -1
  264. data/lib/cybersource_rest_client/models/upv1capturecontexts_data.rb +28 -6
  265. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_buyer_information.rb +41 -5
  266. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_buyer_information_personal_identification.rb +1 -0
  267. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_client_reference_information_partner.rb +3 -3
  268. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_consumer_authentication_information.rb +24 -5
  269. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_device_information.rb +196 -0
  270. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_merchant_defined_information.rb +3 -2
  271. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_merchant_information_merchant_descriptor.rb +124 -5
  272. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information.rb +15 -5
  273. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_amount_details.rb +15 -5
  274. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_amount_details_tax_details.rb +213 -0
  275. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_invoice_details.rb +213 -0
  276. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items.rb +30 -0
  277. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items_passenger.rb +8 -0
  278. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items_tax_details.rb +7 -0
  279. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_payment_information.rb +189 -0
  280. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_payment_information_card.rb +196 -0
  281. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information.rb +1 -0
  282. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options.rb +74 -5
  283. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options_initiator.rb +1 -0
  284. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_recipient_information.rb +39 -5
  285. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information.rb +1 -0
  286. data/lib/cybersource_rest_client/utilities/capture_context/capture_context_parsing_utility.rb +113 -0
  287. data/lib/cybersource_rest_client/utilities/capture_context/public_key_fetcher.rb +131 -0
  288. data/lib/cybersource_rest_client/utilities/jwe_utility.rb +1 -1
  289. data/lib/cybersource_rest_client.rb +144 -62
  290. metadata +151 -65
  291. /data/lib/AuthenticationSDK/util/{JWEUtility.rb → AuthJWEUtility.rb} +0 -0
@@ -24,7 +24,7 @@ module CyberSource
24
24
  # @param reference_type The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation
25
25
  # @param merchant_defined_field_definition_request
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<InlineResponse2002>]
27
+ # @return [Array<InlineResponse2003>]
28
28
  #
29
29
  def create_merchant_defined_field_definition(reference_type, merchant_defined_field_definition_request, opts = {})
30
30
  data, status_code, headers = create_merchant_defined_field_definition_with_http_info(reference_type, merchant_defined_field_definition_request, opts)
@@ -35,7 +35,7 @@ module CyberSource
35
35
  # @param reference_type The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation
36
36
  # @param merchant_defined_field_definition_request
37
37
  # @param [Hash] opts the optional parameters
38
- # @return [Array<(Array<InlineResponse2002>, Fixnum, Hash)>] Array<InlineResponse2002> data, response status code and response headers
38
+ # @return [Array<(Array<InlineResponse2003>, Fixnum, Hash)>] Array<InlineResponse2003> data, response status code and response headers
39
39
  def create_merchant_defined_field_definition_with_http_info(reference_type, merchant_defined_field_definition_request, opts = {})
40
40
 
41
41
  if @api_client.config.debugging
@@ -78,10 +78,17 @@ module CyberSource
78
78
  post_body = @api_client.object_to_http_body(merchant_defined_field_definition_request)
79
79
  sdk_tracker = SdkTracker.new
80
80
  post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'MerchantDefinedFieldDefinitionRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
81
- inbound_mle_status = "false"
81
+ inbound_mle_status = "false"
82
82
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_merchant_defined_field_definition","create_merchant_defined_field_definition_with_http_info"])
83
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
83
+ begin
84
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
85
+ rescue
86
+ raise
87
+ end
84
88
  end
89
+
90
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_merchant_defined_field_definition","create_merchant_defined_field_definition_with_http_info"])
91
+
85
92
  auth_names = []
86
93
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
87
94
  :header_params => header_params,
@@ -89,7 +96,8 @@ module CyberSource
89
96
  :form_params => form_params,
90
97
  :body => post_body,
91
98
  :auth_names => auth_names,
92
- :return_type => 'Array<InlineResponse2002>')
99
+ :return_type => 'Array<InlineResponse2003>',
100
+ :isResponseMLEForApi => is_response_mle_for_api)
93
101
  if @api_client.config.debugging
94
102
  begin
95
103
  raise
@@ -161,17 +169,25 @@ module CyberSource
161
169
  else
162
170
  post_body = nil
163
171
  end
164
- inbound_mle_status = "false"
172
+ inbound_mle_status = "false"
165
173
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["delete_merchant_defined_fields_definitions","delete_merchant_defined_fields_definitions_with_http_info"])
166
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
174
+ begin
175
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
176
+ rescue
177
+ raise
178
+ end
167
179
  end
180
+
181
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["delete_merchant_defined_fields_definitions","delete_merchant_defined_fields_definitions_with_http_info"])
182
+
168
183
  auth_names = []
169
184
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
170
185
  :header_params => header_params,
171
186
  :query_params => query_params,
172
187
  :form_params => form_params,
173
188
  :body => post_body,
174
- :auth_names => auth_names)
189
+ :auth_names => auth_names,
190
+ :isResponseMLEForApi => is_response_mle_for_api)
175
191
  if @api_client.config.debugging
176
192
  begin
177
193
  raise
@@ -186,7 +202,7 @@ module CyberSource
186
202
  #
187
203
  # @param reference_type The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation
188
204
  # @param [Hash] opts the optional parameters
189
- # @return [Array<InlineResponse2002>]
205
+ # @return [Array<InlineResponse2003>]
190
206
  #
191
207
  def get_merchant_defined_fields_definitions(reference_type, opts = {})
192
208
  data, status_code, headers = get_merchant_defined_fields_definitions_with_http_info(reference_type, opts)
@@ -196,7 +212,7 @@ module CyberSource
196
212
  # Get all merchant defined fields for a given reference type
197
213
  # @param reference_type The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation
198
214
  # @param [Hash] opts the optional parameters
199
- # @return [Array<(Array<InlineResponse2002>, Fixnum, Hash)>] Array<InlineResponse2002> data, response status code and response headers
215
+ # @return [Array<(Array<InlineResponse2003>, Fixnum, Hash)>] Array<InlineResponse2003> data, response status code and response headers
200
216
  def get_merchant_defined_fields_definitions_with_http_info(reference_type, opts = {})
201
217
 
202
218
  if @api_client.config.debugging
@@ -237,10 +253,17 @@ module CyberSource
237
253
  else
238
254
  post_body = nil
239
255
  end
240
- inbound_mle_status = "false"
256
+ inbound_mle_status = "false"
241
257
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_merchant_defined_fields_definitions","get_merchant_defined_fields_definitions_with_http_info"])
242
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
258
+ begin
259
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
260
+ rescue
261
+ raise
262
+ end
243
263
  end
264
+
265
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_merchant_defined_fields_definitions","get_merchant_defined_fields_definitions_with_http_info"])
266
+
244
267
  auth_names = []
245
268
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
246
269
  :header_params => header_params,
@@ -248,7 +271,8 @@ module CyberSource
248
271
  :form_params => form_params,
249
272
  :body => post_body,
250
273
  :auth_names => auth_names,
251
- :return_type => 'Array<InlineResponse2002>')
274
+ :return_type => 'Array<InlineResponse2003>',
275
+ :isResponseMLEForApi => is_response_mle_for_api)
252
276
  if @api_client.config.debugging
253
277
  begin
254
278
  raise
@@ -265,7 +289,7 @@ module CyberSource
265
289
  # @param id
266
290
  # @param merchant_defined_field_core
267
291
  # @param [Hash] opts the optional parameters
268
- # @return [Array<InlineResponse2002>]
292
+ # @return [Array<InlineResponse2003>]
269
293
  #
270
294
  def put_merchant_defined_fields_definitions(reference_type, id, merchant_defined_field_core, opts = {})
271
295
  data, status_code, headers = put_merchant_defined_fields_definitions_with_http_info(reference_type, id, merchant_defined_field_core, opts)
@@ -277,7 +301,7 @@ module CyberSource
277
301
  # @param id
278
302
  # @param merchant_defined_field_core
279
303
  # @param [Hash] opts the optional parameters
280
- # @return [Array<(Array<InlineResponse2002>, Fixnum, Hash)>] Array<InlineResponse2002> data, response status code and response headers
304
+ # @return [Array<(Array<InlineResponse2003>, Fixnum, Hash)>] Array<InlineResponse2003> data, response status code and response headers
281
305
  def put_merchant_defined_fields_definitions_with_http_info(reference_type, id, merchant_defined_field_core, opts = {})
282
306
 
283
307
  if @api_client.config.debugging
@@ -324,10 +348,17 @@ module CyberSource
324
348
  post_body = @api_client.object_to_http_body(merchant_defined_field_core)
325
349
  sdk_tracker = SdkTracker.new
326
350
  post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'MerchantDefinedFieldCore', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
327
- inbound_mle_status = "false"
351
+ inbound_mle_status = "false"
328
352
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["put_merchant_defined_fields_definitions","put_merchant_defined_fields_definitions_with_http_info"])
329
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
353
+ begin
354
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
355
+ rescue
356
+ raise
357
+ end
330
358
  end
359
+
360
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["put_merchant_defined_fields_definitions","put_merchant_defined_fields_definitions_with_http_info"])
361
+
331
362
  auth_names = []
332
363
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
333
364
  :header_params => header_params,
@@ -335,7 +366,8 @@ module CyberSource
335
366
  :form_params => form_params,
336
367
  :body => post_body,
337
368
  :auth_names => auth_names,
338
- :return_type => 'Array<InlineResponse2002>')
369
+ :return_type => 'Array<InlineResponse2003>',
370
+ :isResponseMLEForApi => is_response_mle_for_api)
339
371
  if @api_client.config.debugging
340
372
  begin
341
373
  raise
@@ -70,10 +70,17 @@ module CyberSource
70
70
  post_body = @api_client.object_to_http_body(generate_capture_context_request)
71
71
  sdk_tracker = SdkTracker.new
72
72
  post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'GenerateCaptureContextRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
73
- inbound_mle_status = "false"
73
+ inbound_mle_status = "false"
74
74
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["generate_capture_context","generate_capture_context_with_http_info"])
75
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
75
+ begin
76
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
77
+ rescue
78
+ raise
79
+ end
76
80
  end
81
+
82
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["generate_capture_context","generate_capture_context_with_http_info"])
83
+
77
84
  auth_names = []
78
85
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
79
86
  :header_params => header_params,
@@ -81,7 +88,8 @@ module CyberSource
81
88
  :form_params => form_params,
82
89
  :body => post_body,
83
90
  :auth_names => auth_names,
84
- :return_type => 'String')
91
+ :return_type => 'String',
92
+ :isResponseMLEForApi => is_response_mle_for_api)
85
93
  if @api_client.config.debugging
86
94
  begin
87
95
  raise
@@ -90,10 +90,17 @@ module CyberSource
90
90
  else
91
91
  post_body = nil
92
92
  end
93
- inbound_mle_status = "false"
93
+ inbound_mle_status = "false"
94
94
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_net_funding_details","get_net_funding_details_with_http_info"])
95
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
95
+ begin
96
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
97
+ rescue
98
+ raise
99
+ end
96
100
  end
101
+
102
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_net_funding_details","get_net_funding_details_with_http_info"])
103
+
97
104
  auth_names = []
98
105
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
99
106
  :header_params => header_params,
@@ -101,7 +108,8 @@ module CyberSource
101
108
  :form_params => form_params,
102
109
  :body => post_body,
103
110
  :auth_names => auth_names,
104
- :return_type => 'ReportingV3NetFundingsGet200Response')
111
+ :return_type => 'ReportingV3NetFundingsGet200Response',
112
+ :isResponseMLEForApi => is_response_mle_for_api)
105
113
  if @api_client.config.debugging
106
114
  begin
107
115
  raise
@@ -80,10 +80,17 @@ module CyberSource
80
80
  else
81
81
  post_body = nil
82
82
  end
83
- inbound_mle_status = "false"
83
+ inbound_mle_status = "false"
84
84
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_notification_of_change_report","get_notification_of_change_report_with_http_info"])
85
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
85
+ begin
86
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
87
+ rescue
88
+ raise
89
+ end
86
90
  end
91
+
92
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_notification_of_change_report","get_notification_of_change_report_with_http_info"])
93
+
87
94
  auth_names = []
88
95
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
89
96
  :header_params => header_params,
@@ -91,7 +98,8 @@ module CyberSource
91
98
  :form_params => form_params,
92
99
  :body => post_body,
93
100
  :auth_names => auth_names,
94
- :return_type => 'ReportingV3NotificationofChangesGet200Response')
101
+ :return_type => 'ReportingV3NotificationofChangesGet200Response',
102
+ :isResponseMLEForApi => is_response_mle_for_api)
95
103
  if @api_client.config.debugging
96
104
  begin
97
105
  raise
@@ -105,10 +105,17 @@ module CyberSource
105
105
  post_body = @api_client.object_to_http_body(offer_request)
106
106
  sdk_tracker = SdkTracker.new
107
107
  post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'OfferRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
108
- inbound_mle_status = "false"
108
+ inbound_mle_status = "false"
109
109
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_offer","create_offer_with_http_info"])
110
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
110
+ begin
111
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
112
+ rescue
113
+ raise
114
+ end
111
115
  end
116
+
117
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_offer","create_offer_with_http_info"])
118
+
112
119
  auth_names = []
113
120
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
114
121
  :header_params => header_params,
@@ -116,7 +123,8 @@ module CyberSource
116
123
  :form_params => form_params,
117
124
  :body => post_body,
118
125
  :auth_names => auth_names,
119
- :return_type => 'InlineResponse2018')
126
+ :return_type => 'InlineResponse2018',
127
+ :isResponseMLEForApi => is_response_mle_for_api)
120
128
  if @api_client.config.debugging
121
129
  begin
122
130
  raise
@@ -137,7 +145,7 @@ module CyberSource
137
145
  # @param v_c_organization_id
138
146
  # @param id Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id
139
147
  # @param [Hash] opts the optional parameters
140
- # @return [InlineResponse20014]
148
+ # @return [InlineResponse20015]
141
149
  #
142
150
  def get_offer(content_type, x_requestid, v_c_merchant_id, v_c_correlation_id, v_c_organization_id, id, opts = {})
143
151
  data, status_code, headers = get_offer_with_http_info(content_type, x_requestid, v_c_merchant_id, v_c_correlation_id, v_c_organization_id, id, opts)
@@ -153,7 +161,7 @@ module CyberSource
153
161
  # @param v_c_organization_id
154
162
  # @param id Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id
155
163
  # @param [Hash] opts the optional parameters
156
- # @return [Array<(InlineResponse20014, Fixnum, Hash)>] InlineResponse20014 data, response status code and response headers
164
+ # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
157
165
  def get_offer_with_http_info(content_type, x_requestid, v_c_merchant_id, v_c_correlation_id, v_c_organization_id, id, opts = {})
158
166
 
159
167
  if @api_client.config.debugging
@@ -215,10 +223,17 @@ module CyberSource
215
223
  else
216
224
  post_body = nil
217
225
  end
218
- inbound_mle_status = "false"
226
+ inbound_mle_status = "false"
219
227
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_offer","get_offer_with_http_info"])
220
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
228
+ begin
229
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
230
+ rescue
231
+ raise
232
+ end
221
233
  end
234
+
235
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_offer","get_offer_with_http_info"])
236
+
222
237
  auth_names = []
223
238
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
224
239
  :header_params => header_params,
@@ -226,7 +241,8 @@ module CyberSource
226
241
  :form_params => form_params,
227
242
  :body => post_body,
228
243
  :auth_names => auth_names,
229
- :return_type => 'InlineResponse20014')
244
+ :return_type => 'InlineResponse20015',
245
+ :isResponseMLEForApi => is_response_mle_for_api)
230
246
  if @api_client.config.debugging
231
247
  begin
232
248
  raise
@@ -70,10 +70,17 @@ module CyberSource
70
70
  post_body = @api_client.object_to_http_body(create_order_request)
71
71
  sdk_tracker = SdkTracker.new
72
72
  post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateOrderRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
73
- inbound_mle_status = "false"
73
+ inbound_mle_status = "false"
74
74
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_order","create_order_with_http_info"])
75
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
75
+ begin
76
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
77
+ rescue
78
+ raise
79
+ end
76
80
  end
81
+
82
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_order","create_order_with_http_info"])
83
+
77
84
  auth_names = []
78
85
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
79
86
  :header_params => header_params,
@@ -81,7 +88,8 @@ module CyberSource
81
88
  :form_params => form_params,
82
89
  :body => post_body,
83
90
  :auth_names => auth_names,
84
- :return_type => 'PtsV2CreateOrderPost201Response')
91
+ :return_type => 'PtsV2CreateOrderPost201Response',
92
+ :isResponseMLEForApi => is_response_mle_for_api)
85
93
  if @api_client.config.debugging
86
94
  begin
87
95
  raise
@@ -149,10 +157,17 @@ module CyberSource
149
157
  post_body = @api_client.object_to_http_body(update_order_request)
150
158
  sdk_tracker = SdkTracker.new
151
159
  post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateOrderRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
152
- inbound_mle_status = "false"
160
+ inbound_mle_status = "false"
153
161
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_order","update_order_with_http_info"])
154
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
162
+ begin
163
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
164
+ rescue
165
+ raise
166
+ end
155
167
  end
168
+
169
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["update_order","update_order_with_http_info"])
170
+
156
171
  auth_names = []
157
172
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
158
173
  :header_params => header_params,
@@ -160,7 +175,8 @@ module CyberSource
160
175
  :form_params => form_params,
161
176
  :body => post_body,
162
177
  :auth_names => auth_names,
163
- :return_type => 'PtsV2UpdateOrderPatch201Response')
178
+ :return_type => 'PtsV2UpdateOrderPatch201Response',
179
+ :isResponseMLEForApi => is_response_mle_for_api)
164
180
  if @api_client.config.debugging
165
181
  begin
166
182
  raise
@@ -70,10 +70,17 @@ module CyberSource
70
70
  post_body = @api_client.object_to_http_body(check_payer_auth_enrollment_request)
71
71
  sdk_tracker = SdkTracker.new
72
72
  post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CheckPayerAuthEnrollmentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
73
- inbound_mle_status = "optional"
73
+ inbound_mle_status = "optional"
74
74
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["check_payer_auth_enrollment","check_payer_auth_enrollment_with_http_info"])
75
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
75
+ begin
76
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
77
+ rescue
78
+ raise
79
+ end
76
80
  end
81
+
82
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["check_payer_auth_enrollment","check_payer_auth_enrollment_with_http_info"])
83
+
77
84
  auth_names = []
78
85
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
79
86
  :header_params => header_params,
@@ -81,7 +88,8 @@ module CyberSource
81
88
  :form_params => form_params,
82
89
  :body => post_body,
83
90
  :auth_names => auth_names,
84
- :return_type => 'RiskV1AuthenticationsPost201Response')
91
+ :return_type => 'RiskV1AuthenticationsPost201Response',
92
+ :isResponseMLEForApi => is_response_mle_for_api)
85
93
  if @api_client.config.debugging
86
94
  begin
87
95
  raise
@@ -143,10 +151,17 @@ module CyberSource
143
151
  post_body = @api_client.object_to_http_body(payer_auth_setup_request)
144
152
  sdk_tracker = SdkTracker.new
145
153
  post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PayerAuthSetupRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
146
- inbound_mle_status = "optional"
154
+ inbound_mle_status = "optional"
147
155
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["payer_auth_setup","payer_auth_setup_with_http_info"])
148
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
156
+ begin
157
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
158
+ rescue
159
+ raise
160
+ end
149
161
  end
162
+
163
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["payer_auth_setup","payer_auth_setup_with_http_info"])
164
+
150
165
  auth_names = []
151
166
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
152
167
  :header_params => header_params,
@@ -154,7 +169,8 @@ module CyberSource
154
169
  :form_params => form_params,
155
170
  :body => post_body,
156
171
  :auth_names => auth_names,
157
- :return_type => 'RiskV1AuthenticationSetupsPost201Response')
172
+ :return_type => 'RiskV1AuthenticationSetupsPost201Response',
173
+ :isResponseMLEForApi => is_response_mle_for_api)
158
174
  if @api_client.config.debugging
159
175
  begin
160
176
  raise
@@ -216,10 +232,17 @@ module CyberSource
216
232
  post_body = @api_client.object_to_http_body(validate_request)
217
233
  sdk_tracker = SdkTracker.new
218
234
  post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'ValidateRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
219
- inbound_mle_status = "optional"
235
+ inbound_mle_status = "optional"
220
236
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["validate_authentication_results","validate_authentication_results_with_http_info"])
221
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
237
+ begin
238
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
239
+ rescue
240
+ raise
241
+ end
222
242
  end
243
+
244
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["validate_authentication_results","validate_authentication_results_with_http_info"])
245
+
223
246
  auth_names = []
224
247
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
225
248
  :header_params => header_params,
@@ -227,7 +250,8 @@ module CyberSource
227
250
  :form_params => form_params,
228
251
  :body => post_body,
229
252
  :auth_names => auth_names,
230
- :return_type => 'RiskV1AuthenticationResultsPost201Response')
253
+ :return_type => 'RiskV1AuthenticationResultsPost201Response',
254
+ :isResponseMLEForApi => is_response_mle_for_api)
231
255
  if @api_client.config.debugging
232
256
  begin
233
257
  raise
@@ -96,10 +96,17 @@ module CyberSource
96
96
  else
97
97
  post_body = nil
98
98
  end
99
- inbound_mle_status = "false"
99
+ inbound_mle_status = "false"
100
100
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_payment_batch_summary","get_payment_batch_summary_with_http_info"])
101
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
101
+ begin
102
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
103
+ rescue
104
+ raise
105
+ end
102
106
  end
107
+
108
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_payment_batch_summary","get_payment_batch_summary_with_http_info"])
109
+
103
110
  auth_names = []
104
111
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
105
112
  :header_params => header_params,
@@ -107,7 +114,8 @@ module CyberSource
107
114
  :form_params => form_params,
108
115
  :body => post_body,
109
116
  :auth_names => auth_names,
110
- :return_type => 'ReportingV3PaymentBatchSummariesGet200Response')
117
+ :return_type => 'ReportingV3PaymentBatchSummariesGet200Response',
118
+ :isResponseMLEForApi => is_response_mle_for_api)
111
119
  if @api_client.config.debugging
112
120
  begin
113
121
  raise
@@ -75,17 +75,25 @@ module CyberSource
75
75
  else
76
76
  post_body = nil
77
77
  end
78
- inbound_mle_status = "false"
78
+ inbound_mle_status = "false"
79
79
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["delete_payment_instrument","delete_payment_instrument_with_http_info"])
80
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
80
+ begin
81
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
82
+ rescue
83
+ raise
84
+ end
81
85
  end
86
+
87
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["delete_payment_instrument","delete_payment_instrument_with_http_info"])
88
+
82
89
  auth_names = []
83
90
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
84
91
  :header_params => header_params,
85
92
  :query_params => query_params,
86
93
  :form_params => form_params,
87
94
  :body => post_body,
88
- :auth_names => auth_names)
95
+ :auth_names => auth_names,
96
+ :isResponseMLEForApi => is_response_mle_for_api)
89
97
  if @api_client.config.debugging
90
98
  begin
91
99
  raise
@@ -155,10 +163,17 @@ module CyberSource
155
163
  else
156
164
  post_body = nil
157
165
  end
158
- inbound_mle_status = "false"
166
+ inbound_mle_status = "false"
159
167
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_payment_instrument","get_payment_instrument_with_http_info"])
160
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
168
+ begin
169
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
170
+ rescue
171
+ raise
172
+ end
161
173
  end
174
+
175
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_payment_instrument","get_payment_instrument_with_http_info"])
176
+
162
177
  auth_names = []
163
178
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
164
179
  :header_params => header_params,
@@ -166,7 +181,8 @@ module CyberSource
166
181
  :form_params => form_params,
167
182
  :body => post_body,
168
183
  :auth_names => auth_names,
169
- :return_type => 'PostPaymentInstrumentRequest')
184
+ :return_type => 'PostPaymentInstrumentRequest',
185
+ :isResponseMLEForApi => is_response_mle_for_api)
170
186
  if @api_client.config.debugging
171
187
  begin
172
188
  raise
@@ -243,10 +259,17 @@ module CyberSource
243
259
  post_body = @api_client.object_to_http_body(patch_payment_instrument_request)
244
260
  sdk_tracker = SdkTracker.new
245
261
  post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchPaymentInstrumentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
246
- inbound_mle_status = "false"
262
+ inbound_mle_status = "optional"
247
263
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["patch_payment_instrument","patch_payment_instrument_with_http_info"])
248
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
264
+ begin
265
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
266
+ rescue
267
+ raise
268
+ end
249
269
  end
270
+
271
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["patch_payment_instrument","patch_payment_instrument_with_http_info"])
272
+
250
273
  auth_names = []
251
274
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
252
275
  :header_params => header_params,
@@ -254,7 +277,8 @@ module CyberSource
254
277
  :form_params => form_params,
255
278
  :body => post_body,
256
279
  :auth_names => auth_names,
257
- :return_type => 'PatchPaymentInstrumentRequest')
280
+ :return_type => 'PatchPaymentInstrumentRequest',
281
+ :isResponseMLEForApi => is_response_mle_for_api)
258
282
  if @api_client.config.debugging
259
283
  begin
260
284
  raise
@@ -322,10 +346,17 @@ module CyberSource
322
346
  post_body = @api_client.object_to_http_body(post_payment_instrument_request)
323
347
  sdk_tracker = SdkTracker.new
324
348
  post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostPaymentInstrumentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
325
- inbound_mle_status = "false"
349
+ inbound_mle_status = "optional"
326
350
  if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_payment_instrument","post_payment_instrument_with_http_info"])
327
- post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
351
+ begin
352
+ post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
353
+ rescue
354
+ raise
355
+ end
328
356
  end
357
+
358
+ is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["post_payment_instrument","post_payment_instrument_with_http_info"])
359
+
329
360
  auth_names = []
330
361
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
331
362
  :header_params => header_params,
@@ -333,7 +364,8 @@ module CyberSource
333
364
  :form_params => form_params,
334
365
  :body => post_body,
335
366
  :auth_names => auth_names,
336
- :return_type => 'PostPaymentInstrumentRequest')
367
+ :return_type => 'PostPaymentInstrumentRequest',
368
+ :isResponseMLEForApi => is_response_mle_for_api)
337
369
  if @api_client.config.debugging
338
370
  begin
339
371
  raise