cybersource_rest_client 0.0.62 → 0.0.64

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 (308) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +93 -0
  3. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
  4. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +3 -3
  5. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
  6. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +4 -4
  7. data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +2 -2
  8. data/lib/cybersource_rest_client/api_client.rb +28 -26
  9. data/lib/cybersource_rest_client/models/accountupdaterv1batches_included_tokens.rb +3 -3
  10. data/lib/cybersource_rest_client/models/{tss_v2_transactions_post400_response.rb → bin_lookupv400_response.rb} +224 -224
  11. data/lib/cybersource_rest_client/models/binv1binlookup_client_reference_information.rb +222 -0
  12. data/lib/cybersource_rest_client/models/binv1binlookup_payment_information.rb +219 -0
  13. data/lib/cybersource_rest_client/models/binv1binlookup_payment_information_card.rb +196 -0
  14. data/lib/cybersource_rest_client/models/binv1binlookup_processing_information.rb +200 -0
  15. data/lib/cybersource_rest_client/models/binv1binlookup_processing_information_payout_options.rb +213 -0
  16. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_options_funding_options_initiator.rb → binv1binlookup_token_information.rb} +207 -196
  17. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_oauth2.rb +3 -3
  18. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +3 -3
  19. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +3 -3
  20. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_address.rb +9 -9
  21. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_business_contact.rb +12 -12
  22. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account.rb +9 -9
  23. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +15 -15
  24. data/lib/cybersource_rest_client/models/case_management_comments_request.rb +3 -3
  25. data/lib/cybersource_rest_client/models/create_bin_lookup_request.rb +219 -0
  26. data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +6 -6
  27. data/lib/cybersource_rest_client/models/e_check_config_common.rb +9 -9
  28. data/lib/cybersource_rest_client/models/e_check_config_common_processors.rb +3 -3
  29. data/lib/cybersource_rest_client/models/get_all_plans_response_order_information_amount_details.rb +1 -1
  30. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +253 -253
  31. data/lib/cybersource_rest_client/models/inline_response_201_1.rb +248 -315
  32. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_aggregator_information.rb → inline_response_201_1_issuer_information.rb} +264 -223
  33. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information.rb +209 -0
  34. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card.rb +277 -0
  35. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_merchant_defined_information.rb → inline_response_201_1_payment_account_information_card_brands.rb} +213 -213
  36. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_features.rb +320 -0
  37. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_options_funding_options.rb → inline_response_201_1_payment_account_information_network.rb} +190 -189
  38. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information.rb +216 -0
  39. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_pull_funds.rb +213 -0
  40. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_push_funds.rb +417 -0
  41. data/lib/cybersource_rest_client/models/inline_response_201_2.rb +315 -222
  42. data/lib/cybersource_rest_client/models/{inline_response_201_1_integration_information.rb → inline_response_201_2_integration_information.rb} +192 -192
  43. data/lib/cybersource_rest_client/models/{inline_response_201_1_integration_information_tenant_configurations.rb → inline_response_201_2_integration_information_tenant_configurations.rb} +286 -286
  44. data/lib/cybersource_rest_client/models/{inline_response_201_1_organization_information.rb → inline_response_201_2_organization_information.rb} +217 -217
  45. data/lib/cybersource_rest_client/models/{inline_response_201_1_product_information_setups.rb → inline_response_201_2_product_information_setups.rb} +214 -214
  46. data/lib/cybersource_rest_client/models/{inline_response_201_1_registration_information.rb → inline_response_201_2_registration_information.rb} +256 -256
  47. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups.rb → inline_response_201_2_setups.rb} +219 -219
  48. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_commerce_solutions.rb → inline_response_201_2_setups_commerce_solutions.rb} +209 -209
  49. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments.rb → inline_response_201_2_setups_payments.rb} +349 -349
  50. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_card_processing.rb → inline_response_201_2_setups_payments_card_processing.rb} +199 -199
  51. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_card_processing_configuration_status.rb → inline_response_201_2_setups_payments_card_processing_configuration_status.rb} +299 -299
  52. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_card_processing_subscription_status.rb → inline_response_201_2_setups_payments_card_processing_subscription_status.rb} +278 -278
  53. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_digital_payments.rb → inline_response_201_2_setups_payments_digital_payments.rb} +189 -189
  54. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_risk.rb → inline_response_201_2_setups_risk.rb} +199 -199
  55. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_value_added_services.rb → inline_response_201_2_setups_value_added_services.rb} +199 -199
  56. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +222 -347
  57. data/lib/cybersource_rest_client/models/{inline_response_201_2_key_information.rb → inline_response_201_3_key_information.rb} +300 -300
  58. data/lib/cybersource_rest_client/models/{inline_response_201_2_key_information_error_information.rb → inline_response_201_3_key_information_error_information.rb} +202 -202
  59. data/lib/cybersource_rest_client/models/{inline_response_201_2_key_information_error_information_details.rb → inline_response_201_3_key_information_error_information_details.rb} +201 -201
  60. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +347 -222
  61. data/lib/cybersource_rest_client/models/inline_response_201_5.rb +222 -0
  62. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +1 -1
  63. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +1 -1
  64. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +248 -248
  65. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +2 -2
  66. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +270 -270
  67. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +1 -1
  68. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +258 -258
  69. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +2 -2
  70. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post202_response.rb +235 -235
  71. data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +1 -1
  72. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +2 -2
  73. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb +1 -1
  74. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +2 -2
  75. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +225 -225
  76. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +225 -225
  77. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +333 -333
  78. data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +1 -1
  79. data/lib/cybersource_rest_client/models/merchant_initiated_transaction_object.rb +241 -241
  80. data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +2 -2
  81. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_processor_account.rb +3 -3
  82. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pullfunds.rb +6 -6
  83. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pushfunds.rb +3 -3
  84. data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +2 -2
  85. data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +2 -2
  86. data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +3 -3
  87. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
  88. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +1 -1
  89. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +284 -284
  90. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +1 -1
  91. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_buyer_information_personal_identification.rb +2 -2
  92. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_order_information_amount_details.rb +1 -1
  93. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information.rb +233 -233
  94. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +1 -1
  95. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +249 -249
  96. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_order_information_amount_details.rb +1 -1
  97. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_processor_information.rb +264 -264
  98. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +3 -3
  99. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +765 -765
  100. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +609 -609
  101. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +264 -264
  102. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +2 -2
  103. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +5 -5
  104. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +1 -1
  105. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +1 -1
  106. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +309 -309
  107. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information.rb +199 -189
  108. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_information_recurring_options.rb → pts_v2_payments_post201_response_payment_insights_information_orchestration.rb} +192 -190
  109. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_response_insights.rb +230 -230
  110. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +223 -223
  111. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +217 -217
  112. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +2 -2
  113. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +736 -736
  114. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +2 -2
  115. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +1 -1
  116. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +5 -5
  117. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +230 -230
  118. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information_amount_details.rb +2 -2
  119. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
  120. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +196 -196
  121. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +1 -1
  122. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +1 -1
  123. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +2 -2
  124. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information.rb +5 -32
  125. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +74 -13
  126. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +232 -310
  127. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_payouts_options.rb +41 -23
  128. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +18 -43
  129. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +28 -1
  130. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_personal_identification.rb +33 -7
  131. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +27 -26
  132. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +10 -1
  133. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +41 -5
  134. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_personal_identification.rb +33 -7
  135. data/lib/cybersource_rest_client/models/ptsv2billingagreements_aggregator_information.rb +1 -1
  136. data/lib/cybersource_rest_client/models/ptsv2billingagreements_buyer_information.rb +247 -247
  137. data/lib/cybersource_rest_client/models/ptsv2billingagreements_client_reference_information.rb +1 -1
  138. data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +326 -326
  139. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +285 -285
  140. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +241 -241
  141. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +1 -1
  142. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +275 -275
  143. data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_buyer_information.rb +1 -1
  144. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +196 -196
  145. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +453 -453
  146. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +3 -3
  147. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_buyer_information.rb +1 -1
  148. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_amount_details.rb +3 -3
  149. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_line_items.rb +361 -361
  150. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_ship_to.rb +485 -485
  151. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_bank.rb +1 -1
  152. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_bank_account.rb +1 -1
  153. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_card.rb +275 -275
  154. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +2 -2
  155. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +366 -366
  156. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +4 -4
  157. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +3 -3
  158. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -1
  159. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1075 -1075
  160. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +308 -308
  161. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication_issuer_information.rb +196 -196
  162. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +416 -416
  163. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +196 -196
  164. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
  165. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +464 -464
  166. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +405 -405
  167. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +2 -2
  168. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +641 -624
  169. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +1 -1
  170. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_order.rb +332 -332
  171. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +286 -286
  172. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +1 -1
  173. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -1
  174. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +444 -444
  175. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +699 -699
  176. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +496 -496
  177. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +346 -336
  178. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +3 -3
  179. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +2 -2
  180. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +428 -428
  181. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
  182. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_order_information_surcharge.rb → ptsv2payments_payment_information_payment_account_reference.rb} +196 -196
  183. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +377 -377
  184. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +633 -633
  185. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +257 -257
  186. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +704 -704
  187. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +2 -2
  188. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
  189. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +5 -5
  190. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +213 -213
  191. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +205 -205
  192. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +315 -315
  193. data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +15 -5
  194. data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_token_provisioning_information.rb → ptsv2payments_token_information_token_provisioning_information.rb} +1 -1
  195. data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +1 -1
  196. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +2 -2
  197. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +332 -332
  198. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +3 -3
  199. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information_personal_identification.rb +1 -1
  200. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +604 -604
  201. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +267 -267
  202. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +5 -5
  203. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +1 -1
  204. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +287 -287
  205. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +206 -206
  206. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +362 -362
  207. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +2 -2
  208. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_client_reference_information.rb +1 -1
  209. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +257 -257
  210. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +502 -502
  211. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +299 -289
  212. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +3 -3
  213. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank_account.rb +1 -1
  214. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +377 -377
  215. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +342 -342
  216. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +192 -192
  217. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +1 -1
  218. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +213 -213
  219. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +287 -287
  220. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -2
  221. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +234 -234
  222. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +286 -286
  223. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -2
  224. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +301 -301
  225. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +5 -39
  226. data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_customer.rb +1 -1
  227. data/lib/cybersource_rest_client/models/ptsv2voids_processing_information.rb +190 -196
  228. data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +4 -4
  229. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +3 -37
  230. data/lib/cybersource_rest_client/models/push_funds400_response.rb +1 -1
  231. data/lib/cybersource_rest_client/models/push_funds_request.rb +5 -60
  232. data/lib/cybersource_rest_client/models/rbsv1plans_order_information_amount_details.rb +7 -7
  233. data/lib/cybersource_rest_client/models/rbsv1plans_plan_information.rb +3 -3
  234. data/lib/cybersource_rest_client/models/rbsv1subscriptions_payment_information_customer.rb +3 -3
  235. data/lib/cybersource_rest_client/models/rbsv1subscriptions_subscription_information.rb +3 -3
  236. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +1 -1
  237. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +543 -543
  238. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +4 -4
  239. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +1 -1
  240. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +5 -5
  241. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +12 -12
  242. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +290 -290
  243. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +6 -6
  244. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_amount_details.rb +2 -2
  245. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +258 -258
  246. data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +1 -1
  247. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +8 -8
  248. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +22 -22
  249. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +497 -497
  250. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +9 -9
  251. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +351 -351
  252. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +9 -9
  253. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +3 -3
  254. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +299 -299
  255. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +213 -213
  256. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +3 -3
  257. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +3 -3
  258. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
  259. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +223 -223
  260. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +1 -1
  261. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +416 -416
  262. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +259 -259
  263. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +1 -1
  264. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +16 -16
  265. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +314 -314
  266. data/lib/cybersource_rest_client/models/riskv1liststypeentries_client_reference_information.rb +3 -3
  267. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +1 -1
  268. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +196 -196
  269. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier.rb +2 -2
  270. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bank_account.rb +207 -207
  271. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_tokenized_card.rb +12 -1
  272. data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info.rb +200 -200
  273. data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info_bank_transfer_options.rb +196 -196
  274. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +236 -236
  275. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +2 -2
  276. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +2 -2
  277. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +3 -3
  278. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +2 -2
  279. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +292 -292
  280. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +349 -349
  281. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +5 -5
  282. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +2 -2
  283. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +365 -365
  284. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +1 -1
  285. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +3 -3
  286. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +1 -1
  287. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +222 -222
  288. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +383 -383
  289. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +4 -4
  290. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +1 -1
  291. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +2 -2
  292. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +1 -1
  293. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +241 -241
  294. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +231 -231
  295. data/lib/cybersource_rest_client/models/tssv2transactionsemv_tag_details_emv_details_list.rb +6 -6
  296. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +1 -1
  297. data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +1 -1
  298. data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +1 -1
  299. data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +196 -196
  300. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +403 -403
  301. data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +1 -1
  302. data/lib/cybersource_rest_client.rb +39 -30
  303. metadata +42 -33
  304. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +0 -332
  305. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +0 -234
  306. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +0 -298
  307. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +0 -246
  308. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options.rb +0 -189
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8eba838e47d734ef249e7b8adf47c72e4b0d38f3a56cab2a5c81b3e6cc7fc4b
4
- data.tar.gz: da8d51efe4227dbbfe67bef88477e2ed83be9979e75b656c7a58f8f54f399fdd
3
+ metadata.gz: d406a2c0336a5d9e4d03d336c5f708d94aaf3efdf4e417b857e6e0b9ecc21764
4
+ data.tar.gz: e21b1e9be21ae6fa47887822debea7d0b2c5dc888ee8c31e186c717d89356c80
5
5
  SHA512:
6
- metadata.gz: 909854c2f88acf1f0290b7a8dcd694a203e979f9191d2c49f34a2374321fd51d7baca67fd17925efab8e9f6ba5ad7404c4acf58e92f5b57d5061d25fa95cc77a
7
- data.tar.gz: 9892cf79b001497318cb4157d9ae868d8ae1249e0539e6b9383ab38e1216ca49c1ed2d661b0f12a5d8977b0f0f71bb1d87058106c74d793c481697f562bd10ff
6
+ metadata.gz: 4588e311ae1dc6ded04645e8e403ca68990d541e6f281bdf7b1f46b40ed1c07983fd8cf2c964bd5e36fe62d9cc968b4eb04a059de25656f5785f2901f5245947
7
+ data.tar.gz: 513bf8c36aae0c145456917ab1da7a0605cf83a7fb85f1d952c7c4e48d17f3fe94e4527629a12b5d0f0abf42bf8c5ddbb89bfb69459e8e579b835d846db9f9d9
@@ -0,0 +1,93 @@
1
+ =begin
2
+ #CyberSource Merged Spec
3
+
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.38
10
+ =end
11
+
12
+ require 'uri'
13
+
14
+ module CyberSource
15
+ class BinLookupApi
16
+ attr_accessor :api_client
17
+
18
+ def initialize(api_client = ApiClient.default, config)
19
+ @api_client = api_client
20
+ @api_client.set_configuration(config)
21
+ end
22
+ # BIN Lookup API
23
+ # The BIN Lookup Service is a versatile business tool that provides card network agnostic solution designed to ensure frictionless transaction experience by utilizing up-to-date Bank Identification Number (BIN) attributes sourced from multiple global and regional data sources. This service helps to improve authorization rates by helping to route transactions to the best-suited card network, minimizes fraud through card detail verification and aids in regulatory compliance by identifying card properties. The service is flexible and provides businesses with a flexible choice of inputs such as primary account number (PAN), network token from major networks which includes device PAN (DPAN), and all types of tokens generated via CyberSource Token Management Service (TMS). Currently, the range of available credentials is contingent on the networks enabled for the business entity. Therefore, the network information specified in this documentation is illustrative and subject to personalized offerings for each reseller or merchant.
24
+ #
25
+ # @param create_bin_lookup_request
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [InlineResponse2011]
28
+ #
29
+ # DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
30
+ def get_account_info(create_bin_lookup_request, opts = {})
31
+ data, status_code, headers = get_account_info_with_http_info(create_bin_lookup_request, opts)
32
+ return data, status_code, headers
33
+ end
34
+
35
+ # BIN Lookup API
36
+ # The BIN Lookup Service is a versatile business tool that provides card network agnostic solution designed to ensure frictionless transaction experience by utilizing up-to-date Bank Identification Number (BIN) attributes sourced from multiple global and regional data sources. This service helps to improve authorization rates by helping to route transactions to the best-suited card network, minimizes fraud through card detail verification and aids in regulatory compliance by identifying card properties. The service is flexible and provides businesses with a flexible choice of inputs such as primary account number (PAN), network token from major networks which includes device PAN (DPAN), and all types of tokens generated via CyberSource Token Management Service (TMS). Currently, the range of available credentials is contingent on the networks enabled for the business entity. Therefore, the network information specified in this documentation is illustrative and subject to personalized offerings for each reseller or merchant.
37
+ # @param create_bin_lookup_request
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [Array<(InlineResponse2011, Fixnum, Hash)>] InlineResponse2011 data, response status code and response headers
40
+ def get_account_info_with_http_info(create_bin_lookup_request, opts = {})
41
+
42
+ if @api_client.config.debugging
43
+ begin
44
+ raise
45
+ @api_client.config.logger.debug 'Calling API: BinLookupApi.get_account_info ...'
46
+ rescue
47
+ puts 'Cannot write to log'
48
+ end
49
+ end
50
+ # verify the required parameter 'create_bin_lookup_request' is set
51
+ if @api_client.config.client_side_validation && create_bin_lookup_request.nil?
52
+ fail ArgumentError, "Missing the required parameter 'create_bin_lookup_request' when calling BinLookupApi.get_account_info"
53
+ end
54
+ # resource path
55
+ local_var_path = 'bin/v1/binlookup'
56
+
57
+ # query parameters
58
+ query_params = {}
59
+
60
+ # header parameters
61
+ header_params = {}
62
+ # HTTP header 'Accept' (if needed)
63
+ header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
64
+ # HTTP header 'Content-Type'
65
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
66
+
67
+ # form parameters
68
+ form_params = {}
69
+
70
+ # http body (model)
71
+ post_body = @api_client.object_to_http_body(create_bin_lookup_request)
72
+ sdk_tracker = SdkTracker.new
73
+ post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateBinLookupRequest', @api_client.config.host)
74
+ auth_names = []
75
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
76
+ :header_params => header_params,
77
+ :query_params => query_params,
78
+ :form_params => form_params,
79
+ :body => post_body,
80
+ :auth_names => auth_names,
81
+ :return_type => 'InlineResponse2011')
82
+ if @api_client.config.debugging
83
+ begin
84
+ raise
85
+ @api_client.config.logger.debug "API called: BinLookupApi#get_account_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
+ rescue
87
+ puts 'Cannot write to log'
88
+ end
89
+ end
90
+ return data, status_code, headers
91
+ end
92
+ end
93
+ end
@@ -24,7 +24,7 @@ module CyberSource
24
24
  #
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [CreateWebhookRequest] :create_webhook_request The webhook payload
27
- # @return [InlineResponse2013]
27
+ # @return [InlineResponse2014]
28
28
  #
29
29
  # DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
30
30
  def create_webhook_subscription(opts = {})
@@ -36,7 +36,7 @@ module CyberSource
36
36
  # Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file.
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @option opts [CreateWebhookRequest] :create_webhook_request The webhook payload
39
- # @return [Array<(InlineResponse2013, Fixnum, Hash)>] InlineResponse2013 data, response status code and response headers
39
+ # @return [Array<(InlineResponse2014, Fixnum, Hash)>] InlineResponse2014 data, response status code and response headers
40
40
  def create_webhook_subscription_with_http_info(opts = {})
41
41
 
42
42
  if @api_client.config.debugging
@@ -74,7 +74,7 @@ module CyberSource
74
74
  :form_params => form_params,
75
75
  :body => post_body,
76
76
  :auth_names => auth_names,
77
- :return_type => 'InlineResponse2013')
77
+ :return_type => 'InlineResponse2014')
78
78
  if @api_client.config.debugging
79
79
  begin
80
80
  raise
@@ -165,7 +165,7 @@ module CyberSource
165
165
  # @param [Hash] opts the optional parameters
166
166
  # @option opts [String] :v_c_correlation_id A globally unique id associated with your request
167
167
  # @option opts [SaveSymEgressKey] :save_sym_egress_key Provide egress Symmetric key information to save (create or store or refresh)
168
- # @return [InlineResponse2012]
168
+ # @return [InlineResponse2013]
169
169
  #
170
170
  # DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
171
171
  def save_sym_egress_key(v_c_sender_organization_id, v_c_permissions, opts = {})
@@ -180,7 +180,7 @@ module CyberSource
180
180
  # @param [Hash] opts the optional parameters
181
181
  # @option opts [String] :v_c_correlation_id A globally unique id associated with your request
182
182
  # @option opts [SaveSymEgressKey] :save_sym_egress_key Provide egress Symmetric key information to save (create or store or refresh)
183
- # @return [Array<(InlineResponse2012, Fixnum, Hash)>] InlineResponse2012 data, response status code and response headers
183
+ # @return [Array<(InlineResponse2013, Fixnum, Hash)>] InlineResponse2013 data, response status code and response headers
184
184
  def save_sym_egress_key_with_http_info(v_c_sender_organization_id, v_c_permissions, opts = {})
185
185
 
186
186
  if @api_client.config.debugging
@@ -237,7 +237,7 @@ module CyberSource
237
237
  :form_params => form_params,
238
238
  :body => post_body,
239
239
  :auth_names => auth_names,
240
- :return_type => 'InlineResponse2012')
240
+ :return_type => 'InlineResponse2013')
241
241
  if @api_client.config.debugging
242
242
  begin
243
243
  raise
@@ -257,7 +257,7 @@ module CyberSource
257
257
  # @param save_asym_egress_key Provide egress Asymmetric key information to save (create or store)
258
258
  # @param [Hash] opts the optional parameters
259
259
  # @option opts [String] :v_c_correlation_id A globally unique id associated with your request
260
- # @return [InlineResponse2014]
260
+ # @return [InlineResponse2015]
261
261
  #
262
262
  # DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
263
263
  def save_asym_egress_key(v_c_sender_organization_id, v_c_permissions, save_asym_egress_key, opts = {})
@@ -272,7 +272,7 @@ module CyberSource
272
272
  # @param save_asym_egress_key Provide egress Asymmetric key information to save (create or store)
273
273
  # @param [Hash] opts the optional parameters
274
274
  # @option opts [String] :v_c_correlation_id A globally unique id associated with your request
275
- # @return [Array<(InlineResponse2014, Fixnum, Hash)>] InlineResponse2014 data, response status code and response headers
275
+ # @return [Array<(InlineResponse2015, Fixnum, Hash)>] InlineResponse2015 data, response status code and response headers
276
276
  def save_asym_egress_key_with_http_info(v_c_sender_organization_id, v_c_permissions, save_asym_egress_key, opts = {})
277
277
 
278
278
  if @api_client.config.debugging
@@ -333,7 +333,7 @@ module CyberSource
333
333
  :form_params => form_params,
334
334
  :body => post_body,
335
335
  :auth_names => auth_names,
336
- :return_type => 'InlineResponse2014')
336
+ :return_type => 'InlineResponse2015')
337
337
  if @api_client.config.debugging
338
338
  begin
339
339
  raise
@@ -97,7 +97,7 @@ module CyberSource
97
97
  # @param post_registration_body Boarding registration data
98
98
  # @param [Hash] opts the optional parameters
99
99
  # @option opts [String] :v_c_idempotency_id defines idempotency of the request
100
- # @return [InlineResponse2011]
100
+ # @return [InlineResponse2012]
101
101
  #
102
102
  # DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
103
103
  def post_registration(post_registration_body, opts = {})
@@ -110,7 +110,7 @@ module CyberSource
110
110
  # @param post_registration_body Boarding registration data
111
111
  # @param [Hash] opts the optional parameters
112
112
  # @option opts [String] :v_c_idempotency_id defines idempotency of the request
113
- # @return [Array<(InlineResponse2011, Fixnum, Hash)>] InlineResponse2011 data, response status code and response headers
113
+ # @return [Array<(InlineResponse2012, Fixnum, Hash)>] InlineResponse2012 data, response status code and response headers
114
114
  def post_registration_with_http_info(post_registration_body, opts = {})
115
115
 
116
116
  if @api_client.config.debugging
@@ -153,7 +153,7 @@ module CyberSource
153
153
  :form_params => form_params,
154
154
  :body => post_body,
155
155
  :auth_names => auth_names,
156
- :return_type => 'InlineResponse2011')
156
+ :return_type => 'InlineResponse2012')
157
157
  if @api_client.config.debugging
158
158
  begin
159
159
  raise
@@ -96,7 +96,7 @@ module CyberSource
96
96
  return data, status_code, headers
97
97
  end
98
98
  # Get Individual Batch File
99
- # Provide the search range
99
+ # This API provides details like upload date, completion date, transaction count and accepted and rejected transaction count of the individual batch file using the batch id
100
100
  #
101
101
  # @param id The batch id assigned for the template.
102
102
  # @param [Hash] opts the optional parameters
@@ -108,7 +108,7 @@ module CyberSource
108
108
  end
109
109
 
110
110
  # Get Individual Batch File
111
- # Provide the search range
111
+ # This API provides details like upload date, completion date, transaction count and accepted and rejected transaction count of the individual batch file using the batch id
112
112
  # @param id The batch id assigned for the template.
113
113
  # @param [Hash] opts the optional parameters
114
114
  # @return [Array<(PtsV1TransactionBatchesIdGet200Response, Fixnum, Hash)>] PtsV1TransactionBatchesIdGet200Response data, response status code and response headers
@@ -167,7 +167,7 @@ module CyberSource
167
167
  return data, status_code, headers
168
168
  end
169
169
  # Get a List of Batch Files
170
- # Provide the search range
170
+ # Provide the date and time search range to get a list of Batch Files ready for settlement
171
171
  #
172
172
  # @param start_time Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZZ
173
173
  # @param end_time Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZZ
@@ -180,7 +180,7 @@ module CyberSource
180
180
  end
181
181
 
182
182
  # Get a List of Batch Files
183
- # Provide the search range
183
+ # Provide the date and time search range to get a list of Batch Files ready for settlement
184
184
  # @param start_time Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZZ
185
185
  # @param end_time Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZZ
186
186
  # @param [Hash] opts the optional parameters
@@ -20,7 +20,7 @@ module CyberSource
20
20
  @api_client.set_configuration(config)
21
21
  end
22
22
  # Generate Unified Checkout Capture Context
23
- # Unified Checkout is a powerful product within the Digital Acceptance Suite. Unified Checkout is designed to assist merchants with the adoption and inclusion of digital payments within their payment acceptance page. With Unified Checkout Integration you can add digital payment methods to create familiar, convenient and seamless payment experiences that are designed to reduce checkout friction and increase conversions. Click to Pay Drop-in UI is built on the Unified Checkout platform. For more information about Unified Checkout, see the [Unified Checkout Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-intro.html). For examples on how to integrate Unified Checkout within your webpage please see our [GitHub Unified Checkout Samples](https://github.com/CyberSource/cybersource-unified-checkout-sample-java). For more information about Click to Pay drop in UI, see the [Click to Pay Drop-in UI Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/click-to-pay/developer/all/rest/click-to-pay/ctp-intro.html). Generate Unified Checkout Capture Context Generate a one-time use capture context used for the invocation of Unified Checkout. The Request wil contain all of the parameters for how Unified Checkout will operate within a client webpage. The resulting payload will be a JWT signed object that can be used to initiate Unified Checkout or Click to Pay Drop-in UI within a web page
23
+ # Unified Checkout is a powerful product within the Digital Acceptance Suite. Unified Checkout is designed to assist merchants with the adoption and inclusion of digital payments within their payment acceptance page. With Unified Checkout Integration you can add digital payment methods to create familiar, convenient and seamless payment experiences that are designed to reduce checkout friction and increase conversions. Click to Pay Drop-in UI is built on the Unified Checkout platform. For more information about Unified Checkout, see the [Unified Checkout Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-intro.html). For examples on how to integrate Unified Checkout within your webpage please see our [GitHub Unified Checkout Samples](https://github.com/CyberSource/cybersource-unified-checkout-sample-java). Generate Unified Checkout Capture Context Generate a one-time use capture context used for the invocation of Unified Checkout. The Request wil contain all of the parameters for how Unified Checkout will operate within a client webpage. The resulting payload will be a JWT signed object that can be used to initiate Unified Checkout or Click to Pay Drop-in UI within a web page
24
24
  #
25
25
  # @param generate_unified_checkout_capture_context_request
26
26
  # @param [Hash] opts the optional parameters
@@ -32,7 +32,7 @@ module CyberSource
32
32
  end
33
33
 
34
34
  # Generate Unified Checkout Capture Context
35
- # Unified Checkout is a powerful product within the Digital Acceptance Suite. Unified Checkout is designed to assist merchants with the adoption and inclusion of digital payments within their payment acceptance page. With Unified Checkout Integration you can add digital payment methods to create familiar, convenient and seamless payment experiences that are designed to reduce checkout friction and increase conversions. Click to Pay Drop-in UI is built on the Unified Checkout platform. For more information about Unified Checkout, see the [Unified Checkout Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-intro.html). For examples on how to integrate Unified Checkout within your webpage please see our [GitHub Unified Checkout Samples](https://github.com/CyberSource/cybersource-unified-checkout-sample-java). For more information about Click to Pay drop in UI, see the [Click to Pay Drop-in UI Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/click-to-pay/developer/all/rest/click-to-pay/ctp-intro.html). Generate Unified Checkout Capture Context Generate a one-time use capture context used for the invocation of Unified Checkout. The Request wil contain all of the parameters for how Unified Checkout will operate within a client webpage. The resulting payload will be a JWT signed object that can be used to initiate Unified Checkout or Click to Pay Drop-in UI within a web page
35
+ # Unified Checkout is a powerful product within the Digital Acceptance Suite. Unified Checkout is designed to assist merchants with the adoption and inclusion of digital payments within their payment acceptance page. With Unified Checkout Integration you can add digital payment methods to create familiar, convenient and seamless payment experiences that are designed to reduce checkout friction and increase conversions. Click to Pay Drop-in UI is built on the Unified Checkout platform. For more information about Unified Checkout, see the [Unified Checkout Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-intro.html). For examples on how to integrate Unified Checkout within your webpage please see our [GitHub Unified Checkout Samples](https://github.com/CyberSource/cybersource-unified-checkout-sample-java). Generate Unified Checkout Capture Context Generate a one-time use capture context used for the invocation of Unified Checkout. The Request wil contain all of the parameters for how Unified Checkout will operate within a client webpage. The resulting payload will be a JWT signed object that can be used to initiate Unified Checkout or Click to Pay Drop-in UI within a web page
36
36
  # @param generate_unified_checkout_capture_context_request
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
@@ -21,6 +21,8 @@ module CyberSource
21
21
  # The Configuration object holding settings to be used in the API client.
22
22
  attr_accessor :config
23
23
 
24
+ attr_accessor :merchantconfig
25
+
24
26
  # Defines the headers to be used in HTTP requests of all API calls by default.
25
27
  #
26
28
  # @return [Hash]
@@ -115,13 +117,13 @@ module CyberSource
115
117
  end
116
118
 
117
119
  headers = opts[:header_params]
118
- if $merchantconfig_obj.authenticationType.upcase != Constants::AUTH_TYPE_MUTUAL_AUTH
120
+ if @merchantconfig.authenticationType.upcase != Constants::AUTH_TYPE_MUTUAL_AUTH
119
121
  headers = CallAuthenticationHeader(http_method, path, body_params, headers, query_params)
120
122
  end
121
123
  http_method = http_method.to_sym.downcase
122
124
  header_params = headers.merge(@default_headers)
123
- if $merchantconfig_obj.defaultCustomHeaders
124
- header_params = header_params.merge($merchantconfig_obj.defaultCustomHeaders)
125
+ if @merchantconfig.defaultCustomHeaders
126
+ header_params = header_params.merge(@merchantconfig.defaultCustomHeaders)
125
127
  end
126
128
  form_params = opts[:form_params] || {}
127
129
 
@@ -130,9 +132,9 @@ module CyberSource
130
132
  _verify_ssl_host = @config.verify_ssl_host ? 2 : 0
131
133
 
132
134
  # client cert
133
- if $merchantconfig_obj.enableClientCert
134
- @config.cert_file = File.join($merchantconfig_obj.clientCertDirectory, $merchantconfig_obj.sslClientCert)
135
- @config.key_file = File.join($merchantconfig_obj.clientCertDirectory, $merchantconfig_obj.privateKey)
135
+ if @merchantconfig.enableClientCert
136
+ @config.cert_file = File.join(@merchantconfig.clientCertDirectory, @merchantconfig.sslClientCert)
137
+ @config.key_file = File.join(@merchantconfig.clientCertDirectory, @merchantconfig.privateKey)
136
138
  end
137
139
 
138
140
  req_opts = {
@@ -144,7 +146,7 @@ module CyberSource
144
146
  :ssl_verifypeer => @config.verify_ssl,
145
147
  :ssl_verifyhost => _verify_ssl_host,
146
148
  :sslcert => @config.cert_file,
147
- :sslkeypasswd => $merchantconfig_obj.sslKeyPassword || "",
149
+ :sslkeypasswd => @merchantconfig.sslKeyPassword || "",
148
150
  :sslkey => @config.key_file,
149
151
  :verbose => @config.debugging
150
152
  }
@@ -172,13 +174,13 @@ module CyberSource
172
174
  # set merchantConfig
173
175
  def set_configuration(config)
174
176
  require_relative '../AuthenticationSDK/core/MerchantConfig.rb'
175
- $merchantconfig_obj = Merchantconfig.new(config)
176
- @config.host = $merchantconfig_obj.requestHost
177
- if $merchantconfig_obj.intermediateHost
178
- @config.host = $merchantconfig_obj.intermediateHost
179
- if $merchantconfig_obj.intermediateHost.start_with?(Constants::HTTPS_URI_PREFIX)
177
+ @merchantconfig = Merchantconfig.new(config)
178
+ @config.host = @merchantconfig.requestHost
179
+ if @merchantconfig.intermediateHost
180
+ @config.host = @merchantconfig.intermediateHost
181
+ if @merchantconfig.intermediateHost.start_with?(Constants::HTTPS_URI_PREFIX)
180
182
  @config.scheme = 'https'
181
- elsif $merchantconfig_obj.intermediateHost.start_with?(Constants::HTTP_URI_PREFIX)
183
+ elsif @merchantconfig.intermediateHost.start_with?(Constants::HTTP_URI_PREFIX)
182
184
  @config.scheme = 'http'
183
185
  end
184
186
  end
@@ -190,32 +192,32 @@ module CyberSource
190
192
  request_target = get_query_param(path, query_params)
191
193
  # Request Type. [Non-Editable]
192
194
  request_type = http_method.to_s
193
- log_obj = Log.new $merchantconfig_obj.log_config, "ApiClient"
195
+ log_obj = Log.new @merchantconfig.log_config, "ApiClient"
194
196
  # Set Request Type into the merchant config object.
195
- $merchantconfig_obj.requestType = request_type
197
+ @merchantconfig.requestType = request_type
196
198
  # Set Request Target into the merchant config object.
197
- $merchantconfig_obj.requestTarget = request_target
199
+ @merchantconfig.requestTarget = request_target
198
200
  # Construct the URL.
199
- url = Constants::HTTPS_URI_PREFIX + $merchantconfig_obj.requestHost + $merchantconfig_obj.requestTarget
201
+ url = Constants::HTTPS_URI_PREFIX + @merchantconfig.requestHost + @merchantconfig.requestTarget
200
202
  # set Request Json to Merchant config object
201
- $merchantconfig_obj.requestJsonData = body_params
203
+ @merchantconfig.requestJsonData = body_params
202
204
  # Set URL into the merchant config object.
203
- $merchantconfig_obj.requestUrl = url
205
+ @merchantconfig.requestUrl = url
204
206
  # Calling APISDK, Apisdk.controller.
205
207
  gmtDateTime = DateTime.now.httpdate
206
- token = Authorization.new.getToken($merchantconfig_obj, gmtDateTime)
208
+ token = Authorization.new.getToken(@merchantconfig, gmtDateTime)
207
209
 
208
210
  # Adding client ID header
209
211
  header_params['v-c-client-id'] = @client_id
210
212
 
211
213
  # Adding solution ID header
212
- # header_params['v-c-solution-id'] = $merchantconfig_obj.solutionId if !$merchantconfig_obj.solutionId.nil? && !$merchantconfig_obj.solutionId.empty?
214
+ # header_params['v-c-solution-id'] = @merchantconfig.solutionId if !@merchantconfig.solutionId.nil? && !@merchantconfig.solutionId.empty?
213
215
  # HTTP header 'Accept' (if needed)
214
- if $merchantconfig_obj.authenticationType.upcase == Constants::AUTH_TYPE_HTTP
216
+ if @merchantconfig.authenticationType.upcase == Constants::AUTH_TYPE_HTTP
215
217
  # Appending headers for Get Connection
216
- header_params['v-c-merchant-id'] = $merchantconfig_obj.merchantId
218
+ header_params['v-c-merchant-id'] = @merchantconfig.merchantId
217
219
  header_params['Date'] = gmtDateTime
218
- header_params['Host'] = $merchantconfig_obj.requestHost
220
+ header_params['Host'] = @merchantconfig.requestHost
219
221
  header_params['Signature'] = token
220
222
  if request_type == Constants::POST_REQUEST_TYPE || request_type == Constants::PUT_REQUEST_TYPE || request_type == Constants::PATCH_REQUEST_TYPE
221
223
  digest = DigestGeneration.new.generateDigest(body_params)
@@ -223,11 +225,11 @@ module CyberSource
223
225
  header_params['Digest'] = digest_payload
224
226
  end
225
227
  end
226
- if $merchantconfig_obj.authenticationType.upcase == Constants::AUTH_TYPE_JWT
228
+ if @merchantconfig.authenticationType.upcase == Constants::AUTH_TYPE_JWT
227
229
  token = "Bearer " + token
228
230
  header_params['Authorization'] = token
229
231
  end
230
- if $merchantconfig_obj.authenticationType.upcase == Constants::AUTH_TYPE_OAUTH
232
+ if @merchantconfig.authenticationType.upcase == Constants::AUTH_TYPE_OAUTH
231
233
  token = "Bearer " + token
232
234
  header_params['Authorization'] = token
233
235
  end
@@ -88,9 +88,9 @@ module CyberSource
88
88
  # Custom attribute writer method with validation
89
89
  # @param [Object] id Value to be assigned
90
90
  def id=(id)
91
- if id.nil?
92
- fail ArgumentError, 'id cannot be nil'
93
- end
91
+ #if id.nil?
92
+ #fail ArgumentError, 'id cannot be nil'
93
+ #end
94
94
 
95
95
  @id = id
96
96
  end