cybersource_rest_client 0.0.84 → 0.0.85
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 +13 -8
- data/lib/AuthenticationSDK/util/Constants.rb +87 -32
- data/lib/AuthenticationSDK/util/MLEUtility.rb +42 -2
- data/lib/cybersource_rest_client/api/{instructions_api.rb → agent_capabilities_api.rb} +106 -25
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +6 -6
- data/lib/cybersource_rest_client/api/capture_api.rb +2 -2
- 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/invoice_settings_api.rb +2 -2
- data/lib/cybersource_rest_client/api/invoices_api.rb +6 -6
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +2 -2
- data/lib/cybersource_rest_client/api/orders_api.rb +4 -4
- data/lib/cybersource_rest_client/api/payment_links_api.rb +4 -4
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payments_api.rb +21 -21
- 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/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/{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/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_organization_information.rb +1 -1
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +1 -1
- 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/create_subscription_response.rb +1 -1
- 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/{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/{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/{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_201_4_setups.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_commerce_solutions.rb +4 -4
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_risk.rb +3 -3
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_value_added_services.rb +5 -5
- data/lib/cybersource_rest_client/models/inline_response_400_11.rb +42 -35
- data/lib/cybersource_rest_client/models/inline_response_400_12.rb +16 -62
- data/lib/cybersource_rest_client/models/{inline_response_400_11_details.rb → inline_response_400_12_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_13.rb +281 -0
- 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 +19 -47
- data/lib/cybersource_rest_client/models/inline_response_502_3.rb +251 -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/{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/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/{ptsv2payments_processing_information_authorization_options.rb → processing_info_authorization_options.rb} +2 -2
- 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/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_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 +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +22 -5
- 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/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/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/{payments_products_unified_checkout_configuration_information_configurations.rb → uc_configurations.rb} +2 -2
- data/lib/cybersource_rest_client/models/uc_configurations_features.rb +209 -0
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_configuration_information_configurations_features.rb → uc_configurations_features_click_to_pay.rb} +9 -9
- 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/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/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 +160 -152
- metadata +161 -153
- data/lib/cybersource_rest_client/api/enrollment_api.rb +0 -104
- data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_merchant_information.rb +0 -189
- data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_merchant_information_merchant_descriptor.rb +0 -201
- data/lib/cybersource_rest_client/utilities/flex/token_verification.rb +0 -42
|
@@ -13,50 +13,47 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse40011
|
|
16
|
-
|
|
17
|
-
attr_accessor :submit_time_utc
|
|
16
|
+
attr_accessor :correlation_id
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
attr_accessor :details
|
|
19
|
+
|
|
20
|
+
attr_accessor :information_link
|
|
21
21
|
|
|
22
|
-
# The detail message related to the status and reason
|
|
23
22
|
attr_accessor :message
|
|
24
23
|
|
|
25
|
-
#
|
|
24
|
+
# Possible values: - INVALID_APIKEY - INVALID_SHIPPING_INPUT_PARAMS - CAPTURE_CONTEXT_INVALID - CAPTURE_CONTEXT_EXPIRED - SDK_XHR_ERROR - UNIFIEDPAYMENTS_VALIDATION_PARAMS - UNIFIEDPAYMENTS_VALIDATION_FIELDS - UNIFIEDPAYMENT_PAYMENT_PARAMITERS - CREATE_TOKEN_TIMEOUT - CREATE_TOKEN_XHR_ERROR - SHOW_LOAD_CONTAINER_SELECTOR - SHOW_LOAD_INVALID_CONTAINER - SHOW_TOKEN_TIMEOUT - SHOW_TOKEN_XHR_ERROR - SHOW_PAYMENT_TIMEOUT
|
|
26
25
|
attr_accessor :reason
|
|
27
26
|
|
|
28
|
-
attr_accessor :details
|
|
29
|
-
|
|
30
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
28
|
def self.attribute_map
|
|
32
29
|
{
|
|
33
|
-
:'
|
|
34
|
-
:'
|
|
30
|
+
:'correlation_id' => :'correlationId',
|
|
31
|
+
:'details' => :'details',
|
|
32
|
+
:'information_link' => :'informationLink',
|
|
35
33
|
:'message' => :'message',
|
|
36
|
-
:'reason' => :'reason'
|
|
37
|
-
:'details' => :'details'
|
|
34
|
+
:'reason' => :'reason'
|
|
38
35
|
}
|
|
39
36
|
end
|
|
40
37
|
|
|
41
38
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
42
39
|
def self.json_map
|
|
43
40
|
{
|
|
44
|
-
:'
|
|
45
|
-
:'
|
|
41
|
+
:'correlation_id' => :'correlation_id',
|
|
42
|
+
:'details' => :'details',
|
|
43
|
+
:'information_link' => :'information_link',
|
|
46
44
|
:'message' => :'message',
|
|
47
|
-
:'reason' => :'reason'
|
|
48
|
-
:'details' => :'details'
|
|
45
|
+
:'reason' => :'reason'
|
|
49
46
|
}
|
|
50
47
|
end
|
|
51
48
|
|
|
52
49
|
# Attribute type mapping.
|
|
53
50
|
def self.swagger_types
|
|
54
51
|
{
|
|
55
|
-
:'
|
|
56
|
-
:'
|
|
52
|
+
:'correlation_id' => :'String',
|
|
53
|
+
:'details' => :'Array<InlineResponse4001Details>',
|
|
54
|
+
:'information_link' => :'String',
|
|
57
55
|
:'message' => :'String',
|
|
58
|
-
:'reason' => :'String'
|
|
59
|
-
:'details' => :'Array<InlineResponse40011Details>'
|
|
56
|
+
:'reason' => :'String'
|
|
60
57
|
}
|
|
61
58
|
end
|
|
62
59
|
|
|
@@ -68,12 +65,18 @@ module CyberSource
|
|
|
68
65
|
# convert string to symbol for hash key
|
|
69
66
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
70
67
|
|
|
71
|
-
if attributes.has_key?(:'
|
|
72
|
-
self.
|
|
68
|
+
if attributes.has_key?(:'correlationId')
|
|
69
|
+
self.correlation_id = attributes[:'correlationId']
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
if attributes.has_key?(:'details')
|
|
73
|
+
if (value = attributes[:'details']).is_a?(Array)
|
|
74
|
+
self.details = value
|
|
75
|
+
end
|
|
73
76
|
end
|
|
74
77
|
|
|
75
|
-
if attributes.has_key?(:'
|
|
76
|
-
self.
|
|
78
|
+
if attributes.has_key?(:'informationLink')
|
|
79
|
+
self.information_link = attributes[:'informationLink']
|
|
77
80
|
end
|
|
78
81
|
|
|
79
82
|
if attributes.has_key?(:'message')
|
|
@@ -83,24 +86,28 @@ module CyberSource
|
|
|
83
86
|
if attributes.has_key?(:'reason')
|
|
84
87
|
self.reason = attributes[:'reason']
|
|
85
88
|
end
|
|
86
|
-
|
|
87
|
-
if attributes.has_key?(:'details')
|
|
88
|
-
if (value = attributes[:'details']).is_a?(Array)
|
|
89
|
-
self.details = value
|
|
90
|
-
end
|
|
91
|
-
end
|
|
92
89
|
end
|
|
93
90
|
|
|
94
91
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
95
92
|
# @return Array for valid properties with the reasons
|
|
96
93
|
def list_invalid_properties
|
|
97
94
|
invalid_properties = Array.new
|
|
95
|
+
if @message.nil?
|
|
96
|
+
invalid_properties.push('invalid value for "message", message cannot be nil.')
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
if @reason.nil?
|
|
100
|
+
invalid_properties.push('invalid value for "reason", reason cannot be nil.')
|
|
101
|
+
end
|
|
102
|
+
|
|
98
103
|
invalid_properties
|
|
99
104
|
end
|
|
100
105
|
|
|
101
106
|
# Check to see if the all the properties in the model are valid
|
|
102
107
|
# @return true if the model is valid
|
|
103
108
|
def valid?
|
|
109
|
+
return false if @message.nil?
|
|
110
|
+
return false if @reason.nil?
|
|
104
111
|
true
|
|
105
112
|
end
|
|
106
113
|
|
|
@@ -109,11 +116,11 @@ module CyberSource
|
|
|
109
116
|
def ==(o)
|
|
110
117
|
return true if self.equal?(o)
|
|
111
118
|
self.class == o.class &&
|
|
112
|
-
|
|
113
|
-
|
|
119
|
+
correlation_id == o.correlation_id &&
|
|
120
|
+
details == o.details &&
|
|
121
|
+
information_link == o.information_link &&
|
|
114
122
|
message == o.message &&
|
|
115
|
-
reason == o.reason
|
|
116
|
-
details == o.details
|
|
123
|
+
reason == o.reason
|
|
117
124
|
end
|
|
118
125
|
|
|
119
126
|
# @see the `==` method
|
|
@@ -125,7 +132,7 @@ module CyberSource
|
|
|
125
132
|
# Calculates hash code according to all attributes.
|
|
126
133
|
# @return [Fixnum] Hash code
|
|
127
134
|
def hash
|
|
128
|
-
[
|
|
135
|
+
[correlation_id, details, information_link, message, reason].hash
|
|
129
136
|
end
|
|
130
137
|
|
|
131
138
|
# Builds the object from hash
|
|
@@ -13,31 +13,27 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse40012
|
|
16
|
-
#
|
|
17
|
-
attr_accessor :id
|
|
18
|
-
|
|
19
|
-
# Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC.
|
|
16
|
+
# Time verification was requested Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.)
|
|
20
17
|
attr_accessor :submit_time_utc
|
|
21
18
|
|
|
22
|
-
#
|
|
19
|
+
# Possible values: - `INVALID_REQUEST`
|
|
23
20
|
attr_accessor :status
|
|
24
21
|
|
|
25
|
-
# The
|
|
26
|
-
attr_accessor :reason
|
|
27
|
-
|
|
28
|
-
# Descriptive message to add more detail to the status
|
|
22
|
+
# The detail message related to the status and reason
|
|
29
23
|
attr_accessor :message
|
|
30
24
|
|
|
25
|
+
# The reason of the status. Possible values: - `INVALID_REQUEST`
|
|
26
|
+
attr_accessor :reason
|
|
27
|
+
|
|
31
28
|
attr_accessor :details
|
|
32
29
|
|
|
33
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
31
|
def self.attribute_map
|
|
35
32
|
{
|
|
36
|
-
:'id' => :'id',
|
|
37
33
|
:'submit_time_utc' => :'submitTimeUtc',
|
|
38
34
|
:'status' => :'status',
|
|
39
|
-
:'reason' => :'reason',
|
|
40
35
|
:'message' => :'message',
|
|
36
|
+
:'reason' => :'reason',
|
|
41
37
|
:'details' => :'details'
|
|
42
38
|
}
|
|
43
39
|
end
|
|
@@ -45,11 +41,10 @@ module CyberSource
|
|
|
45
41
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
46
42
|
def self.json_map
|
|
47
43
|
{
|
|
48
|
-
:'id' => :'id',
|
|
49
44
|
:'submit_time_utc' => :'submit_time_utc',
|
|
50
45
|
:'status' => :'status',
|
|
51
|
-
:'reason' => :'reason',
|
|
52
46
|
:'message' => :'message',
|
|
47
|
+
:'reason' => :'reason',
|
|
53
48
|
:'details' => :'details'
|
|
54
49
|
}
|
|
55
50
|
end
|
|
@@ -57,12 +52,11 @@ module CyberSource
|
|
|
57
52
|
# Attribute type mapping.
|
|
58
53
|
def self.swagger_types
|
|
59
54
|
{
|
|
60
|
-
:'id' => :'String',
|
|
61
55
|
:'submit_time_utc' => :'String',
|
|
62
56
|
:'status' => :'String',
|
|
63
|
-
:'reason' => :'String',
|
|
64
57
|
:'message' => :'String',
|
|
65
|
-
:'
|
|
58
|
+
:'reason' => :'String',
|
|
59
|
+
:'details' => :'Array<InlineResponse40012Details>'
|
|
66
60
|
}
|
|
67
61
|
end
|
|
68
62
|
|
|
@@ -74,10 +68,6 @@ module CyberSource
|
|
|
74
68
|
# convert string to symbol for hash key
|
|
75
69
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
76
70
|
|
|
77
|
-
if attributes.has_key?(:'id')
|
|
78
|
-
self.id = attributes[:'id']
|
|
79
|
-
end
|
|
80
|
-
|
|
81
71
|
if attributes.has_key?(:'submitTimeUtc')
|
|
82
72
|
self.submit_time_utc = attributes[:'submitTimeUtc']
|
|
83
73
|
end
|
|
@@ -86,14 +76,14 @@ module CyberSource
|
|
|
86
76
|
self.status = attributes[:'status']
|
|
87
77
|
end
|
|
88
78
|
|
|
89
|
-
if attributes.has_key?(:'reason')
|
|
90
|
-
self.reason = attributes[:'reason']
|
|
91
|
-
end
|
|
92
|
-
|
|
93
79
|
if attributes.has_key?(:'message')
|
|
94
80
|
self.message = attributes[:'message']
|
|
95
81
|
end
|
|
96
82
|
|
|
83
|
+
if attributes.has_key?(:'reason')
|
|
84
|
+
self.reason = attributes[:'reason']
|
|
85
|
+
end
|
|
86
|
+
|
|
97
87
|
if attributes.has_key?(:'details')
|
|
98
88
|
if (value = attributes[:'details']).is_a?(Array)
|
|
99
89
|
self.details = value
|
|
@@ -105,60 +95,24 @@ module CyberSource
|
|
|
105
95
|
# @return Array for valid properties with the reasons
|
|
106
96
|
def list_invalid_properties
|
|
107
97
|
invalid_properties = Array.new
|
|
108
|
-
if @id.nil?
|
|
109
|
-
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
if @submit_time_utc.nil?
|
|
113
|
-
invalid_properties.push('invalid value for "submit_time_utc", submit_time_utc cannot be nil.')
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
if @status.nil?
|
|
117
|
-
invalid_properties.push('invalid value for "status", status cannot be nil.')
|
|
118
|
-
end
|
|
119
|
-
|
|
120
98
|
invalid_properties
|
|
121
99
|
end
|
|
122
100
|
|
|
123
101
|
# Check to see if the all the properties in the model are valid
|
|
124
102
|
# @return true if the model is valid
|
|
125
103
|
def valid?
|
|
126
|
-
return false if @id.nil?
|
|
127
|
-
return false if @submit_time_utc.nil?
|
|
128
|
-
return false if @status.nil?
|
|
129
104
|
true
|
|
130
105
|
end
|
|
131
106
|
|
|
132
|
-
# Custom attribute writer method with validation
|
|
133
|
-
# @param [Object] id Value to be assigned
|
|
134
|
-
def id=(id)
|
|
135
|
-
#if id.nil?
|
|
136
|
-
#fail ArgumentError, 'id cannot be nil'
|
|
137
|
-
#end
|
|
138
|
-
|
|
139
|
-
@id = id
|
|
140
|
-
end
|
|
141
|
-
|
|
142
|
-
# Custom attribute writer method with validation
|
|
143
|
-
# @param [Object] submit_time_utc Value to be assigned
|
|
144
|
-
def submit_time_utc=(submit_time_utc)
|
|
145
|
-
#if submit_time_utc.nil?
|
|
146
|
-
#fail ArgumentError, 'submit_time_utc cannot be nil'
|
|
147
|
-
#end
|
|
148
|
-
|
|
149
|
-
@submit_time_utc = submit_time_utc
|
|
150
|
-
end
|
|
151
|
-
|
|
152
107
|
# Checks equality by comparing each attribute.
|
|
153
108
|
# @param [Object] Object to be compared
|
|
154
109
|
def ==(o)
|
|
155
110
|
return true if self.equal?(o)
|
|
156
111
|
self.class == o.class &&
|
|
157
|
-
id == o.id &&
|
|
158
112
|
submit_time_utc == o.submit_time_utc &&
|
|
159
113
|
status == o.status &&
|
|
160
|
-
reason == o.reason &&
|
|
161
114
|
message == o.message &&
|
|
115
|
+
reason == o.reason &&
|
|
162
116
|
details == o.details
|
|
163
117
|
end
|
|
164
118
|
|
|
@@ -171,7 +125,7 @@ module CyberSource
|
|
|
171
125
|
# Calculates hash code according to all attributes.
|
|
172
126
|
# @return [Fixnum] Hash code
|
|
173
127
|
def hash
|
|
174
|
-
[
|
|
128
|
+
[submit_time_utc, status, message, reason, details].hash
|
|
175
129
|
end
|
|
176
130
|
|
|
177
131
|
# Builds the object from hash
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse40012Details
|
|
16
16
|
# This is the flattened JSON object field name/path that is either missing or invalid.
|
|
17
17
|
attr_accessor :field
|
|
18
18
|
|
|
@@ -0,0 +1,281 @@
|
|
|
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 'date'
|
|
13
|
+
|
|
14
|
+
module CyberSource
|
|
15
|
+
class InlineResponse40013
|
|
16
|
+
# Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid
|
|
17
|
+
attr_accessor :id
|
|
18
|
+
|
|
19
|
+
# Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC.
|
|
20
|
+
attr_accessor :submit_time_utc
|
|
21
|
+
|
|
22
|
+
# Message describing the status of the currency conversion request. Possible values: - INVALID_REQUEST
|
|
23
|
+
attr_accessor :status
|
|
24
|
+
|
|
25
|
+
# The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA
|
|
26
|
+
attr_accessor :reason
|
|
27
|
+
|
|
28
|
+
# Descriptive message to add more detail to the status
|
|
29
|
+
attr_accessor :message
|
|
30
|
+
|
|
31
|
+
attr_accessor :details
|
|
32
|
+
|
|
33
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
|
+
def self.attribute_map
|
|
35
|
+
{
|
|
36
|
+
:'id' => :'id',
|
|
37
|
+
:'submit_time_utc' => :'submitTimeUtc',
|
|
38
|
+
:'status' => :'status',
|
|
39
|
+
:'reason' => :'reason',
|
|
40
|
+
:'message' => :'message',
|
|
41
|
+
:'details' => :'details'
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
46
|
+
def self.json_map
|
|
47
|
+
{
|
|
48
|
+
:'id' => :'id',
|
|
49
|
+
:'submit_time_utc' => :'submit_time_utc',
|
|
50
|
+
:'status' => :'status',
|
|
51
|
+
:'reason' => :'reason',
|
|
52
|
+
:'message' => :'message',
|
|
53
|
+
:'details' => :'details'
|
|
54
|
+
}
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# Attribute type mapping.
|
|
58
|
+
def self.swagger_types
|
|
59
|
+
{
|
|
60
|
+
:'id' => :'String',
|
|
61
|
+
:'submit_time_utc' => :'String',
|
|
62
|
+
:'status' => :'String',
|
|
63
|
+
:'reason' => :'String',
|
|
64
|
+
:'message' => :'String',
|
|
65
|
+
:'details' => :'Array<PushFunds400ResponseDetails>'
|
|
66
|
+
}
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Initializes the object
|
|
70
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
71
|
+
def initialize(attributes = {})
|
|
72
|
+
return unless attributes.is_a?(Hash)
|
|
73
|
+
|
|
74
|
+
# convert string to symbol for hash key
|
|
75
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
76
|
+
|
|
77
|
+
if attributes.has_key?(:'id')
|
|
78
|
+
self.id = attributes[:'id']
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
if attributes.has_key?(:'submitTimeUtc')
|
|
82
|
+
self.submit_time_utc = attributes[:'submitTimeUtc']
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
if attributes.has_key?(:'status')
|
|
86
|
+
self.status = attributes[:'status']
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
if attributes.has_key?(:'reason')
|
|
90
|
+
self.reason = attributes[:'reason']
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
if attributes.has_key?(:'message')
|
|
94
|
+
self.message = attributes[:'message']
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
if attributes.has_key?(:'details')
|
|
98
|
+
if (value = attributes[:'details']).is_a?(Array)
|
|
99
|
+
self.details = value
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
105
|
+
# @return Array for valid properties with the reasons
|
|
106
|
+
def list_invalid_properties
|
|
107
|
+
invalid_properties = Array.new
|
|
108
|
+
if @id.nil?
|
|
109
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
if @submit_time_utc.nil?
|
|
113
|
+
invalid_properties.push('invalid value for "submit_time_utc", submit_time_utc cannot be nil.')
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
if @status.nil?
|
|
117
|
+
invalid_properties.push('invalid value for "status", status cannot be nil.')
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
invalid_properties
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Check to see if the all the properties in the model are valid
|
|
124
|
+
# @return true if the model is valid
|
|
125
|
+
def valid?
|
|
126
|
+
return false if @id.nil?
|
|
127
|
+
return false if @submit_time_utc.nil?
|
|
128
|
+
return false if @status.nil?
|
|
129
|
+
true
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# Custom attribute writer method with validation
|
|
133
|
+
# @param [Object] id Value to be assigned
|
|
134
|
+
def id=(id)
|
|
135
|
+
#if id.nil?
|
|
136
|
+
#fail ArgumentError, 'id cannot be nil'
|
|
137
|
+
#end
|
|
138
|
+
|
|
139
|
+
@id = id
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Custom attribute writer method with validation
|
|
143
|
+
# @param [Object] submit_time_utc Value to be assigned
|
|
144
|
+
def submit_time_utc=(submit_time_utc)
|
|
145
|
+
#if submit_time_utc.nil?
|
|
146
|
+
#fail ArgumentError, 'submit_time_utc cannot be nil'
|
|
147
|
+
#end
|
|
148
|
+
|
|
149
|
+
@submit_time_utc = submit_time_utc
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# Checks equality by comparing each attribute.
|
|
153
|
+
# @param [Object] Object to be compared
|
|
154
|
+
def ==(o)
|
|
155
|
+
return true if self.equal?(o)
|
|
156
|
+
self.class == o.class &&
|
|
157
|
+
id == o.id &&
|
|
158
|
+
submit_time_utc == o.submit_time_utc &&
|
|
159
|
+
status == o.status &&
|
|
160
|
+
reason == o.reason &&
|
|
161
|
+
message == o.message &&
|
|
162
|
+
details == o.details
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# @see the `==` method
|
|
166
|
+
# @param [Object] Object to be compared
|
|
167
|
+
def eql?(o)
|
|
168
|
+
self == o
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# Calculates hash code according to all attributes.
|
|
172
|
+
# @return [Fixnum] Hash code
|
|
173
|
+
def hash
|
|
174
|
+
[id, submit_time_utc, status, reason, message, details].hash
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# Builds the object from hash
|
|
178
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
179
|
+
# @return [Object] Returns the model itself
|
|
180
|
+
def build_from_hash(attributes)
|
|
181
|
+
return nil unless attributes.is_a?(Hash)
|
|
182
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
183
|
+
if type =~ /\AArray<(.*)>/i
|
|
184
|
+
# check to ensure the input is an array given that the the attribute
|
|
185
|
+
# is documented as an array but the input is not
|
|
186
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
187
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
188
|
+
end
|
|
189
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
190
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
191
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
self
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
# Deserializes the data based on type
|
|
198
|
+
# @param string type Data type
|
|
199
|
+
# @param string value Value to be deserialized
|
|
200
|
+
# @return [Object] Deserialized data
|
|
201
|
+
def _deserialize(type, value)
|
|
202
|
+
case type.to_sym
|
|
203
|
+
when :DateTime
|
|
204
|
+
DateTime.parse(value)
|
|
205
|
+
when :Date
|
|
206
|
+
Date.parse(value)
|
|
207
|
+
when :String
|
|
208
|
+
value.to_s
|
|
209
|
+
when :Integer
|
|
210
|
+
value.to_i
|
|
211
|
+
when :Float
|
|
212
|
+
value.to_f
|
|
213
|
+
when :BOOLEAN
|
|
214
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
215
|
+
true
|
|
216
|
+
else
|
|
217
|
+
false
|
|
218
|
+
end
|
|
219
|
+
when :Object
|
|
220
|
+
# generic object (usually a Hash), return directly
|
|
221
|
+
value
|
|
222
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
223
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
224
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
225
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
226
|
+
k_type = Regexp.last_match[:k_type]
|
|
227
|
+
v_type = Regexp.last_match[:v_type]
|
|
228
|
+
{}.tap do |hash|
|
|
229
|
+
value.each do |k, v|
|
|
230
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
231
|
+
end
|
|
232
|
+
end
|
|
233
|
+
else # model
|
|
234
|
+
temp_model = CyberSource.const_get(type).new
|
|
235
|
+
temp_model.build_from_hash(value)
|
|
236
|
+
end
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# Returns the string representation of the object
|
|
240
|
+
# @return [String] String presentation of the object
|
|
241
|
+
def to_s
|
|
242
|
+
to_hash.to_s
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
246
|
+
# @return [Hash] Returns the object in the form of hash
|
|
247
|
+
def to_body
|
|
248
|
+
to_hash
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# Returns the object in the form of hash
|
|
252
|
+
# @return [Hash] Returns the object in the form of hash
|
|
253
|
+
def to_hash
|
|
254
|
+
hash = {}
|
|
255
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
256
|
+
value = self.send(attr)
|
|
257
|
+
next if value.nil?
|
|
258
|
+
hash[param] = _to_hash(value)
|
|
259
|
+
end
|
|
260
|
+
hash
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
# Outputs non-array value in the form of hash
|
|
264
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
265
|
+
# @param [Object] value Any valid value
|
|
266
|
+
# @return [Hash] Returns the value in the form of hash
|
|
267
|
+
def _to_hash(value)
|
|
268
|
+
if value.is_a?(Array)
|
|
269
|
+
value.compact.map { |v| _to_hash(v) }
|
|
270
|
+
elsif value.is_a?(Hash)
|
|
271
|
+
{}.tap do |hash|
|
|
272
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
273
|
+
end
|
|
274
|
+
elsif value.respond_to? :to_hash
|
|
275
|
+
value.to_hash
|
|
276
|
+
else
|
|
277
|
+
value
|
|
278
|
+
end
|
|
279
|
+
end
|
|
280
|
+
end
|
|
281
|
+
end
|