cybersource_rest_client 0.0.84 → 0.0.86
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/core/MerchantConfig.rb +11 -10
- data/lib/AuthenticationSDK/logging/sensitive_logging.rb +265 -93
- data/lib/AuthenticationSDK/util/AuthJWEUtility.rb +53 -3
- data/lib/AuthenticationSDK/util/Cache.rb +22 -14
- data/lib/AuthenticationSDK/util/Constants.rb +87 -32
- data/lib/AuthenticationSDK/util/MLEUtility.rb +42 -2
- data/lib/AuthenticationSDK/util/Utility.rb +16 -5
- data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +2279 -0
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +6 -6
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
- data/lib/cybersource_rest_client/api/capture_api.rb +2 -2
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
- data/lib/cybersource_rest_client/api/credentials_api.rb +1 -1
- data/lib/cybersource_rest_client/api/credit_api.rb +2 -2
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +1 -1
- data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +146 -0
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +2 -2
- data/lib/cybersource_rest_client/api/invoices_api.rb +6 -6
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +95 -5
- data/lib/cybersource_rest_client/api/merchant_capabilities_api.rb +1065 -0
- data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +361 -0
- data/lib/cybersource_rest_client/api/network_tokens_api.rb +4 -4
- data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
- data/lib/cybersource_rest_client/api/orders_api.rb +6 -6
- data/lib/cybersource_rest_client/api/payment_links_api.rb +4 -4
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +3 -3
- data/lib/cybersource_rest_client/api/payments_api.rb +21 -21
- data/lib/cybersource_rest_client/api/plans_api.rb +1 -1
- data/lib/cybersource_rest_client/api/pull_funds_api.rb +3 -3
- data/lib/cybersource_rest_client/api/refund_api.rb +4 -4
- data/lib/cybersource_rest_client/api/reversal_api.rb +4 -4
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transaction_query_api.rb +158 -0
- data/lib/cybersource_rest_client/api/transaction_risk_labeling_api.rb +104 -0
- data/lib/cybersource_rest_client/api/void_api.rb +10 -10
- data/lib/cybersource_rest_client/api_client.rb +31 -2
- data/lib/cybersource_rest_client/configuration.rb +2 -2
- data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations.rb → account_updater_configurations.rb} +4 -4
- data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations_amex.rb → account_updater_configurations_amex.rb} +1 -1
- data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations_master_card.rb → account_updater_configurations_master_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations_visa.rb → account_updater_configurations_visa.rb} +1 -1
- data/lib/cybersource_rest_client/models/acp_checkout_session_response_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_complete_checkout_request.rb +205 -0
- data/lib/cybersource_rest_client/models/acp_complete_checkout_response_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_complete_checkout_session_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_create_checkout_session_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_create_checkout_session_request.rb +217 -0
- data/lib/cybersource_rest_client/models/acp_update_checkout_session_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_update_checkout_session_request.rb +224 -0
- data/lib/cybersource_rest_client/models/activate_merchant_key_response200.rb +356 -0
- data/lib/cybersource_rest_client/models/add_agent_key_response201.rb +356 -0
- data/lib/cybersource_rest_client/models/{ptsv1pullfundstransfer_processing_information_funding_options.rb → aft_funding_options.rb} +2 -2
- data/lib/cybersource_rest_client/models/{ptsv1pullfundstransfer_processing_information_funding_options_initiator.rb → aft_funding_options_initiator.rb} +2 -2
- data/lib/cybersource_rest_client/models/{ptsv1pullfundstransfer_processing_info_funding_options_initiator_origin_ini_transaction.rb → aft_funding_options_initiator_originator_initiated_transaction.rb} +1 -1
- data/lib/cybersource_rest_client/models/agent_registration_conflict_response409.rb +196 -0
- data/lib/cybersource_rest_client/models/agent_registration_response201.rb +356 -0
- data/lib/cybersource_rest_client/models/agent_registration_response201_keys.rb +308 -0
- data/lib/cybersource_rest_client/models/agent_registration_validation_error_response422.rb +214 -0
- data/lib/cybersource_rest_client/models/agent_registration_validation_error_response422_errors.rb +212 -0
- data/lib/cybersource_rest_client/models/agent_request.rb +286 -0
- data/lib/cybersource_rest_client/models/agent_update.rb +237 -0
- data/lib/cybersource_rest_client/models/agentic_cancel_purchase_intent_request.rb +3 -3
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_request.rb +8 -8
- data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_request.rb +2 -2
- data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_request.rb +5 -5
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_request.rb +2 -2
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200.rb +1 -1
- data/lib/cybersource_rest_client/models/agentic_update_purchase_intent_request.rb +5 -5
- data/lib/cybersource_rest_client/models/{payments_products_alternative_payment_methods_configuration_information_configurations_processors.rb → alternative_payments_processor_configuration.rb} +1 -1
- data/lib/cybersource_rest_client/models/bin_lookup403_response.rb +223 -0
- data/lib/cybersource_rest_client/models/bin_lookupv400_response.rb +235 -0
- data/lib/cybersource_rest_client/models/{card_processing_config_common_acquirer_agreement_acquirer_code.rb → boarding_acquirer_details.rb} +2 -2
- data/lib/cybersource_rest_client/models/{card_processing_config_common_acquirer_agreement_acquirer_code_payment_options.rb → boarding_acquirer_details_payment_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information.rb → boarding_business_information.rb} +6 -6
- data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information_address.rb → boarding_business_information_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information_business_contact.rb → boarding_business_information_business_contact.rb} +1 -1
- data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information_localized_names.rb → boarding_business_information_localized_names.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_payouts_configuration_information_configurations.rb → boarding_payouts_configurations.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payments_products_payouts_configuration_information_configurations_common.rb → boarding_payouts_configurations_common.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payments_products_payouts_configuration_information_configurations_common_aggregator.rb → boarding_payouts_configurations_common_aggregator.rb} +1 -1
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information.rb +1 -1
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +1 -1
- data/lib/cybersource_rest_client/models/body_1.rb +189 -0
- data/lib/cybersource_rest_client/models/body_2.rb +224 -0
- data/lib/cybersource_rest_client/models/card_processing_config_common_acquirer_agreement.rb +1 -1
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information.rb +1 -1
- data/lib/cybersource_rest_client/models/consumer_authentication_response.rb +196 -0
- data/lib/cybersource_rest_client/models/create_payment_link_request.rb +17 -5
- data/lib/cybersource_rest_client/models/create_subscription_response.rb +1 -1
- data/lib/cybersource_rest_client/models/deactivate_merchant_key_response200.rb +196 -0
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument.rb → default_payment_instrument.rb} +9 -9
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__embedded.rb → default_payment_instrument__embedded.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links.rb → default_payment_instrument__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links_self.rb → default_payment_instrument__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bank_account.rb → default_payment_instrument_bank_account.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bill_to.rb → default_payment_instrument_bill_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_buyer_information.rb → default_payment_instrument_buyer_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_buyer_info_issued_by.rb → default_payment_instrument_buyer_information_issued_by.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_buyer_info_personal_identification.rb → default_payment_instrument_buyer_information_personal_identification.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_card.rb → default_payment_instrument_card.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_card_tokenized_info.rb → default_payment_instrument_card_tokenized_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_instrument_identifier.rb → default_payment_instrument_instrument_identifier.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_metadata.rb → default_payment_instrument_metadata.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address.rb → default_shipping_address.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links.rb → default_shipping_address__links.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_customer.rb → default_shipping_address__links_customer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_self.rb → default_shipping_address__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address_metadata.rb → default_shipping_address_metadata.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address_ship_to.rb → default_shipping_address_ship_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_watchlist_screening_information_watch_list.rb → export_compliance_watch_list.rb} +2 -2
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_watchlist_screening_information_watch_list_matches.rb → export_compliance_watch_list_matches.rb} +1 -1
- data/lib/cybersource_rest_client/models/{get_subscription_response_1_payment_instrument_buyer_information.rb → follow_on_transaction_buyer_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/generate_unified_checkout_v1_capture_context_request.rb +2 -2
- data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument.rb +2 -2
- data/lib/cybersource_rest_client/models/get_subscription_response_1_shipping_address.rb +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb → icc_amount_detail.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_items.rb → icc_line_item.rb} +4 -4
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_items_additional_info.rb → icc_line_item_additional_info.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_items_policies.rb → icc_line_item_policies.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_merchant_information_merchant_descriptor.rb → icc_merchant_descriptor.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb → icc_payment_instrument.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconf_processor_info_payment_instrument_verifi_results.rb → icc_payment_instrument_verification_results.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_order_information_shipping_details.rb → icc_shipping_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{agentic_retrieve_payment_credentials_response200_transaction_response_with_pending_events.rb → icc_transaction_response_pending_events.rb} +1 -1
- data/lib/cybersource_rest_client/models/iccv1agents_keys.rb +239 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessions_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessions_items.rb +222 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_id_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data.rb +222 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data_billing_address.rb +344 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts.rb +206 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts_allocations.rb +202 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts_applied.rb +237 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment.rb +193 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_destinations.rb +246 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_groups.rb +228 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_methods.rb +252 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_options.rb +215 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_totals.rb +202 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_item.rb +207 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_line_items.rb +211 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment.rb +217 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_billing_address.rb +235 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_credential.rb +202 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_handlers.rb +259 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_instruments.rb +288 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_discounts.rb +206 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_fulfillment.rb +193 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_payment.rb +217 -0
- data/lib/cybersource_rest_client/models/{acpv1instructions_decline_threshold.rb → iccv1instructions_decline_threshold.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructions_mandates.rb → iccv1instructions_mandates.rb} +3 -3
- data/lib/cybersource_rest_client/models/{acpv1instructions_recurring_payment_information.rb → iccv1instructions_recurring_payment_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_confirmation_data.rb → iccv1instructionsinstruction_idconfirmations_confirmation_data.rb} +5 -5
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_merchant_information.rb → iccv1instructionsinstruction_idconfirmations_merchant_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_order_information.rb → iccv1instructionsinstruction_idconfirmations_order_information.rb} +5 -5
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_processor_information.rb → iccv1instructionsinstruction_idconfirmations_processor_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_attachments.rb → iccv1instructionsinstruction_idcredentials_attachments.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_client_reference_information.rb → iccv1instructionsinstruction_idcredentials_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_mandate_reference_data.rb → iccv1instructionsinstruction_idcredentials_mandate_reference_data.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_merchant_information.rb → iccv1instructionsinstruction_idcredentials_merchant_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information.rb → iccv1instructionsinstruction_idcredentials_order_information.rb} +4 -4
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_line_items.rb → iccv1instructionsinstruction_idcredentials_order_information_line_items.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_ship_to.rb → iccv1instructionsinstruction_idcredentials_order_information_ship_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_payment_options.rb → iccv1instructionsinstruction_idcredentials_payment_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_transaction_data.rb → iccv1instructionsinstruction_idcredentials_transaction_data.rb} +7 -7
- data/lib/cybersource_rest_client/models/iccv1merchants_api_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_encryption_key.rb +245 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_protocol_interactions.rb +236 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_web_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/{acpv1mppcredentials_challenge.rb → iccv1mppcredentials_challenge.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1mppcredentials_challenge_encryption_jwk.rb → iccv1mppcredentials_challenge_encryption_jwk.rb} +1 -1
- data/lib/cybersource_rest_client/models/iccv1productsfeed_products.rb +1368 -0
- data/lib/cybersource_rest_client/models/{acpv1tokens_assurance_data.rb → iccv1tokens_assurance_data.rb} +3 -3
- data/lib/cybersource_rest_client/models/{acpv1tokens_authenticated_identities.rb → iccv1tokens_authenticated_identities.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1tokens_authentication_context.rb → iccv1tokens_authentication_context.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1tokens_bill_to.rb → iccv1tokens_bill_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1tokens_buyer_information.rb → iccv1tokens_buyer_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1tokens_buyer_information_personal_identification.rb → iccv1tokens_buyer_information_personal_identification.rb} +9 -9
- data/lib/cybersource_rest_client/models/{acpv1tokens_consent_data.rb → iccv1tokens_consent_data.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1tokens_consumer_identity.rb → iccv1tokens_consumer_identity.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1tokens_device_information.rb → iccv1tokens_device_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1tokens_device_information_device_data.rb → iccv1tokens_device_information_device_data.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1tokens_enrollment_reference_data.rb → iccv1tokens_enrollment_reference_data.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information.rb → iccv1tokens_payment_information.rb} +4 -4
- data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information_customer.rb → iccv1tokens_payment_information_customer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information_instrument_identifier.rb → iccv1tokens_payment_information_instrument_identifier.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information_payment_instrument.rb → iccv1tokens_payment_information_payment_instrument.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_17.rb +317 -0
- data/lib/cybersource_rest_client/models/inline_response_200_17_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/inline_response_200_17_order.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_200_18.rb +308 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19.rb +302 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_errors.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant.rb +237 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant_products.rb +259 -0
- data/lib/cybersource_rest_client/models/inline_response_200_20.rb +259 -0
- data/lib/cybersource_rest_client/models/inline_response_200_20_products.rb +1081 -0
- data/lib/cybersource_rest_client/models/inline_response_200_21.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_5_integration_information_tenant_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_10.rb +277 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads.rb → inline_response_201_10_payloads.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads_test_payload.rb → inline_response_201_10_payloads_test_payload.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_11.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12.rb +297 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_9_client_reference_information.rb → inline_response_201_12_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_error_information.rb → inline_response_201_12_error_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information.rb → inline_response_201_12_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information_currency_conversion.rb → inline_response_201_12_order_information_currency_conversion.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information_currency_conversion_offer.rb → inline_response_201_12_order_information_currency_conversion_offer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_processor_information.rb → inline_response_201_12_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_13.rb +318 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_fulfillment_options.rb +290 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +256 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_links.rb +212 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_messages.rb +250 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_payment_provider.rb +204 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_totals.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14.rb +312 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_discounts.rb +206 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_fulfillment.rb +193 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_item.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_line_items.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_order.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_payment.rb +217 -0
- data/lib/cybersource_rest_client/models/inline_response_201_14_ucp.rb +204 -0
- data/lib/cybersource_rest_client/models/{tmsv3tokenstoken_idpaymentcredentials_merchant_information_merchant_descriptor.rb → inline_response_201_14_ucp_capabilities.rb} +12 -11
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +33 -54
- data/lib/cybersource_rest_client/models/inline_response_201_3_results.rb +190 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_results_risk_insights.rb +235 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +51 -62
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +315 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information_routing.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +78 -19
- data/lib/cybersource_rest_client/models/{inline_response_401_1__links.rb → inline_response_201_5__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/inline_response_201_5__links_self.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_client_reference_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_error_information.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_error_information_details.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_merchant_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_order_information_amount_details.rb +264 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_payment_information.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_payment_information_card.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_processing_information.rb +240 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_processing_information_payouts_options.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information.rb +548 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information_card_verification.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5_transactions.rb +239 -0
- data/lib/cybersource_rest_client/models/inline_response_201_6.rb +45 -111
- data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information.rb → inline_response_201_6_payout_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information_pull_funds.rb → inline_response_201_6_payout_information_pull_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information_push_funds.rb → inline_response_201_6_payout_information_push_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_7.rb +76 -72
- data/lib/cybersource_rest_client/models/{inline_response_201_4_integration_information.rb → inline_response_201_7_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_integration_information_tenant_configurations.rb → inline_response_201_7_integration_information_tenant_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_organization_information.rb → inline_response_201_7_organization_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_product_information_setups.rb → inline_response_201_7_product_information_setups.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_registration_information.rb → inline_response_201_7_registration_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups.rb → inline_response_201_7_setups.rb} +5 -5
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_commerce_solutions.rb → inline_response_201_7_setups_commerce_solutions.rb} +5 -5
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_risk.rb → inline_response_201_7_setups_risk.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_value_added_services.rb → inline_response_201_7_setups_value_added_services.rb} +6 -6
- data/lib/cybersource_rest_client/models/inline_response_201_8.rb +26 -6
- data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information.rb → inline_response_201_8_key_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information_error_information.rb → inline_response_201_8_key_information_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information_error_information_details.rb → inline_response_201_8_key_information_error_information_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_9.rb +107 -90
- data/lib/cybersource_rest_client/models/inline_response_202__links.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_10.rb +58 -36
- data/lib/cybersource_rest_client/models/{inline_response_400_8_fields.rb → inline_response_400_10_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_11.rb +16 -16
- data/lib/cybersource_rest_client/models/inline_response_400_11_details.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_400_12.rb +30 -75
- data/lib/cybersource_rest_client/models/{inline_response_400_10_details.rb → inline_response_400_12_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_13.rb +242 -0
- data/lib/cybersource_rest_client/models/inline_response_400_14.rb +235 -0
- data/lib/cybersource_rest_client/models/{inline_response_400_9_details.rb → inline_response_400_14_details.rb} +3 -3
- data/lib/cybersource_rest_client/models/inline_response_400_15.rb +281 -0
- data/lib/cybersource_rest_client/models/inline_response_400_16.rb +235 -0
- data/lib/cybersource_rest_client/models/inline_response_400_3.rb +42 -13
- data/lib/cybersource_rest_client/models/inline_response_400_4.rb +47 -13
- data/lib/cybersource_rest_client/models/inline_response_400_5.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_6.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_7.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_8.rb +37 -60
- data/lib/cybersource_rest_client/models/inline_response_400_9.rb +6 -6
- data/lib/cybersource_rest_client/models/inline_response_401.rb +51 -33
- data/lib/cybersource_rest_client/models/inline_response_401_1.rb +44 -56
- data/lib/cybersource_rest_client/models/inline_response_401_2.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_401_3.rb +253 -0
- data/lib/cybersource_rest_client/models/inline_response_401_3__links.rb +189 -0
- data/lib/cybersource_rest_client/models/{inline_response_401_1__links_self.rb → inline_response_401_3__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_401_1_fields.rb → inline_response_401_3_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_404_3.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_502.rb +9 -53
- data/lib/cybersource_rest_client/models/inline_response_502_1.rb +24 -12
- data/lib/cybersource_rest_client/models/inline_response_502_2.rb +21 -20
- data/lib/cybersource_rest_client/models/inline_response_502_3.rb +257 -0
- data/lib/cybersource_rest_client/models/inline_response_502_4.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_502_5.rb +251 -0
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +18 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoice_information.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_cancel200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +20 -3
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_publish200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_send200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +18 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +20 -3
- data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +20 -3
- data/lib/cybersource_rest_client/models/iplv2paymentlinks_order_information_line_items.rb +26 -9
- data/lib/cybersource_rest_client/models/iplv2paymentlinks_purchase_information.rb +85 -5
- data/lib/cybersource_rest_client/models/iplv2paymentlinksid_purchase_information.rb +85 -5
- data/lib/cybersource_rest_client/models/key_request.rb +239 -0
- data/lib/cybersource_rest_client/models/key_request_1.rb +245 -0
- data/lib/cybersource_rest_client/models/key_update.rb +224 -0
- data/lib/cybersource_rest_client/models/key_update_1.rb +235 -0
- data/lib/cybersource_rest_client/models/label_request.rb +268 -0
- data/lib/cybersource_rest_client/models/list_agent_keys_response200.rb +245 -0
- data/lib/cybersource_rest_client/models/list_agent_keys_response200_pagination.rb +276 -0
- data/lib/cybersource_rest_client/models/list_merchant_keys_response200.rb +262 -0
- data/lib/cybersource_rest_client/models/merchant_defined_field_core_1.rb +315 -0
- data/lib/cybersource_rest_client/models/merchant_defined_field_definition_request_1.rb +315 -0
- data/lib/cybersource_rest_client/models/merchant_registration_response201.rb +395 -0
- data/lib/cybersource_rest_client/models/merchant_registration_response201_keys.rb +324 -0
- data/lib/cybersource_rest_client/models/merchant_registration_validation_error_response422.rb +193 -0
- data/lib/cybersource_rest_client/models/merchant_registration_validation_error_response422_detail.rb +215 -0
- data/lib/cybersource_rest_client/models/merchant_request.rb +317 -0
- data/lib/cybersource_rest_client/models/merchant_update.rb +270 -0
- data/lib/cybersource_rest_client/models/{payments_products_microform_configuration_information_configurations_features.rb → microform_config_features.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payments_products_microform_configuration_information_configurations_features_gateway_agnostic.rb → microform_config_features_gateway_agnostic.rb} +1 -1
- data/lib/cybersource_rest_client/models/mpp_credentials_request.rb +1 -1
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +7 -7
- data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +3 -3
- data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +1 -1
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +7 -7
- data/lib/cybersource_rest_client/models/patch_registration_body.rb +234 -0
- data/lib/cybersource_rest_client/models/{payment_instrument_list__embedded_payment_instruments.rb → payment_instrument.rb} +8 -8
- data/lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments.rb → payments_configuration_setup.rb} +23 -23
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_alternative_payment_methods.rb → payments_configuration_setup_alternative_payment_methods.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_alternative_payment_methods_configuration_status.rb → payments_configuration_setup_alternative_payment_methods_configuration_status.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_card_processing.rb → payments_configuration_setup_card_processing.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_card_processing_configuration_status.rb → payments_configuration_setup_card_processing_configuration_status.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_card_processing_subscription_status.rb → payments_configuration_setup_card_processing_subscription_status.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_digital_payments.rb → payments_configuration_setup_digital_payments.rb} +2 -2
- data/lib/cybersource_rest_client/models/payments_products_alternative_payment_methods_configuration_information_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information.rb +1 -1
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_configuration_information.rb +1 -1
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +17 -5
- data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response_purchase_information.rb +81 -1
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +7 -7
- data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +3 -3
- data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_issuer_life_cycle_simulation_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_payment_credentials_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_payment_credentials_request_1.rb +1 -1
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +7 -7
- data/lib/cybersource_rest_client/models/{tms_tokenized_card_delete_request.rb → post_tokenized_card_delete_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/{ptsv2payments_processing_information_authorization_options.rb → processing_info_authorization_options.rb} +16 -3
- data/lib/cybersource_rest_client/models/{ptsv2payments_processing_information_authorization_options_initiator.rb → processing_info_authorization_options_initiator.rb} +2 -2
- data/lib/cybersource_rest_client/models/{ptsv2payments_merchant_initiated_transaction.rb → processing_info_authorization_options_initiator_merchant_initiated_transaction.rb} +4 -4
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_processor_information_seller_protection.rb → processor_information_seller_protection.rb} +1 -1
- data/lib/cybersource_rest_client/models/product_feed_request.rb +230 -0
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_issuer_information.rb +166 -1
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +37 -3
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_refund_options.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +13 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_card_verification.rb +214 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +0 -14
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_refund_options.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_client_reference_information.rb +257 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_client_reference_information_partner.rb +213 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_order_information_amount_details.rb +299 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_processing_information.rb +240 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_processing_information_routing.rb +205 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutstransactionqueryid_client_reference_information.rb +247 -0
- data/lib/cybersource_rest_client/models/push_funds201_response.rb +11 -1
- data/lib/cybersource_rest_client/models/push_funds201_response_issuer_information.rb +344 -0
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information.rb → push_funds_transfer_payment_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card.rb → push_funds_transfer_payment_information_card.rb} +4 -4
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card_customer.rb → push_funds_transfer_payment_information_card_customer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card_instrument_identifier.rb → push_funds_transfer_payment_information_card_instrument_identifier.rb} +1 -1
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card_payment_instrument.rb → push_funds_transfer_payment_information_card_payment_instrument.rb} +1 -1
- data/lib/cybersource_rest_client/models/{rbsv1subscriptions_processing_information_authorization_options.rb → rbs_authorization_options.rb} +2 -2
- data/lib/cybersource_rest_client/models/{rbsv1subscriptions_processing_information_authorization_options_initiator.rb → rbs_authorization_options_initiator.rb} +1 -1
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{reporting_v3_report_definitions_name_get200_response_default_settings.rb → report_definition_default_settings.rb} +1 -1
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb +1 -1
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address_verification_information.rb → risk_address_verification_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb → risk_address_verification_information_bar_code.rb} +1 -1
- data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb → risk_address_verification_information_standard_address.rb} +2 -2
- data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address1.rb → risk_address_verification_information_standard_address_address1.rb} +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/{boardingv1registrations_integration_information_tenant_information.rb → tenant_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier.rb +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.rb → tms_issuer_life_cycle_event_simulation_metadata.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.rb → tms_issuer_life_cycle_event_simulation_metadata_card_art.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tms_issuerlifecycleeventsimulations_metadata_card_art_combined_asset.rb → tms_issuer_life_cycle_event_simulation_metadata_card_art_combined_asset.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_point_of_sale_information.rb → tms_point_of_sale_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_point_of_sale_information_emv_tags.rb → tms_point_of_sale_information_emv_tags.rb} +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information_customer__embedded.rb +2 -2
- data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_authenticated_identities.rb +19 -8
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +12 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_configuration_information_configurations.rb → uc_configurations.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_configuration_information_configurations_features.rb → uc_configurations_features.rb} +26 -6
- data/lib/cybersource_rest_client/models/uc_configurations_features_click_to_pay.rb +189 -0
- data/lib/cybersource_rest_client/models/uc_configurations_features_click_to_pay_enrollment_data.rb +223 -0
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_configuration_information_configurations_features_paze.rb → uc_configurations_features_paze.rb} +2 -2
- data/lib/cybersource_rest_client/models/uc_configurations_features_portfolio_accessto_sensitive_data.rb +190 -0
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features.rb → uc_feature_subscription.rb} +22 -22
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_after_pay.rb → uc_feature_subscription_after_pay.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_apple_pay.rb → uc_feature_subscription_apple_pay.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_bancontact.rb → uc_feature_subscription_bancontact.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_click_to_pay.rb → uc_feature_subscription_click_to_pay.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_decision_manager.rb → uc_feature_subscription_decision_manager.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_dragon_pay.rb → uc_feature_subscription_dragon_pay.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_e_check.rb → uc_feature_subscription_e_check.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_google_pay.rb → uc_feature_subscription_google_pay.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_ideal.rb → uc_feature_subscription_ideal.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_konbini.rb → uc_feature_subscription_konbini.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_multibanco.rb → uc_feature_subscription_multibanco.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_my_bank.rb → uc_feature_subscription_my_bank.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_p24.rb → uc_feature_subscription_p24.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_pay_pal.rb → uc_feature_subscription_pay_pal.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_payer_authentication.rb → uc_feature_subscription_payer_authentication.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_paze_for_unified_checkout.rb → uc_feature_subscription_paze_for_unified_checkout.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_info_features_portfolio_accessof_sensi_data.rb → uc_feature_subscription_portfolio_accessof_sensitive_data.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_tink_pay_by_bank.rb → uc_feature_subscription_tink_pay_by_bank.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_token_management.rb → uc_feature_subscription_token_management.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_unified_click_to_pay_sdk.rb → uc_feature_subscription_unified_click_to_pay_sdk.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_venmo.rb → uc_feature_subscription_venmo.rb} +1 -1
- data/lib/cybersource_rest_client/models/ucp_checkout_session_response_buyer.rb +202 -0
- data/lib/cybersource_rest_client/models/ucp_complete_checkout_request.rb +201 -0
- data/lib/cybersource_rest_client/models/ucp_create_checkout_session_buyer.rb +202 -0
- data/lib/cybersource_rest_client/models/ucp_create_checkout_session_request.rb +249 -0
- data/lib/cybersource_rest_client/models/ucp_update_checkout_session_buyer.rb +202 -0
- data/lib/cybersource_rest_client/models/ucp_update_checkout_session_request.rb +255 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_client_reference_information.rb +227 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_ship_to.rb +388 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_authorization_options_initiator.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations.rb +11 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_googlepay.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_paypal.rb +211 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_paypal_tokenized_payment_method.rb +213 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token.rb +1 -1
- data/lib/cybersource_rest_client/models/{underwriting_configuration_organization_information_business_information_business_details.rb → underwriting_configuration_business_details.rb} +2 -2
- data/lib/cybersource_rest_client/models/underwriting_configuration_business_details_product_services_subscription.rb +1 -1
- data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{upv1capturecontexts_data_processing_info_mit.rb → unified_checkout_merchant_initiated_transaction.rb} +1 -1
- data/lib/cybersource_rest_client/models/unified_risk_labels_post400_response.rb +230 -0
- data/lib/cybersource_rest_client/models/unified_risk_labels_post400_response_errors.rb +223 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels.rb +230 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_authentication_outcome.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_payment_authorization_decision.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_return.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_transaction_decision.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_transaction_outcome.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction.rb +196 -0
- data/lib/cybersource_rest_client/models/update_payment_link_request.rb +17 -5
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information.rb +4 -2
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/{upv1capturecontexts_data_order_information_line_items_passenger.rb → upv1capturecontexts_data_order_information_passenger.rb} +1 -1
- data/lib/cybersource_rest_client/models/{upv1capturecontexts_data_order_information_line_items_tax_details.rb → upv1capturecontexts_data_order_information_tax_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options_initiator.rb +1 -1
- data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information.rb → virtual_terminal_global_payment_settings.rb} +4 -4
- data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information_basic_information.rb → virtual_terminal_global_payment_settings_basic_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information_merchant_defined_data_fields.rb → virtual_terminal_global_payment_settings_merchant_defined_data_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information_payment_information.rb → virtual_terminal_global_payment_settings_payment_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/vt_config_card_not_present.rb +1 -1
- data/lib/cybersource_rest_client.rb +2172 -2003
- metadata +352 -183
- data/lib/cybersource_rest_client/api/enrollment_api.rb +0 -104
- data/lib/cybersource_rest_client/api/instructions_api.rb +0 -452
- data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_merchant_information.rb +0 -189
- data/lib/cybersource_rest_client/utilities/flex/token_verification.rb +0 -42
|
@@ -65,9 +65,9 @@ module CyberSource
|
|
|
65
65
|
# header parameters
|
|
66
66
|
header_params = {}
|
|
67
67
|
# HTTP header 'Accept' (if needed)
|
|
68
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
68
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
69
69
|
# HTTP header 'Content-Type'
|
|
70
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
70
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
71
71
|
|
|
72
72
|
# form parameters
|
|
73
73
|
form_params = {}
|
|
@@ -146,9 +146,9 @@ module CyberSource
|
|
|
146
146
|
# header parameters
|
|
147
147
|
header_params = {}
|
|
148
148
|
# HTTP header 'Accept' (if needed)
|
|
149
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
149
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
150
150
|
# HTTP header 'Content-Type'
|
|
151
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
151
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
152
152
|
|
|
153
153
|
# form parameters
|
|
154
154
|
form_params = {}
|
|
@@ -227,9 +227,9 @@ module CyberSource
|
|
|
227
227
|
# header parameters
|
|
228
228
|
header_params = {}
|
|
229
229
|
# HTTP header 'Accept' (if needed)
|
|
230
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
230
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
231
231
|
# HTTP header 'Content-Type'
|
|
232
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
232
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
233
233
|
|
|
234
234
|
# form parameters
|
|
235
235
|
form_params = {}
|
|
@@ -314,9 +314,9 @@ module CyberSource
|
|
|
314
314
|
# header parameters
|
|
315
315
|
header_params = {}
|
|
316
316
|
# HTTP header 'Accept' (if needed)
|
|
317
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
317
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
318
318
|
# HTTP header 'Content-Type'
|
|
319
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
319
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
320
320
|
|
|
321
321
|
# form parameters
|
|
322
322
|
form_params = {}
|
|
@@ -401,9 +401,9 @@ module CyberSource
|
|
|
401
401
|
# header parameters
|
|
402
402
|
header_params = {}
|
|
403
403
|
# HTTP header 'Accept' (if needed)
|
|
404
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
404
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
405
405
|
# HTTP header 'Content-Type'
|
|
406
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
406
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
407
407
|
|
|
408
408
|
# form parameters
|
|
409
409
|
form_params = {}
|
|
@@ -450,8 +450,8 @@ module CyberSource
|
|
|
450
450
|
# @param [Hash] opts the optional parameters
|
|
451
451
|
# @return [PtsV2PaymentsPost201Response2]
|
|
452
452
|
#
|
|
453
|
-
def
|
|
454
|
-
data, status_code, headers =
|
|
453
|
+
def update_session_request(create_session_request, id, opts = {})
|
|
454
|
+
data, status_code, headers = update_session_request_with_http_info(create_session_request, id, opts)
|
|
455
455
|
return data, status_code, headers
|
|
456
456
|
end
|
|
457
457
|
|
|
@@ -461,23 +461,23 @@ module CyberSource
|
|
|
461
461
|
# @param id The payment ID. This ID is returned from a previous payment request.
|
|
462
462
|
# @param [Hash] opts the optional parameters
|
|
463
463
|
# @return [Array<(PtsV2PaymentsPost201Response2, Fixnum, Hash)>] PtsV2PaymentsPost201Response2 data, response status code and response headers
|
|
464
|
-
def
|
|
464
|
+
def update_session_request_with_http_info(create_session_request, id, opts = {})
|
|
465
465
|
|
|
466
466
|
if @api_client.config.debugging
|
|
467
467
|
begin
|
|
468
468
|
raise
|
|
469
|
-
@api_client.config.logger.debug 'Calling API: PaymentsApi.
|
|
469
|
+
@api_client.config.logger.debug 'Calling API: PaymentsApi.update_session_request ...'
|
|
470
470
|
rescue
|
|
471
471
|
puts 'Cannot write to log'
|
|
472
472
|
end
|
|
473
473
|
end
|
|
474
474
|
# verify the required parameter 'create_session_request' is set
|
|
475
475
|
if @api_client.config.client_side_validation && create_session_request.nil?
|
|
476
|
-
fail ArgumentError, "Missing the required parameter 'create_session_request' when calling PaymentsApi.
|
|
476
|
+
fail ArgumentError, "Missing the required parameter 'create_session_request' when calling PaymentsApi.update_session_request"
|
|
477
477
|
end
|
|
478
478
|
# verify the required parameter 'id' is set
|
|
479
479
|
if @api_client.config.client_side_validation && id.nil?
|
|
480
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling PaymentsApi.
|
|
480
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PaymentsApi.update_session_request"
|
|
481
481
|
end
|
|
482
482
|
# resource path
|
|
483
483
|
local_var_path = 'pts/v2/payment-references/{id}'.sub('{' + 'id' + '}', id.to_s)
|
|
@@ -488,9 +488,9 @@ module CyberSource
|
|
|
488
488
|
# header parameters
|
|
489
489
|
header_params = {}
|
|
490
490
|
# HTTP header 'Accept' (if needed)
|
|
491
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
491
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
492
492
|
# HTTP header 'Content-Type'
|
|
493
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
493
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
494
494
|
|
|
495
495
|
# form parameters
|
|
496
496
|
form_params = {}
|
|
@@ -500,7 +500,7 @@ module CyberSource
|
|
|
500
500
|
sdk_tracker = SdkTracker.new
|
|
501
501
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateSessionRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
502
502
|
inbound_mle_status = "optional"
|
|
503
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["
|
|
503
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_session_request","update_session_request_with_http_info"])
|
|
504
504
|
begin
|
|
505
505
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
506
506
|
rescue
|
|
@@ -508,7 +508,7 @@ module CyberSource
|
|
|
508
508
|
end
|
|
509
509
|
end
|
|
510
510
|
|
|
511
|
-
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["
|
|
511
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["update_session_request","update_session_request_with_http_info"])
|
|
512
512
|
|
|
513
513
|
auth_names = []
|
|
514
514
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
@@ -522,7 +522,7 @@ module CyberSource
|
|
|
522
522
|
if @api_client.config.debugging
|
|
523
523
|
begin
|
|
524
524
|
raise
|
|
525
|
-
@api_client.config.logger.debug "API called: PaymentsApi#
|
|
525
|
+
@api_client.config.logger.debug "API called: PaymentsApi#update_session_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
526
526
|
rescue
|
|
527
527
|
puts 'Cannot write to log'
|
|
528
528
|
end
|
|
@@ -658,7 +658,7 @@ module CyberSource
|
|
|
658
658
|
post_body = @api_client.object_to_http_body(update_plan_request)
|
|
659
659
|
sdk_tracker = SdkTracker.new
|
|
660
660
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdatePlanRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
661
|
-
inbound_mle_status = "
|
|
661
|
+
inbound_mle_status = "optional"
|
|
662
662
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_plan","update_plan_with_http_info"])
|
|
663
663
|
begin
|
|
664
664
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -118,7 +118,7 @@ module CyberSource
|
|
|
118
118
|
post_body = @api_client.object_to_http_body(pull_funds_refund_request)
|
|
119
119
|
sdk_tracker = SdkTracker.new
|
|
120
120
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PullFundsRefundRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
121
|
-
inbound_mle_status = "
|
|
121
|
+
inbound_mle_status = "optional"
|
|
122
122
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_pull_funds_refund","create_pull_funds_refund_with_http_info"])
|
|
123
123
|
begin
|
|
124
124
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -247,7 +247,7 @@ module CyberSource
|
|
|
247
247
|
post_body = @api_client.object_to_http_body(pull_funds_reversal_request)
|
|
248
248
|
sdk_tracker = SdkTracker.new
|
|
249
249
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PullFundsReversalRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
250
|
-
inbound_mle_status = "
|
|
250
|
+
inbound_mle_status = "optional"
|
|
251
251
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_pull_funds_reversal","create_pull_funds_reversal_with_http_info"])
|
|
252
252
|
begin
|
|
253
253
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -370,7 +370,7 @@ module CyberSource
|
|
|
370
370
|
post_body = @api_client.object_to_http_body(pull_funds_request)
|
|
371
371
|
sdk_tracker = SdkTracker.new
|
|
372
372
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PullFundsRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
373
|
-
inbound_mle_status = "
|
|
373
|
+
inbound_mle_status = "optional"
|
|
374
374
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_pull_funds_transfer","create_pull_funds_transfer_with_http_info"])
|
|
375
375
|
begin
|
|
376
376
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -65,9 +65,9 @@ module CyberSource
|
|
|
65
65
|
# header parameters
|
|
66
66
|
header_params = {}
|
|
67
67
|
# HTTP header 'Accept' (if needed)
|
|
68
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
68
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
69
69
|
# HTTP header 'Content-Type'
|
|
70
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
70
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
71
71
|
|
|
72
72
|
# form parameters
|
|
73
73
|
form_params = {}
|
|
@@ -152,9 +152,9 @@ module CyberSource
|
|
|
152
152
|
# header parameters
|
|
153
153
|
header_params = {}
|
|
154
154
|
# HTTP header 'Accept' (if needed)
|
|
155
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
155
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
156
156
|
# HTTP header 'Content-Type'
|
|
157
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
157
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
158
158
|
|
|
159
159
|
# form parameters
|
|
160
160
|
form_params = {}
|
|
@@ -65,9 +65,9 @@ module CyberSource
|
|
|
65
65
|
# header parameters
|
|
66
66
|
header_params = {}
|
|
67
67
|
# HTTP header 'Accept' (if needed)
|
|
68
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
68
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
69
69
|
# HTTP header 'Content-Type'
|
|
70
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
70
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
71
71
|
|
|
72
72
|
# form parameters
|
|
73
73
|
form_params = {}
|
|
@@ -146,9 +146,9 @@ module CyberSource
|
|
|
146
146
|
# header parameters
|
|
147
147
|
header_params = {}
|
|
148
148
|
# HTTP header 'Accept' (if needed)
|
|
149
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
149
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
150
150
|
# HTTP header 'Content-Type'
|
|
151
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
151
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
152
152
|
|
|
153
153
|
# form parameters
|
|
154
154
|
form_params = {}
|
|
@@ -673,7 +673,7 @@ module CyberSource
|
|
|
673
673
|
post_body = @api_client.object_to_http_body(update_payments)
|
|
674
674
|
sdk_tracker = SdkTracker.new
|
|
675
675
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdatePayments', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
676
|
-
inbound_mle_status = "
|
|
676
|
+
inbound_mle_status = "optional"
|
|
677
677
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["subscriptions_id_payments_put","subscriptions_id_payments_put_with_http_info"])
|
|
678
678
|
begin
|
|
679
679
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -843,7 +843,7 @@ module CyberSource
|
|
|
843
843
|
post_body = @api_client.object_to_http_body(update_subscription)
|
|
844
844
|
sdk_tracker = SdkTracker.new
|
|
845
845
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateSubscription', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
846
|
-
inbound_mle_status = "
|
|
846
|
+
inbound_mle_status = "optional"
|
|
847
847
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_subscription","update_subscription_with_http_info"])
|
|
848
848
|
begin
|
|
849
849
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -76,7 +76,7 @@ module CyberSource
|
|
|
76
76
|
post_body = @api_client.object_to_http_body(create_subscription_request)
|
|
77
77
|
sdk_tracker = SdkTracker.new
|
|
78
78
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateSubscriptionRequest1', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
79
|
-
inbound_mle_status = "
|
|
79
|
+
inbound_mle_status = "optional"
|
|
80
80
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_follow_on_subscription","create_follow_on_subscription_with_http_info"])
|
|
81
81
|
begin
|
|
82
82
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -159,7 +159,7 @@ module CyberSource
|
|
|
159
159
|
else
|
|
160
160
|
post_body = nil
|
|
161
161
|
end
|
|
162
|
-
inbound_mle_status = "
|
|
162
|
+
inbound_mle_status = "false"
|
|
163
163
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_follow_on_subscription","get_follow_on_subscription_with_http_info"])
|
|
164
164
|
begin
|
|
165
165
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -0,0 +1,158 @@
|
|
|
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
|
+
require 'AuthenticationSDK/util/MLEUtility'
|
|
14
|
+
module CyberSource
|
|
15
|
+
class TransactionQueryApi
|
|
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
|
+
# Query Transaction Details
|
|
23
|
+
# Query the status and details of payouts transactions including Pull Funds, Push Funds, and Pull Funds Reversals
|
|
24
|
+
#
|
|
25
|
+
# @param id This is the CyberSource Request ID generated for successfully processed AFT/OCT that needs to be queried.
|
|
26
|
+
# @param body
|
|
27
|
+
# @param content_type
|
|
28
|
+
# @param x_requestid
|
|
29
|
+
# @param v_c_merchant_id
|
|
30
|
+
# @param v_c_permissions
|
|
31
|
+
# @param v_c_correlation_id
|
|
32
|
+
# @param v_c_organization_id
|
|
33
|
+
# @param [Hash] opts the optional parameters
|
|
34
|
+
# @option opts [Integer] :limit The maximum number of options to be retrieved from the processor and displayed to the consumer.
|
|
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 [InlineResponse2015]
|
|
37
|
+
#
|
|
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
|
+
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)
|
|
40
|
+
return data, status_code, headers
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Query Transaction Details
|
|
44
|
+
# Query the status and details of payouts transactions including Pull Funds, Push Funds, and Pull Funds Reversals
|
|
45
|
+
# @param id This is the CyberSource Request ID generated for successfully processed AFT/OCT that needs to be queried.
|
|
46
|
+
# @param body
|
|
47
|
+
# @param content_type
|
|
48
|
+
# @param x_requestid
|
|
49
|
+
# @param v_c_merchant_id
|
|
50
|
+
# @param v_c_permissions
|
|
51
|
+
# @param v_c_correlation_id
|
|
52
|
+
# @param v_c_organization_id
|
|
53
|
+
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @option opts [Integer] :limit The maximum number of options to be retrieved from the processor and displayed to the consumer.
|
|
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<(InlineResponse2015, Fixnum, Hash)>] InlineResponse2015 data, response status code and response headers
|
|
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
|
+
|
|
59
|
+
if @api_client.config.debugging
|
|
60
|
+
begin
|
|
61
|
+
raise
|
|
62
|
+
@api_client.config.logger.debug 'Calling API: TransactionQueryApi.create_query_api ...'
|
|
63
|
+
rescue
|
|
64
|
+
puts 'Cannot write to log'
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
# verify the required parameter 'id' is set
|
|
68
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
69
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TransactionQueryApi.create_query_api"
|
|
70
|
+
end
|
|
71
|
+
# verify the required parameter 'body' is set
|
|
72
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
73
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling TransactionQueryApi.create_query_api"
|
|
74
|
+
end
|
|
75
|
+
# verify the required parameter 'content_type' is set
|
|
76
|
+
if @api_client.config.client_side_validation && content_type.nil?
|
|
77
|
+
fail ArgumentError, "Missing the required parameter 'content_type' when calling TransactionQueryApi.create_query_api"
|
|
78
|
+
end
|
|
79
|
+
# verify the required parameter 'x_requestid' is set
|
|
80
|
+
if @api_client.config.client_side_validation && x_requestid.nil?
|
|
81
|
+
fail ArgumentError, "Missing the required parameter 'x_requestid' when calling TransactionQueryApi.create_query_api"
|
|
82
|
+
end
|
|
83
|
+
# verify the required parameter 'v_c_merchant_id' is set
|
|
84
|
+
if @api_client.config.client_side_validation && v_c_merchant_id.nil?
|
|
85
|
+
fail ArgumentError, "Missing the required parameter 'v_c_merchant_id' when calling TransactionQueryApi.create_query_api"
|
|
86
|
+
end
|
|
87
|
+
# verify the required parameter 'v_c_permissions' is set
|
|
88
|
+
if @api_client.config.client_side_validation && v_c_permissions.nil?
|
|
89
|
+
fail ArgumentError, "Missing the required parameter 'v_c_permissions' when calling TransactionQueryApi.create_query_api"
|
|
90
|
+
end
|
|
91
|
+
# verify the required parameter 'v_c_correlation_id' is set
|
|
92
|
+
if @api_client.config.client_side_validation && v_c_correlation_id.nil?
|
|
93
|
+
fail ArgumentError, "Missing the required parameter 'v_c_correlation_id' when calling TransactionQueryApi.create_query_api"
|
|
94
|
+
end
|
|
95
|
+
# verify the required parameter 'v_c_organization_id' is set
|
|
96
|
+
if @api_client.config.client_side_validation && v_c_organization_id.nil?
|
|
97
|
+
fail ArgumentError, "Missing the required parameter 'v_c_organization_id' when calling TransactionQueryApi.create_query_api"
|
|
98
|
+
end
|
|
99
|
+
# resource path
|
|
100
|
+
local_var_path = 'pts/v2/payouts/transaction-query/{id}'.sub('{' + 'id' + '}', id.to_s)
|
|
101
|
+
|
|
102
|
+
# query parameters
|
|
103
|
+
query_params = {}
|
|
104
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
105
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
106
|
+
|
|
107
|
+
# header parameters
|
|
108
|
+
header_params = {}
|
|
109
|
+
# HTTP header 'Accept' (if needed)
|
|
110
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
|
111
|
+
# HTTP header 'Content-Type'
|
|
112
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
113
|
+
header_params[:'Content-Type'] = content_type
|
|
114
|
+
header_params[:'x-requestid'] = x_requestid
|
|
115
|
+
header_params[:'v-c-merchant-id'] = v_c_merchant_id
|
|
116
|
+
header_params[:'v-c-permissions'] = v_c_permissions
|
|
117
|
+
header_params[:'v-c-correlation-id'] = v_c_correlation_id
|
|
118
|
+
header_params[:'v-c-organization-id'] = v_c_organization_id
|
|
119
|
+
|
|
120
|
+
# form parameters
|
|
121
|
+
form_params = {}
|
|
122
|
+
|
|
123
|
+
# http body (model)
|
|
124
|
+
post_body = @api_client.object_to_http_body(body)
|
|
125
|
+
sdk_tracker = SdkTracker.new
|
|
126
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'Body1', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
127
|
+
inbound_mle_status = "mandatory"
|
|
128
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_query_api","create_query_api_with_http_info"])
|
|
129
|
+
begin
|
|
130
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
131
|
+
rescue
|
|
132
|
+
raise
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_query_api","create_query_api_with_http_info"])
|
|
137
|
+
|
|
138
|
+
auth_names = []
|
|
139
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
140
|
+
:header_params => header_params,
|
|
141
|
+
:query_params => query_params,
|
|
142
|
+
:form_params => form_params,
|
|
143
|
+
:body => post_body,
|
|
144
|
+
:auth_names => auth_names,
|
|
145
|
+
:return_type => 'InlineResponse2015',
|
|
146
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
147
|
+
if @api_client.config.debugging
|
|
148
|
+
begin
|
|
149
|
+
raise
|
|
150
|
+
@api_client.config.logger.debug "API called: TransactionQueryApi#create_query_api\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
151
|
+
rescue
|
|
152
|
+
puts 'Cannot write to log'
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
return data, status_code, headers
|
|
156
|
+
end
|
|
157
|
+
end
|
|
158
|
+
end
|
|
@@ -0,0 +1,104 @@
|
|
|
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
|
+
require 'AuthenticationSDK/util/MLEUtility'
|
|
14
|
+
module CyberSource
|
|
15
|
+
class TransactionRiskLabelingApi
|
|
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
|
+
# Transaction Risk Labeling
|
|
23
|
+
# The Labels endpoint enables clients to submit post-transaction feedback, including both the decision made on the transaction (such as accept or reject) and the final outcome (such as confirmed fraud, valid, or suspected). Consistent label submission is critical to achieving optimal model performance, as it directly drives model accuracy, tuning, and the quality of client‑specific insights over time
|
|
24
|
+
#
|
|
25
|
+
# @param label_request Label submission request
|
|
26
|
+
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @return [InlineResponse2013]
|
|
28
|
+
#
|
|
29
|
+
def submit_labels(label_request, opts = {})
|
|
30
|
+
data, status_code, headers = submit_labels_with_http_info(label_request, opts)
|
|
31
|
+
return data, status_code, headers
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Transaction Risk Labeling
|
|
35
|
+
# The Labels endpoint enables clients to submit post-transaction feedback, including both the decision made on the transaction (such as accept or reject) and the final outcome (such as confirmed fraud, valid, or suspected). Consistent label submission is critical to achieving optimal model performance, as it directly drives model accuracy, tuning, and the quality of client‑specific insights over time
|
|
36
|
+
# @param label_request Label submission request
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @return [Array<(InlineResponse2013, Fixnum, Hash)>] InlineResponse2013 data, response status code and response headers
|
|
39
|
+
def submit_labels_with_http_info(label_request, opts = {})
|
|
40
|
+
|
|
41
|
+
if @api_client.config.debugging
|
|
42
|
+
begin
|
|
43
|
+
raise
|
|
44
|
+
@api_client.config.logger.debug 'Calling API: TransactionRiskLabelingApi.submit_labels ...'
|
|
45
|
+
rescue
|
|
46
|
+
puts 'Cannot write to log'
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
# verify the required parameter 'label_request' is set
|
|
50
|
+
if @api_client.config.client_side_validation && label_request.nil?
|
|
51
|
+
fail ArgumentError, "Missing the required parameter 'label_request' when calling TransactionRiskLabelingApi.submit_labels"
|
|
52
|
+
end
|
|
53
|
+
# resource path
|
|
54
|
+
local_var_path = 'unifiedrisk'
|
|
55
|
+
|
|
56
|
+
# query parameters
|
|
57
|
+
query_params = {}
|
|
58
|
+
|
|
59
|
+
# header parameters
|
|
60
|
+
header_params = {}
|
|
61
|
+
# HTTP header 'Accept' (if needed)
|
|
62
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
63
|
+
# HTTP header 'Content-Type'
|
|
64
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
65
|
+
|
|
66
|
+
# form parameters
|
|
67
|
+
form_params = {}
|
|
68
|
+
|
|
69
|
+
# http body (model)
|
|
70
|
+
post_body = @api_client.object_to_http_body(label_request)
|
|
71
|
+
sdk_tracker = SdkTracker.new
|
|
72
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'LabelRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
73
|
+
inbound_mle_status = "mandatory"
|
|
74
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["submit_labels","submit_labels_with_http_info"])
|
|
75
|
+
begin
|
|
76
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
77
|
+
rescue
|
|
78
|
+
raise
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["submit_labels","submit_labels_with_http_info"])
|
|
83
|
+
|
|
84
|
+
auth_names = []
|
|
85
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
86
|
+
:header_params => header_params,
|
|
87
|
+
:query_params => query_params,
|
|
88
|
+
:form_params => form_params,
|
|
89
|
+
:body => post_body,
|
|
90
|
+
:auth_names => auth_names,
|
|
91
|
+
:return_type => 'InlineResponse2013',
|
|
92
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
93
|
+
if @api_client.config.debugging
|
|
94
|
+
begin
|
|
95
|
+
raise
|
|
96
|
+
@api_client.config.logger.debug "API called: TransactionRiskLabelingApi#submit_labels\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
97
|
+
rescue
|
|
98
|
+
puts 'Cannot write to log'
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
return data, status_code, headers
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
@@ -59,9 +59,9 @@ module CyberSource
|
|
|
59
59
|
# header parameters
|
|
60
60
|
header_params = {}
|
|
61
61
|
# HTTP header 'Accept' (if needed)
|
|
62
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
62
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
63
63
|
# HTTP header 'Content-Type'
|
|
64
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
64
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
65
65
|
|
|
66
66
|
# form parameters
|
|
67
67
|
form_params = {}
|
|
@@ -146,9 +146,9 @@ module CyberSource
|
|
|
146
146
|
# header parameters
|
|
147
147
|
header_params = {}
|
|
148
148
|
# HTTP header 'Accept' (if needed)
|
|
149
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
149
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
150
150
|
# HTTP header 'Content-Type'
|
|
151
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
151
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
152
152
|
|
|
153
153
|
# form parameters
|
|
154
154
|
form_params = {}
|
|
@@ -233,9 +233,9 @@ module CyberSource
|
|
|
233
233
|
# header parameters
|
|
234
234
|
header_params = {}
|
|
235
235
|
# HTTP header 'Accept' (if needed)
|
|
236
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
236
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
237
237
|
# HTTP header 'Content-Type'
|
|
238
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
238
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
239
239
|
|
|
240
240
|
# form parameters
|
|
241
241
|
form_params = {}
|
|
@@ -320,9 +320,9 @@ module CyberSource
|
|
|
320
320
|
# header parameters
|
|
321
321
|
header_params = {}
|
|
322
322
|
# HTTP header 'Accept' (if needed)
|
|
323
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
323
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
324
324
|
# HTTP header 'Content-Type'
|
|
325
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
325
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
326
326
|
|
|
327
327
|
# form parameters
|
|
328
328
|
form_params = {}
|
|
@@ -407,9 +407,9 @@ module CyberSource
|
|
|
407
407
|
# header parameters
|
|
408
408
|
header_params = {}
|
|
409
409
|
# HTTP header 'Accept' (if needed)
|
|
410
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json
|
|
410
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
|
411
411
|
# HTTP header 'Content-Type'
|
|
412
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
412
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/json; charset=utf-8'])
|
|
413
413
|
|
|
414
414
|
# form parameters
|
|
415
415
|
form_params = {}
|
|
@@ -12,6 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
require 'json'
|
|
14
14
|
require 'logger'
|
|
15
|
+
require 'openssl'
|
|
15
16
|
require 'tempfile'
|
|
16
17
|
require 'typhoeus'
|
|
17
18
|
require 'addressable/uri'
|
|
@@ -168,8 +169,13 @@ module CyberSource
|
|
|
168
169
|
:maxage_conn => @merchantconfig.keepAliveTime || 118 # Default to 118 seconds as same as default of libcurl
|
|
169
170
|
}
|
|
170
171
|
|
|
171
|
-
# set
|
|
172
|
-
|
|
172
|
+
# set CA cert for SSL verification using the first available source (priority order):
|
|
173
|
+
# 1. User-provided ssl_ca_cert (via config) — highest priority, explicit override
|
|
174
|
+
# 2. SSL_CERT_FILE or CURL_CA_BUNDLE env vars — standard curl/system override
|
|
175
|
+
# 3. Ruby's OpenSSL default cert file — reliable cross-platform fallback
|
|
176
|
+
# If none are found, cainfo is not set and libcurl uses its built-in default.
|
|
177
|
+
resolved_ca_cert = resolve_ca_cert_file
|
|
178
|
+
req_opts[:cainfo] = resolved_ca_cert if resolved_ca_cert
|
|
173
179
|
|
|
174
180
|
if [:post, :patch, :put, :delete].include?(http_method)
|
|
175
181
|
req_body = build_request_body(header_params, form_params, opts[:body])
|
|
@@ -269,6 +275,29 @@ module CyberSource
|
|
|
269
275
|
request_target
|
|
270
276
|
end
|
|
271
277
|
|
|
278
|
+
# Resolves the CA certificate file to use for SSL verification.
|
|
279
|
+
# Returns the first available file from the following sources (priority order):
|
|
280
|
+
# 1. User-provided ssl_ca_cert from Configuration (explicit override)
|
|
281
|
+
# 2. SSL_CERT_FILE or CURL_CA_BUNDLE environment variables
|
|
282
|
+
# 3. Ruby's OpenSSL default cert file (cross-platform fallback)
|
|
283
|
+
# @return [String, nil] path to the CA cert file, or nil if none found
|
|
284
|
+
def resolve_ca_cert_file
|
|
285
|
+
# Priority 1: User-provided ssl_ca_cert
|
|
286
|
+
user_ca = @config.ssl_ca_cert
|
|
287
|
+
return user_ca if user_ca && File.exist?(user_ca)
|
|
288
|
+
|
|
289
|
+
# Priority 2: System/curl CA bundle (environment variables)
|
|
290
|
+
env_ca = ENV['SSL_CERT_FILE'] || ENV['CURL_CA_BUNDLE']
|
|
291
|
+
return env_ca if env_ca && File.exist?(env_ca)
|
|
292
|
+
|
|
293
|
+
# Priority 3: Ruby's OpenSSL default cert file
|
|
294
|
+
ruby_ca = OpenSSL::X509::DEFAULT_CERT_FILE
|
|
295
|
+
return ruby_ca if ruby_ca && File.exist?(ruby_ca)
|
|
296
|
+
|
|
297
|
+
# No CA cert found — let libcurl use its built-in default
|
|
298
|
+
nil
|
|
299
|
+
end
|
|
300
|
+
|
|
272
301
|
# Check if the given MIME is a JSON MIME.
|
|
273
302
|
# JSON MIME examples:
|
|
274
303
|
# application/json
|
|
@@ -134,8 +134,8 @@ module CyberSource
|
|
|
134
134
|
@api_key_prefix = {}
|
|
135
135
|
@timeout = 0
|
|
136
136
|
@client_side_validation = true
|
|
137
|
-
@verify_ssl =
|
|
138
|
-
@verify_ssl_host =
|
|
137
|
+
@verify_ssl = true
|
|
138
|
+
@verify_ssl_host = true
|
|
139
139
|
@params_encoding = nil
|
|
140
140
|
@cert_file = nil
|
|
141
141
|
@key_file = nil
|