cybersource_rest_client 0.0.86 → 0.0.87
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.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/util/CertificateUtility.rb +14 -6
- data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +24 -24
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
- data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +3 -3
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
- data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +1 -1
- data/lib/cybersource_rest_client/api/transaction_query_api.rb +3 -3
- data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +104 -0
- data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_17.rb +5 -5
- data/lib/cybersource_rest_client/models/inline_response_200_18.rb +5 -5
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_10.rb +18 -93
- data/lib/cybersource_rest_client/models/inline_response_201_11.rb +103 -8
- data/lib/cybersource_rest_client/models/{inline_response_201_12_client_reference_information.rb → inline_response_201_11_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_error_information.rb → inline_response_201_11_error_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information.rb → inline_response_201_11_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information_currency_conversion.rb → inline_response_201_11_order_information_currency_conversion.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information_currency_conversion_offer.rb → inline_response_201_11_order_information_currency_conversion_offer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_processor_information.rb → inline_response_201_11_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_12.rb +110 -89
- data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_address.rb → inline_response_201_12_fulfillment_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_options.rb → inline_response_201_12_fulfillment_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_item.rb → inline_response_201_12_item.rb} +20 -20
- data/lib/cybersource_rest_client/models/inline_response_201_12_line_items.rb +256 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_13_links.rb → inline_response_201_12_links.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_messages.rb → inline_response_201_12_messages.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_payment_provider.rb → inline_response_201_12_payment_provider.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_totals.rb → inline_response_201_12_totals.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_13.rb +61 -67
- data/lib/cybersource_rest_client/models/{inline_response_201_14_discounts.rb → inline_response_201_13_discounts.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_fulfillment.rb → inline_response_201_13_fulfillment.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +19 -19
- data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +20 -51
- data/lib/cybersource_rest_client/models/{inline_response_201_14_order.rb → inline_response_201_13_order.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_payment.rb → inline_response_201_13_payment.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp.rb → inline_response_201_13_ucp.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp_capabilities.rb → inline_response_201_13_ucp_capabilities.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +82 -39
- data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information.rb → inline_response_201_3_error_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information_details.rb → inline_response_201_3_error_information_details.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information.rb → inline_response_201_3_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/inline_response_201_3_order_information_amount_details.rb +315 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_processing_information.rb +189 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_4_processing_information_routing.rb → inline_response_201_3_processing_information_routing.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_3_processor_information.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +41 -30
- data/lib/cybersource_rest_client/models/{inline_response_201_5__links.rb → inline_response_201_4__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5__links_self.rb → inline_response_201_4__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_acquirer_information.rb → inline_response_201_4_acquirer_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_client_reference_information.rb → inline_response_201_4_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_merchant_information.rb → inline_response_201_4_merchant_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +46 -97
- data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information.rb → inline_response_201_4_payment_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information_card.rb → inline_response_201_4_payment_information_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +59 -8
- data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information_payouts_options.rb → inline_response_201_4_processing_information_payouts_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +342 -7
- data/lib/cybersource_rest_client/models/{inline_response_201_5_processor_information_card_verification.rb → inline_response_201_4_processor_information_card_verification.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_transactions.rb → inline_response_201_4_transactions.rb} +7 -7
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +35 -68
- data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information.rb → inline_response_201_5_payout_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information_pull_funds.rb → inline_response_201_5_payout_information_pull_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information_push_funds.rb → inline_response_201_5_payout_information_push_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_6.rb +59 -26
- data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information.rb → inline_response_201_6_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information_tenant_configurations.rb → inline_response_201_6_integration_information_tenant_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_organization_information.rb → inline_response_201_6_organization_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_product_information_setups.rb → inline_response_201_6_product_information_setups.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_registration_information.rb → inline_response_201_6_registration_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups.rb → inline_response_201_6_setups.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_commerce_solutions.rb → inline_response_201_6_setups_commerce_solutions.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_risk.rb → inline_response_201_6_setups_risk.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_value_added_services.rb → inline_response_201_6_setups_value_added_services.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_7.rb +19 -78
- data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information.rb → inline_response_201_7_key_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information_error_information.rb → inline_response_201_7_key_information_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information_error_information_details.rb → inline_response_201_7_key_information_error_information_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_8.rb +117 -25
- data/lib/cybersource_rest_client/models/inline_response_201_9.rb +68 -105
- data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads.rb → inline_response_201_9_payloads.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads_test_payload.rb → inline_response_201_9_payloads_test_payload.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_3.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_4.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_merchant_defined_field_values_with_definition.rb +11 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +16 -5
- data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +11 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +16 -5
- data/lib/cybersource_rest_client/models/{inline_response_201_14_line_items.rb → unified_risk_post201_response.rb} +28 -42
- data/lib/cybersource_rest_client/models/{inline_response_201_3_results.rb → unified_risk_post201_response_results.rb} +3 -3
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights.rb +291 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_client.rb +208 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_error.rb +202 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages.rb +190 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights.rb +250 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights_insights.rb +219 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_transaction_insights_insights_warnings.rb +214 -0
- data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response.rb → unified_risk_post400_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response_errors.rb → unified_risk_post400_response_errors.rb} +1 -1
- data/lib/cybersource_rest_client/models/unifiedrisk_account.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer.rb +302 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account.rb +234 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication.rb +402 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication_challenge.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authorization.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_browser.rb +420 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer.rb +403 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer_address.rb +279 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information.rb → unifiedrisk_customer_personal_identification.rb} +99 -42
- data/lib/cybersource_rest_client/models/unifiedrisk_device.rb +681 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_device_point_of_sale.rb +344 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_initiating_party.rb +223 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant.rb +326 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor.rb +389 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_hierarchy.rb +224 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_limit_value.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_trading_address.rb +301 -0
- data/lib/cybersource_rest_client/models/{label_request.rb → unifiedrisk_order.rb} +60 -72
- data/lib/cybersource_rest_client/models/unifiedrisk_order_billing.rb +360 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_line_items.rb +262 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping.rb +464 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store.rb +251 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_address.rb +191 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_3_results_risk_insights.rb → unifiedrisk_order_shipping_store_store_address.rb} +43 -43
- data/lib/cybersource_rest_client/models/unifiedrisk_partner.rb +214 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment.rb +423 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_approvals.rb +193 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account.rb +451 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information_amount_details.rb → unifiedrisk_payment_bank_account_balance_before.rb} +49 -56
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_branch_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_financial_institution.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_batch.rb +323 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card.rb +461 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_par_details.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_token_details.rb +380 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check.rb +289 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check_deposit_location.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty.rb +287 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_branch_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_sdk.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_token.rb +213 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification.rb +230 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_additional.rb +256 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication.rb +232 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_pin.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_three_ds.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security.rb +199 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_avs.rb +218 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_cvv.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_digital.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wallet.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wire.rb +364 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment.rb +308 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history.rb +276 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_account_history.rb +207 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account.rb +273 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_14.rb → unifiedrisk_risk_assessment_buyer_history_customer_account_alertnate_authentication.rb} +59 -114
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_vital4.rb +191 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_session.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal.rb +238 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal_address.rb +301 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal_capabilities.rb +234 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk.rb +708 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk_raw_data.rb +189 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction.rb +305 -12
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_additional_fees.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_amount.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details.rb +220 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_credits_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_debits_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_credits.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_debits.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details_deposited_cash_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_recurring_details.rb +341 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_travel.rb +279 -0
- data/lib/cybersource_rest_client/models/vpri_request.rb +505 -0
- data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data.rb +190 -0
- data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data_card_bin_data.rb +357 -0
- data/lib/cybersource_rest_client.rb +153 -61
- metadata +155 -63
- data/lib/cybersource_rest_client/api/transaction_risk_labeling_api.rb +0 -104
- data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information.rb +0 -548
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 731beb93fa86e56af43050a567a8512e712695b8bb9006a5593c7c3841de6b32
|
|
4
|
+
data.tar.gz: a2697272183c38f8d180d17b294f98412c8c729785e81521bc11140496a54651
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 271897597451a5b631c1be2f341c7965b2dbfa07a9b7bf18371265481f7e924e6d8dd6cfa39fcc390a96f23efce0d5260bcf92eab66b4f7033c499a4e818dcb3
|
|
7
|
+
data.tar.gz: dece6dfe825872d035cfab32b63b3439dcb81a834a61b775a8b0b5cf9df11fad58cec8dfc484da5b29a8c7a1219dfd1622f8990cb6dad19c601d017283119afe
|
|
@@ -8,14 +8,22 @@ public
|
|
|
8
8
|
@@logger
|
|
9
9
|
|
|
10
10
|
def self.getCertificatesFromPemFile(certificateFilePath)
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
begin
|
|
12
|
+
pem_data = File.read(certificateFilePath)
|
|
13
|
+
certificateList = []
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
pem_data.scan(/-----BEGIN CERTIFICATE-----.*?-----END CERTIFICATE-----/m) do |certBlock|
|
|
16
|
+
certificateList << OpenSSL::X509::Certificate.new(certBlock)
|
|
17
|
+
end
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
certificateList
|
|
20
|
+
rescue Errno::ENOENT
|
|
21
|
+
raise IOError, "PEM certificate file not found: #{certificateFilePath}"
|
|
22
|
+
rescue OpenSSL::X509::CertificateError => e
|
|
23
|
+
raise ArgumentError, "Invalid certificate in PEM file #{certificateFilePath}: #{e.message}"
|
|
24
|
+
rescue StandardError => e
|
|
25
|
+
raise IOError, "Failed to read certificates from PEM file #{certificateFilePath}: #{e.message}"
|
|
26
|
+
end
|
|
19
27
|
end
|
|
20
28
|
|
|
21
29
|
def self.validateCertificateExpiry(certificate, keyAlias, certificateIdentifier, logConfig)
|
|
@@ -593,7 +593,7 @@ module CyberSource
|
|
|
593
593
|
# @option opts [String] :signature Request signature for payload integrity verification.
|
|
594
594
|
# @option opts [String] :timestamp ISO 8601 timestamp of when the request was generated. Used in conjunction with Signature for replay protection.
|
|
595
595
|
# @option opts [String] :api_version ACP specification version the client is targeting (e.g. `2024-01-01`). When omitted, the latest supported version is assumed.
|
|
596
|
-
# @return [
|
|
596
|
+
# @return [InlineResponse20112]
|
|
597
597
|
#
|
|
598
598
|
def create_checkout_session(acp_create_checkout_session_request, opts = {})
|
|
599
599
|
data, status_code, headers = create_checkout_session_with_http_info(acp_create_checkout_session_request, opts)
|
|
@@ -611,7 +611,7 @@ module CyberSource
|
|
|
611
611
|
# @option opts [String] :signature Request signature for payload integrity verification.
|
|
612
612
|
# @option opts [String] :timestamp ISO 8601 timestamp of when the request was generated. Used in conjunction with Signature for replay protection.
|
|
613
613
|
# @option opts [String] :api_version ACP specification version the client is targeting (e.g. `2024-01-01`). When omitted, the latest supported version is assumed.
|
|
614
|
-
# @return [Array<(
|
|
614
|
+
# @return [Array<(InlineResponse20112, Fixnum, Hash)>] InlineResponse20112 data, response status code and response headers
|
|
615
615
|
def create_checkout_session_with_http_info(acp_create_checkout_session_request, opts = {})
|
|
616
616
|
|
|
617
617
|
if @api_client.config.debugging
|
|
@@ -671,7 +671,7 @@ module CyberSource
|
|
|
671
671
|
:form_params => form_params,
|
|
672
672
|
:body => post_body,
|
|
673
673
|
:auth_names => auth_names,
|
|
674
|
-
:return_type => '
|
|
674
|
+
:return_type => 'InlineResponse20112',
|
|
675
675
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
676
676
|
if @api_client.config.debugging
|
|
677
677
|
begin
|
|
@@ -1037,7 +1037,7 @@ module CyberSource
|
|
|
1037
1037
|
# @option opts [String] :signature Request signature for payload integrity verification.
|
|
1038
1038
|
# @option opts [String] :timestamp ISO 8601 timestamp of when the request was generated. Used in conjunction with Signature for replay protection.
|
|
1039
1039
|
# @option opts [String] :api_version ACP specification version the client is targeting (e.g. `2024-01-01`). When omitted, the latest supported version is assumed.
|
|
1040
|
-
# @return [
|
|
1040
|
+
# @return [InlineResponse20112]
|
|
1041
1041
|
#
|
|
1042
1042
|
def get_checkout_session(session_id, acp_get_checkout_session_request, opts = {})
|
|
1043
1043
|
data, status_code, headers = get_checkout_session_with_http_info(session_id, acp_get_checkout_session_request, opts)
|
|
@@ -1056,7 +1056,7 @@ module CyberSource
|
|
|
1056
1056
|
# @option opts [String] :signature Request signature for payload integrity verification.
|
|
1057
1057
|
# @option opts [String] :timestamp ISO 8601 timestamp of when the request was generated. Used in conjunction with Signature for replay protection.
|
|
1058
1058
|
# @option opts [String] :api_version ACP specification version the client is targeting (e.g. `2024-01-01`). When omitted, the latest supported version is assumed.
|
|
1059
|
-
# @return [Array<(
|
|
1059
|
+
# @return [Array<(InlineResponse20112, Fixnum, Hash)>] InlineResponse20112 data, response status code and response headers
|
|
1060
1060
|
def get_checkout_session_with_http_info(session_id, acp_get_checkout_session_request, opts = {})
|
|
1061
1061
|
|
|
1062
1062
|
if @api_client.config.debugging
|
|
@@ -1120,7 +1120,7 @@ module CyberSource
|
|
|
1120
1120
|
:form_params => form_params,
|
|
1121
1121
|
:body => post_body,
|
|
1122
1122
|
:auth_names => auth_names,
|
|
1123
|
-
:return_type => '
|
|
1123
|
+
:return_type => 'InlineResponse20112',
|
|
1124
1124
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
1125
1125
|
if @api_client.config.debugging
|
|
1126
1126
|
begin
|
|
@@ -1475,7 +1475,7 @@ module CyberSource
|
|
|
1475
1475
|
#
|
|
1476
1476
|
# @param session_id The unique identifier of the UCP checkout session to cancel.
|
|
1477
1477
|
# @param [Hash] opts the optional parameters
|
|
1478
|
-
# @return [
|
|
1478
|
+
# @return [InlineResponse20113]
|
|
1479
1479
|
#
|
|
1480
1480
|
def ucp_cancel_checkout(session_id, opts = {})
|
|
1481
1481
|
data, status_code, headers = ucp_cancel_checkout_with_http_info(session_id, opts)
|
|
@@ -1486,7 +1486,7 @@ module CyberSource
|
|
|
1486
1486
|
# Cancels an active UCP checkout session. No charge is made. This operation is idempotent — cancelling an already-cancelled session returns a successful response. Sessions also expire automatically after 30 minutes of inactivity.
|
|
1487
1487
|
# @param session_id The unique identifier of the UCP checkout session to cancel.
|
|
1488
1488
|
# @param [Hash] opts the optional parameters
|
|
1489
|
-
# @return [Array<(
|
|
1489
|
+
# @return [Array<(InlineResponse20113, Fixnum, Hash)>] InlineResponse20113 data, response status code and response headers
|
|
1490
1490
|
def ucp_cancel_checkout_with_http_info(session_id, opts = {})
|
|
1491
1491
|
|
|
1492
1492
|
if @api_client.config.debugging
|
|
@@ -1541,7 +1541,7 @@ module CyberSource
|
|
|
1541
1541
|
:form_params => form_params,
|
|
1542
1542
|
:body => post_body,
|
|
1543
1543
|
:auth_names => auth_names,
|
|
1544
|
-
:return_type => '
|
|
1544
|
+
:return_type => 'InlineResponse20113',
|
|
1545
1545
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
1546
1546
|
if @api_client.config.debugging
|
|
1547
1547
|
begin
|
|
@@ -1560,7 +1560,7 @@ module CyberSource
|
|
|
1560
1560
|
# @param [Hash] opts the optional parameters
|
|
1561
1561
|
# @option opts [String] :idempotency_key **Strongly recommended.** A unique key that ensures this order is placed exactly once on retries. Lowercase per UCP spec.
|
|
1562
1562
|
# @option opts [UcpCompleteCheckoutRequest] :ucp_complete_checkout_request UCP completion payload containing payment instrument and optional risk signals. If payment context was already provided in the Create or Update call, the body can be omitted. Risk signals are logged for fraud analysis and are not forwarded to the merchant.
|
|
1563
|
-
# @return [
|
|
1563
|
+
# @return [InlineResponse20113]
|
|
1564
1564
|
#
|
|
1565
1565
|
def ucp_complete_checkout(session_id, opts = {})
|
|
1566
1566
|
data, status_code, headers = ucp_complete_checkout_with_http_info(session_id, opts)
|
|
@@ -1573,7 +1573,7 @@ module CyberSource
|
|
|
1573
1573
|
# @param [Hash] opts the optional parameters
|
|
1574
1574
|
# @option opts [String] :idempotency_key **Strongly recommended.** A unique key that ensures this order is placed exactly once on retries. Lowercase per UCP spec.
|
|
1575
1575
|
# @option opts [UcpCompleteCheckoutRequest] :ucp_complete_checkout_request UCP completion payload containing payment instrument and optional risk signals. If payment context was already provided in the Create or Update call, the body can be omitted. Risk signals are logged for fraud analysis and are not forwarded to the merchant.
|
|
1576
|
-
# @return [Array<(
|
|
1576
|
+
# @return [Array<(InlineResponse20113, Fixnum, Hash)>] InlineResponse20113 data, response status code and response headers
|
|
1577
1577
|
def ucp_complete_checkout_with_http_info(session_id, opts = {})
|
|
1578
1578
|
|
|
1579
1579
|
if @api_client.config.debugging
|
|
@@ -1627,7 +1627,7 @@ module CyberSource
|
|
|
1627
1627
|
:form_params => form_params,
|
|
1628
1628
|
:body => post_body,
|
|
1629
1629
|
:auth_names => auth_names,
|
|
1630
|
-
:return_type => '
|
|
1630
|
+
:return_type => 'InlineResponse20113',
|
|
1631
1631
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
1632
1632
|
if @api_client.config.debugging
|
|
1633
1633
|
begin
|
|
@@ -1645,7 +1645,7 @@ module CyberSource
|
|
|
1645
1645
|
# @param ucp_create_checkout_session_request UCP checkout session creation payload containing line items, buyer details, currency, and optional payment, fulfillment, and discount information.
|
|
1646
1646
|
# @param [Hash] opts the optional parameters
|
|
1647
1647
|
# @option opts [String] :idempotency_key Client-generated unique key (UUID recommended) to ensure this request is processed exactly once. Lowercase per UCP specification.
|
|
1648
|
-
# @return [
|
|
1648
|
+
# @return [InlineResponse20113]
|
|
1649
1649
|
#
|
|
1650
1650
|
def ucp_create_checkout_session(ucp_create_checkout_session_request, opts = {})
|
|
1651
1651
|
data, status_code, headers = ucp_create_checkout_session_with_http_info(ucp_create_checkout_session_request, opts)
|
|
@@ -1657,7 +1657,7 @@ module CyberSource
|
|
|
1657
1657
|
# @param ucp_create_checkout_session_request UCP checkout session creation payload containing line items, buyer details, currency, and optional payment, fulfillment, and discount information.
|
|
1658
1658
|
# @param [Hash] opts the optional parameters
|
|
1659
1659
|
# @option opts [String] :idempotency_key Client-generated unique key (UUID recommended) to ensure this request is processed exactly once. Lowercase per UCP specification.
|
|
1660
|
-
# @return [Array<(
|
|
1660
|
+
# @return [Array<(InlineResponse20113, Fixnum, Hash)>] InlineResponse20113 data, response status code and response headers
|
|
1661
1661
|
def ucp_create_checkout_session_with_http_info(ucp_create_checkout_session_request, opts = {})
|
|
1662
1662
|
|
|
1663
1663
|
if @api_client.config.debugging
|
|
@@ -1711,7 +1711,7 @@ module CyberSource
|
|
|
1711
1711
|
:form_params => form_params,
|
|
1712
1712
|
:body => post_body,
|
|
1713
1713
|
:auth_names => auth_names,
|
|
1714
|
-
:return_type => '
|
|
1714
|
+
:return_type => 'InlineResponse20113',
|
|
1715
1715
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
1716
1716
|
if @api_client.config.debugging
|
|
1717
1717
|
begin
|
|
@@ -1729,7 +1729,7 @@ module CyberSource
|
|
|
1729
1729
|
# @param session_id The unique identifier of the UCP checkout session to retrieve. Obtained from the `id` field in the Create Session response.
|
|
1730
1730
|
# @param ucp_get_checkout_session_request Empty request body.
|
|
1731
1731
|
# @param [Hash] opts the optional parameters
|
|
1732
|
-
# @return [
|
|
1732
|
+
# @return [InlineResponse20113]
|
|
1733
1733
|
#
|
|
1734
1734
|
def ucp_get_checkout_session(session_id, ucp_get_checkout_session_request, opts = {})
|
|
1735
1735
|
data, status_code, headers = ucp_get_checkout_session_with_http_info(session_id, ucp_get_checkout_session_request, opts)
|
|
@@ -1741,7 +1741,7 @@ module CyberSource
|
|
|
1741
1741
|
# @param session_id The unique identifier of the UCP checkout session to retrieve. Obtained from the `id` field in the Create Session response.
|
|
1742
1742
|
# @param ucp_get_checkout_session_request Empty request body.
|
|
1743
1743
|
# @param [Hash] opts the optional parameters
|
|
1744
|
-
# @return [Array<(
|
|
1744
|
+
# @return [Array<(InlineResponse20113, Fixnum, Hash)>] InlineResponse20113 data, response status code and response headers
|
|
1745
1745
|
def ucp_get_checkout_session_with_http_info(session_id, ucp_get_checkout_session_request, opts = {})
|
|
1746
1746
|
|
|
1747
1747
|
if @api_client.config.debugging
|
|
@@ -1798,7 +1798,7 @@ module CyberSource
|
|
|
1798
1798
|
:form_params => form_params,
|
|
1799
1799
|
:body => post_body,
|
|
1800
1800
|
:auth_names => auth_names,
|
|
1801
|
-
:return_type => '
|
|
1801
|
+
:return_type => 'InlineResponse20113',
|
|
1802
1802
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
1803
1803
|
if @api_client.config.debugging
|
|
1804
1804
|
begin
|
|
@@ -1817,7 +1817,7 @@ module CyberSource
|
|
|
1817
1817
|
# @param ucp_update_checkout_session_request UCP session update payload. All fields are optional — only fields you include will be applied.
|
|
1818
1818
|
# @param [Hash] opts the optional parameters
|
|
1819
1819
|
# @option opts [String] :idempotency_key Client-generated unique key for idempotency. Lowercase per UCP spec.
|
|
1820
|
-
# @return [
|
|
1820
|
+
# @return [InlineResponse20113]
|
|
1821
1821
|
#
|
|
1822
1822
|
def ucp_update_checkout_session(session_id, ucp_update_checkout_session_request, opts = {})
|
|
1823
1823
|
data, status_code, headers = ucp_update_checkout_session_with_http_info(session_id, ucp_update_checkout_session_request, opts)
|
|
@@ -1830,7 +1830,7 @@ module CyberSource
|
|
|
1830
1830
|
# @param ucp_update_checkout_session_request UCP session update payload. All fields are optional — only fields you include will be applied.
|
|
1831
1831
|
# @param [Hash] opts the optional parameters
|
|
1832
1832
|
# @option opts [String] :idempotency_key Client-generated unique key for idempotency. Lowercase per UCP spec.
|
|
1833
|
-
# @return [Array<(
|
|
1833
|
+
# @return [Array<(InlineResponse20113, Fixnum, Hash)>] InlineResponse20113 data, response status code and response headers
|
|
1834
1834
|
def ucp_update_checkout_session_with_http_info(session_id, ucp_update_checkout_session_request, opts = {})
|
|
1835
1835
|
|
|
1836
1836
|
if @api_client.config.debugging
|
|
@@ -1888,7 +1888,7 @@ module CyberSource
|
|
|
1888
1888
|
:form_params => form_params,
|
|
1889
1889
|
:body => post_body,
|
|
1890
1890
|
:auth_names => auth_names,
|
|
1891
|
-
:return_type => '
|
|
1891
|
+
:return_type => 'InlineResponse20113',
|
|
1892
1892
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
1893
1893
|
if @api_client.config.debugging
|
|
1894
1894
|
begin
|
|
@@ -2093,7 +2093,7 @@ module CyberSource
|
|
|
2093
2093
|
# @option opts [String] :signature Request signature for payload integrity verification.
|
|
2094
2094
|
# @option opts [String] :timestamp ISO 8601 timestamp of when the request was generated. Used in conjunction with Signature for replay protection.
|
|
2095
2095
|
# @option opts [String] :api_version ACP specification version the client is targeting (e.g. `2024-01-01`). When omitted, the latest supported version is assumed.
|
|
2096
|
-
# @return [
|
|
2096
|
+
# @return [InlineResponse20112]
|
|
2097
2097
|
#
|
|
2098
2098
|
def update_checkout_session(session_id, acp_update_checkout_session_request, opts = {})
|
|
2099
2099
|
data, status_code, headers = update_checkout_session_with_http_info(session_id, acp_update_checkout_session_request, opts)
|
|
@@ -2112,7 +2112,7 @@ module CyberSource
|
|
|
2112
2112
|
# @option opts [String] :signature Request signature for payload integrity verification.
|
|
2113
2113
|
# @option opts [String] :timestamp ISO 8601 timestamp of when the request was generated. Used in conjunction with Signature for replay protection.
|
|
2114
2114
|
# @option opts [String] :api_version ACP specification version the client is targeting (e.g. `2024-01-01`). When omitted, the latest supported version is assumed.
|
|
2115
|
-
# @return [Array<(
|
|
2115
|
+
# @return [Array<(InlineResponse20112, Fixnum, Hash)>] InlineResponse20112 data, response status code and response headers
|
|
2116
2116
|
def update_checkout_session_with_http_info(session_id, acp_update_checkout_session_request, opts = {})
|
|
2117
2117
|
|
|
2118
2118
|
if @api_client.config.debugging
|
|
@@ -2176,7 +2176,7 @@ module CyberSource
|
|
|
2176
2176
|
:form_params => form_params,
|
|
2177
2177
|
:body => post_body,
|
|
2178
2178
|
:auth_names => auth_names,
|
|
2179
|
-
:return_type => '
|
|
2179
|
+
:return_type => 'InlineResponse20112',
|
|
2180
2180
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
2181
2181
|
if @api_client.config.debugging
|
|
2182
2182
|
begin
|
|
@@ -24,7 +24,7 @@ module CyberSource
|
|
|
24
24
|
#
|
|
25
25
|
# @param create_bin_lookup_request
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @return [
|
|
27
|
+
# @return [InlineResponse2015]
|
|
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 get_account_info(create_bin_lookup_request, opts = {})
|
|
@@ -36,7 +36,7 @@ module CyberSource
|
|
|
36
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 (such as Visa, American Express, Discover and several regional 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
37
|
# @param create_bin_lookup_request
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @return [Array<(
|
|
39
|
+
# @return [Array<(InlineResponse2015, Fixnum, Hash)>] InlineResponse2015 data, response status code and response headers
|
|
40
40
|
def get_account_info_with_http_info(create_bin_lookup_request, opts = {})
|
|
41
41
|
|
|
42
42
|
if @api_client.config.debugging
|
|
@@ -89,7 +89,7 @@ module CyberSource
|
|
|
89
89
|
:form_params => form_params,
|
|
90
90
|
:body => post_body,
|
|
91
91
|
:auth_names => auth_names,
|
|
92
|
-
:return_type => '
|
|
92
|
+
:return_type => 'InlineResponse2015',
|
|
93
93
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
94
94
|
if @api_client.config.debugging
|
|
95
95
|
begin
|
|
@@ -107,7 +107,7 @@ module CyberSource
|
|
|
107
107
|
#
|
|
108
108
|
# @param [Hash] opts the optional parameters
|
|
109
109
|
# @option opts [CreateWebhook] :create_webhook The webhook payload
|
|
110
|
-
# @return [
|
|
110
|
+
# @return [InlineResponse2018]
|
|
111
111
|
#
|
|
112
112
|
def notification_subscriptions_v2_webhooks_post(opts = {})
|
|
113
113
|
data, status_code, headers = notification_subscriptions_v2_webhooks_post_with_http_info(opts)
|
|
@@ -118,7 +118,7 @@ module CyberSource
|
|
|
118
118
|
# Create a new webhook subscription. Before creating a webhook, ensure that a signature key has been created. For the example \"Create Webhook using oAuth with Client Credentials\" - for clients who have more than one oAuth Provider and have different client secrets that they would like to config for a given webhook, they may do so by overriding the keyId inside security config of webhook subscription. See the Developer Center examples section titled \"Webhook Security - Create or Store Egress Symmetric Key - Store oAuth Credentials For Symmetric Key\" to store these oAuth credentials that CYBS will need for oAuth. For JWT authentication, attach your oAuth details to the webhook subscription. See the example \"Create Webhook using oAuth with JWT\"
|
|
119
119
|
# @param [Hash] opts the optional parameters
|
|
120
120
|
# @option opts [CreateWebhook] :create_webhook The webhook payload
|
|
121
|
-
# @return [Array<(
|
|
121
|
+
# @return [Array<(InlineResponse2018, Fixnum, Hash)>] InlineResponse2018 data, response status code and response headers
|
|
122
122
|
def notification_subscriptions_v2_webhooks_post_with_http_info(opts = {})
|
|
123
123
|
|
|
124
124
|
if @api_client.config.debugging
|
|
@@ -167,7 +167,7 @@ module CyberSource
|
|
|
167
167
|
:form_params => form_params,
|
|
168
168
|
:body => post_body,
|
|
169
169
|
:auth_names => auth_names,
|
|
170
|
-
:return_type => '
|
|
170
|
+
:return_type => 'InlineResponse2018',
|
|
171
171
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
172
172
|
if @api_client.config.debugging
|
|
173
173
|
begin
|
|
@@ -187,7 +187,7 @@ module CyberSource
|
|
|
187
187
|
# @option opts [String] :v_c_sender_organization_id Sender organization id
|
|
188
188
|
# @option opts [String] :v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
|
|
189
189
|
# @option opts [SaveSymEgressKey] :save_sym_egress_key Provide egress Symmetric key information to save (create or store or refresh)
|
|
190
|
-
# @return [
|
|
190
|
+
# @return [InlineResponse2017]
|
|
191
191
|
#
|
|
192
192
|
def save_sym_egress_key(opts = {})
|
|
193
193
|
data, status_code, headers = save_sym_egress_key_with_http_info(opts)
|
|
@@ -201,7 +201,7 @@ module CyberSource
|
|
|
201
201
|
# @option opts [String] :v_c_sender_organization_id Sender organization id
|
|
202
202
|
# @option opts [String] :v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
|
|
203
203
|
# @option opts [SaveSymEgressKey] :save_sym_egress_key Provide egress Symmetric key information to save (create or store or refresh)
|
|
204
|
-
# @return [Array<(
|
|
204
|
+
# @return [Array<(InlineResponse2017, Fixnum, Hash)>] InlineResponse2017 data, response status code and response headers
|
|
205
205
|
def save_sym_egress_key_with_http_info(opts = {})
|
|
206
206
|
|
|
207
207
|
if @api_client.config.debugging
|
|
@@ -261,7 +261,7 @@ module CyberSource
|
|
|
261
261
|
:form_params => form_params,
|
|
262
262
|
:body => post_body,
|
|
263
263
|
:auth_names => auth_names,
|
|
264
|
-
:return_type => '
|
|
264
|
+
:return_type => 'InlineResponse2017',
|
|
265
265
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
266
266
|
if @api_client.config.debugging
|
|
267
267
|
begin
|
|
@@ -30,7 +30,7 @@ module CyberSource
|
|
|
30
30
|
# @param v_c_correlation_id
|
|
31
31
|
# @param v_c_organization_id
|
|
32
32
|
# @param [Hash] opts the optional parameters
|
|
33
|
-
# @return [
|
|
33
|
+
# @return [InlineResponse2013]
|
|
34
34
|
#
|
|
35
35
|
def create_fx_rates(body, content_type, x_requestid, v_c_merchant_id, v_c_permissions, v_c_correlation_id, v_c_organization_id, opts = {})
|
|
36
36
|
data, status_code, headers = create_fx_rates_with_http_info(body, content_type, x_requestid, v_c_merchant_id, v_c_permissions, v_c_correlation_id, v_c_organization_id, opts)
|
|
@@ -47,7 +47,7 @@ module CyberSource
|
|
|
47
47
|
# @param v_c_correlation_id
|
|
48
48
|
# @param v_c_organization_id
|
|
49
49
|
# @param [Hash] opts the optional parameters
|
|
50
|
-
# @return [Array<(
|
|
50
|
+
# @return [Array<(InlineResponse2013, Fixnum, Hash)>] InlineResponse2013 data, response status code and response headers
|
|
51
51
|
def create_fx_rates_with_http_info(body, content_type, x_requestid, v_c_merchant_id, v_c_permissions, v_c_correlation_id, v_c_organization_id, opts = {})
|
|
52
52
|
|
|
53
53
|
if @api_client.config.debugging
|
|
@@ -130,7 +130,7 @@ module CyberSource
|
|
|
130
130
|
:form_params => form_params,
|
|
131
131
|
:body => post_body,
|
|
132
132
|
:auth_names => auth_names,
|
|
133
|
-
:return_type => '
|
|
133
|
+
:return_type => 'InlineResponse2013',
|
|
134
134
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
135
135
|
if @api_client.config.debugging
|
|
136
136
|
begin
|
|
@@ -106,7 +106,7 @@ module CyberSource
|
|
|
106
106
|
#
|
|
107
107
|
# @param webhook_id The webhook Identifier
|
|
108
108
|
# @param [Hash] opts the optional parameters
|
|
109
|
-
# @return [
|
|
109
|
+
# @return [InlineResponse2018]
|
|
110
110
|
#
|
|
111
111
|
def get_webhook_subscription_by_id(webhook_id, opts = {})
|
|
112
112
|
data, status_code, headers = get_webhook_subscription_by_id_with_http_info(webhook_id, opts)
|
|
@@ -117,7 +117,7 @@ module CyberSource
|
|
|
117
117
|
# Retrieve the details of a specific webhook by supplying the webhook ID in the path.
|
|
118
118
|
# @param webhook_id The webhook Identifier
|
|
119
119
|
# @param [Hash] opts the optional parameters
|
|
120
|
-
# @return [Array<(
|
|
120
|
+
# @return [Array<(InlineResponse2018, Fixnum, Hash)>] InlineResponse2018 data, response status code and response headers
|
|
121
121
|
def get_webhook_subscription_by_id_with_http_info(webhook_id, opts = {})
|
|
122
122
|
|
|
123
123
|
if @api_client.config.debugging
|
|
@@ -172,7 +172,7 @@ module CyberSource
|
|
|
172
172
|
:form_params => form_params,
|
|
173
173
|
:body => post_body,
|
|
174
174
|
:auth_names => auth_names,
|
|
175
|
-
:return_type => '
|
|
175
|
+
:return_type => 'InlineResponse2018',
|
|
176
176
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
177
177
|
if @api_client.config.debugging
|
|
178
178
|
begin
|
|
@@ -279,7 +279,7 @@ module CyberSource
|
|
|
279
279
|
#
|
|
280
280
|
# @param webhook_id The Webhook Identifier.
|
|
281
281
|
# @param [Hash] opts the optional parameters
|
|
282
|
-
# @return [
|
|
282
|
+
# @return [InlineResponse2019]
|
|
283
283
|
#
|
|
284
284
|
def notification_subscriptions_v1_webhooks_webhook_id_post(webhook_id, opts = {})
|
|
285
285
|
data, status_code, headers = notification_subscriptions_v1_webhooks_webhook_id_post_with_http_info(webhook_id, opts)
|
|
@@ -290,7 +290,7 @@ module CyberSource
|
|
|
290
290
|
# Test the webhook configuration by sending a sample webhook. Calling this endpoint sends a sample webhook to the endpoint identified in the user's subscription. It will contain sample values for the product & eventType based on values present in your subscription along with a sample message in the payload. Based on the webhook response users can make any necessary modifications or rest assured knowing their setup is configured correctly.
|
|
291
291
|
# @param webhook_id The Webhook Identifier.
|
|
292
292
|
# @param [Hash] opts the optional parameters
|
|
293
|
-
# @return [Array<(
|
|
293
|
+
# @return [Array<(InlineResponse2019, Fixnum, Hash)>] InlineResponse2019 data, response status code and response headers
|
|
294
294
|
def notification_subscriptions_v1_webhooks_webhook_id_post_with_http_info(webhook_id, opts = {})
|
|
295
295
|
|
|
296
296
|
if @api_client.config.debugging
|
|
@@ -345,7 +345,7 @@ module CyberSource
|
|
|
345
345
|
:form_params => form_params,
|
|
346
346
|
:body => post_body,
|
|
347
347
|
:auth_names => auth_names,
|
|
348
|
-
:return_type => '
|
|
348
|
+
:return_type => 'InlineResponse2019',
|
|
349
349
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
350
350
|
if @api_client.config.debugging
|
|
351
351
|
begin
|
|
@@ -530,7 +530,7 @@ module CyberSource
|
|
|
530
530
|
# @option opts [String] :v_c_correlation_id A globally unique id associated with your request
|
|
531
531
|
# @option opts [String] :v_c_sender_organization_id Sender organization id
|
|
532
532
|
# @option opts [String] :v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
|
|
533
|
-
# @return [
|
|
533
|
+
# @return [InlineResponse20110]
|
|
534
534
|
#
|
|
535
535
|
def save_asym_egress_key(save_asym_egress_key, opts = {})
|
|
536
536
|
data, status_code, headers = save_asym_egress_key_with_http_info(save_asym_egress_key, opts)
|
|
@@ -544,7 +544,7 @@ module CyberSource
|
|
|
544
544
|
# @option opts [String] :v_c_correlation_id A globally unique id associated with your request
|
|
545
545
|
# @option opts [String] :v_c_sender_organization_id Sender organization id
|
|
546
546
|
# @option opts [String] :v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
|
|
547
|
-
# @return [Array<(
|
|
547
|
+
# @return [Array<(InlineResponse20110, Fixnum, Hash)>] InlineResponse20110 data, response status code and response headers
|
|
548
548
|
def save_asym_egress_key_with_http_info(save_asym_egress_key, opts = {})
|
|
549
549
|
|
|
550
550
|
if @api_client.config.debugging
|
|
@@ -608,7 +608,7 @@ module CyberSource
|
|
|
608
608
|
:form_params => form_params,
|
|
609
609
|
:body => post_body,
|
|
610
610
|
:auth_names => auth_names,
|
|
611
|
-
:return_type => '
|
|
611
|
+
:return_type => 'InlineResponse20110',
|
|
612
612
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
613
613
|
if @api_client.config.debugging
|
|
614
614
|
begin
|
|
@@ -198,7 +198,7 @@ module CyberSource
|
|
|
198
198
|
# @param post_registration_body Boarding registration data
|
|
199
199
|
# @param [Hash] opts the optional parameters
|
|
200
200
|
# @option opts [String] :v_c_idempotency_id defines idempotency of the request
|
|
201
|
-
# @return [
|
|
201
|
+
# @return [InlineResponse2016]
|
|
202
202
|
#
|
|
203
203
|
def post_registration(post_registration_body, opts = {})
|
|
204
204
|
data, status_code, headers = post_registration_with_http_info(post_registration_body, opts)
|
|
@@ -210,7 +210,7 @@ module CyberSource
|
|
|
210
210
|
# @param post_registration_body Boarding registration data
|
|
211
211
|
# @param [Hash] opts the optional parameters
|
|
212
212
|
# @option opts [String] :v_c_idempotency_id defines idempotency of the request
|
|
213
|
-
# @return [Array<(
|
|
213
|
+
# @return [Array<(InlineResponse2016, Fixnum, Hash)>] InlineResponse2016 data, response status code and response headers
|
|
214
214
|
def post_registration_with_http_info(post_registration_body, opts = {})
|
|
215
215
|
|
|
216
216
|
if @api_client.config.debugging
|
|
@@ -264,7 +264,7 @@ module CyberSource
|
|
|
264
264
|
:form_params => form_params,
|
|
265
265
|
:body => post_body,
|
|
266
266
|
:auth_names => auth_names,
|
|
267
|
-
:return_type => '
|
|
267
|
+
:return_type => 'InlineResponse2016',
|
|
268
268
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
269
269
|
if @api_client.config.debugging
|
|
270
270
|
begin
|
|
@@ -29,7 +29,7 @@ module CyberSource
|
|
|
29
29
|
# @param v_c_organization_id
|
|
30
30
|
# @param offer_request
|
|
31
31
|
# @param [Hash] opts the optional parameters
|
|
32
|
-
# @return [
|
|
32
|
+
# @return [InlineResponse20111]
|
|
33
33
|
#
|
|
34
34
|
# 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.
|
|
35
35
|
def create_offer(content_type, x_requestid, v_c_merchant_id, v_c_correlation_id, v_c_organization_id, offer_request, opts = {})
|
|
@@ -46,7 +46,7 @@ module CyberSource
|
|
|
46
46
|
# @param v_c_organization_id
|
|
47
47
|
# @param offer_request
|
|
48
48
|
# @param [Hash] opts the optional parameters
|
|
49
|
-
# @return [Array<(
|
|
49
|
+
# @return [Array<(InlineResponse20111, Fixnum, Hash)>] InlineResponse20111 data, response status code and response headers
|
|
50
50
|
def create_offer_with_http_info(content_type, x_requestid, v_c_merchant_id, v_c_correlation_id, v_c_organization_id, offer_request, opts = {})
|
|
51
51
|
|
|
52
52
|
if @api_client.config.debugging
|
|
@@ -124,7 +124,7 @@ module CyberSource
|
|
|
124
124
|
:form_params => form_params,
|
|
125
125
|
:body => post_body,
|
|
126
126
|
:auth_names => auth_names,
|
|
127
|
-
:return_type => '
|
|
127
|
+
:return_type => 'InlineResponse20111',
|
|
128
128
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
129
129
|
if @api_client.config.debugging
|
|
130
130
|
begin
|
|
@@ -70,7 +70,7 @@ module CyberSource
|
|
|
70
70
|
post_body = @api_client.object_to_http_body(create_search_request)
|
|
71
71
|
sdk_tracker = SdkTracker.new
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateSearchRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
73
|
-
inbound_mle_status = "
|
|
73
|
+
inbound_mle_status = "optional"
|
|
74
74
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_search","create_search_with_http_info"])
|
|
75
75
|
begin
|
|
76
76
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -153,7 +153,7 @@ module CyberSource
|
|
|
153
153
|
else
|
|
154
154
|
post_body = nil
|
|
155
155
|
end
|
|
156
|
-
inbound_mle_status = "
|
|
156
|
+
inbound_mle_status = "optional"
|
|
157
157
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_search","get_search_with_http_info"])
|
|
158
158
|
begin
|
|
159
159
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -72,7 +72,7 @@ module CyberSource
|
|
|
72
72
|
else
|
|
73
73
|
post_body = nil
|
|
74
74
|
end
|
|
75
|
-
inbound_mle_status = "
|
|
75
|
+
inbound_mle_status = "optional"
|
|
76
76
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_transaction","get_transaction_with_http_info"])
|
|
77
77
|
begin
|
|
78
78
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -33,7 +33,7 @@ module CyberSource
|
|
|
33
33
|
# @param [Hash] opts the optional parameters
|
|
34
34
|
# @option opts [Integer] :limit The maximum number of options to be retrieved from the processor and displayed to the consumer.
|
|
35
35
|
# @option opts [Integer] :offset Offset from the first item in the list of options received from the processor. If you want to display the options in multiple lists, this number represents the first option displayed in each list.
|
|
36
|
-
# @return [
|
|
36
|
+
# @return [InlineResponse2014]
|
|
37
37
|
#
|
|
38
38
|
def create_query_api(id, body, content_type, x_requestid, v_c_merchant_id, v_c_permissions, v_c_correlation_id, v_c_organization_id, opts = {})
|
|
39
39
|
data, status_code, headers = create_query_api_with_http_info(id, body, content_type, x_requestid, v_c_merchant_id, v_c_permissions, v_c_correlation_id, v_c_organization_id, opts)
|
|
@@ -53,7 +53,7 @@ module CyberSource
|
|
|
53
53
|
# @param [Hash] opts the optional parameters
|
|
54
54
|
# @option opts [Integer] :limit The maximum number of options to be retrieved from the processor and displayed to the consumer.
|
|
55
55
|
# @option opts [Integer] :offset Offset from the first item in the list of options received from the processor. If you want to display the options in multiple lists, this number represents the first option displayed in each list.
|
|
56
|
-
# @return [Array<(
|
|
56
|
+
# @return [Array<(InlineResponse2014, Fixnum, Hash)>] InlineResponse2014 data, response status code and response headers
|
|
57
57
|
def create_query_api_with_http_info(id, body, content_type, x_requestid, v_c_merchant_id, v_c_permissions, v_c_correlation_id, v_c_organization_id, opts = {})
|
|
58
58
|
|
|
59
59
|
if @api_client.config.debugging
|
|
@@ -142,7 +142,7 @@ module CyberSource
|
|
|
142
142
|
:form_params => form_params,
|
|
143
143
|
:body => post_body,
|
|
144
144
|
:auth_names => auth_names,
|
|
145
|
-
:return_type => '
|
|
145
|
+
:return_type => 'InlineResponse2014',
|
|
146
146
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
147
147
|
if @api_client.config.debugging
|
|
148
148
|
begin
|