cybersource_rest_client 0.0.82 → 0.0.84
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/authentication/jwt/JwtToken.rb +98 -42
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +85 -44
- data/lib/AuthenticationSDK/logging/log_configuration.rb +2 -1
- data/lib/AuthenticationSDK/util/AuthJWEUtility.rb +1 -0
- data/lib/AuthenticationSDK/util/Cache.rb +7 -4
- data/lib/AuthenticationSDK/util/Constants.rb +8 -0
- data/lib/AuthenticationSDK/util/MLEUtility.rb +9 -0
- data/lib/cybersource_rest_client/api/batches_api.rb +1 -1
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +14 -22
- data/lib/cybersource_rest_client/api/credentials_api.rb +104 -0
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
- data/lib/cybersource_rest_client/api/enrollment_api.rb +2 -2
- data/lib/cybersource_rest_client/api/instructions_api.rb +10 -10
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +3 -3
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +20 -28
- data/lib/cybersource_rest_client/api/network_tokens_api.rb +654 -0
- data/lib/cybersource_rest_client/api/offers_api.rb +117 -0
- data/lib/cybersource_rest_client/api/plans_api.rb +1 -1
- data/lib/cybersource_rest_client/api/pull_funds_api.rb +404 -0
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +183 -1
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +1 -1
- data/lib/cybersource_rest_client/api/{transient_token_data_api.rb → transient_token_data_v2_api.rb} +91 -9
- data/lib/cybersource_rest_client/api/unified_checkout_v1_capture_context_api.rb +104 -0
- data/lib/cybersource_rest_client/api_client.rb +4 -0
- data/lib/cybersource_rest_client/models/account_validations_request.rb +15 -5
- data/lib/cybersource_rest_client/models/acpv1instructions_decline_threshold.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1instructions_mandates.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1instructions_recurring_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1mppcredentials_challenge.rb +369 -0
- data/lib/cybersource_rest_client/models/acpv1mppcredentials_challenge_encryption_jwk.rb +336 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_assurance_data.rb +7 -7
- data/lib/cybersource_rest_client/models/acpv1tokens_authenticated_identities.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_authentication_context.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_consumer_identity.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_enrollment_reference_data.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/add_negative_list_request.rb +1 -1
- data/lib/cybersource_rest_client/models/auth_reversal_request.rb +11 -1
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information.rb +32 -6
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_customer.rb +196 -0
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_instrument_identifier.rb +196 -0
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_payment_instrument.rb +196 -0
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_token_information.rb +208 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information.rb +15 -5
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_msd.rb +196 -0
- data/lib/cybersource_rest_client/models/card_processing_config_common_processors.rb +105 -1
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/commerce_solutions_products.rb +15 -5
- data/lib/cybersource_rest_client/models/create_credit_request.rb +15 -5
- data/lib/cybersource_rest_client/models/create_subscription_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_subscription_request_1.rb +1 -1
- data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +1 -1
- data/lib/cybersource_rest_client/models/generate_unified_checkout_v1_capture_context_request.rb +334 -0
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_amount_details.rb +240 -0
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_amount_details_surcharge.rb +213 -0
- data/lib/cybersource_rest_client/models/get_subscriptions_payments_response.rb +247 -0
- data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_1.rb +224 -0
- data/lib/cybersource_rest_client/models/{pbl_payment_links_post201_response__links.rb → get_subscriptions_payments_response_1__links.rb} +1 -1
- data/lib/cybersource_rest_client/models/get_subscriptions_payments_response__links.rb +209 -0
- data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_cycles_completed_count.rb +191 -0
- data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_subscription_payment.rb +356 -0
- data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_5_integration_information.rb +15 -5
- data/lib/cybersource_rest_client/models/inline_response_201_1_tokenized_card.rb +27 -6
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_commerce_solutions.rb +15 -5
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_payments.rb +25 -5
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_risk.rb +15 -5
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_value_added_services.rb +25 -5
- data/lib/cybersource_rest_client/models/inline_response_201_9.rb +297 -0
- data/lib/cybersource_rest_client/models/{kmsegressv2keysasym_client_reference_information.rb → inline_response_201_9_client_reference_information.rb} +2 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_16_error_information.rb → inline_response_201_9_error_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_16_order_information.rb → inline_response_201_9_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_16_order_information_currency_conversion.rb → inline_response_201_9_order_information_currency_conversion.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_16_order_information_currency_conversion_offer.rb → inline_response_201_9_order_information_currency_conversion_offer.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_9_processor_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_400_10.rb +236 -0
- data/lib/cybersource_rest_client/models/{inline_response_400_8_details.rb → inline_response_400_10_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_11.rb +235 -0
- data/lib/cybersource_rest_client/models/{inline_response_400_7_details.rb → inline_response_400_11_details.rb} +3 -3
- data/lib/cybersource_rest_client/models/inline_response_400_12.rb +281 -0
- data/lib/cybersource_rest_client/models/inline_response_400_6.rb +37 -60
- data/lib/cybersource_rest_client/models/inline_response_400_7.rb +6 -6
- data/lib/cybersource_rest_client/models/inline_response_400_8.rb +58 -36
- data/lib/cybersource_rest_client/models/{inline_response_400_6_fields.rb → inline_response_400_8_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_9.rb +16 -16
- data/lib/cybersource_rest_client/models/inline_response_400_9_details.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_404.rb +10 -20
- data/lib/cybersource_rest_client/models/inline_response_404_1.rb +7 -42
- data/lib/cybersource_rest_client/models/inline_response_404_2.rb +8 -7
- data/lib/cybersource_rest_client/models/{inline_response_404_1_details.rb → inline_response_404_2_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_404_3.rb +26 -2
- data/lib/cybersource_rest_client/models/inline_response_404_4.rb +17 -29
- data/lib/cybersource_rest_client/models/{inline_response_404_3_details.rb → inline_response_404_4_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_404_5.rb +28 -28
- data/lib/cybersource_rest_client/models/inline_response_404_6.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_404_errors.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_500_4.rb → inline_response_502_2.rb} +1 -1
- data/lib/cybersource_rest_client/models/iplv2paymentlinks_order_information_line_items.rb +73 -5
- data/lib/cybersource_rest_client/models/mit_reversal_request.rb +11 -1
- data/lib/cybersource_rest_client/models/mpp_credentials_request.rb +221 -0
- data/lib/cybersource_rest_client/models/mpp_credentials_response200.rb +338 -0
- data/lib/cybersource_rest_client/models/offer_request.rb +219 -0
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +1 -1
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +1 -1
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +1 -1
- data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_instrument_list_1__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded__embedded.rb → payment_instrument_list__embedded__embedded.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded_payment_instruments.rb → payment_instrument_list__embedded_payment_instruments.rb} +2 -2
- data/lib/cybersource_rest_client/models/payments_products.rb +25 -5
- data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information_configurations_processors.rb +14 -2
- data/lib/cybersource_rest_client/models/payments_products_microform.rb +199 -0
- data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information.rb +199 -0
- data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations.rb +189 -0
- data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations_features.rb +189 -0
- data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations_features_gateway_agnostic.rb +189 -0
- data/lib/cybersource_rest_client/models/payments_products_microform_subscription_information.rb +227 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_info_features_portfolio_accessof_sensi_data.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features.rb +205 -5
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_after_pay.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_apple_pay.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_bancontact.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_click_to_pay.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_decision_manager.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_dragon_pay.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_e_check.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_google_pay.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_ideal.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_konbini.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_multibanco.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_my_bank.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_p24.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_pay_pal.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_payer_authentication.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_tink_pay_by_bank.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_token_management.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_unified_click_to_pay_sdk.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_venmo.rb +190 -0
- data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_customer_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_tokenized_card_request.rb +15 -5
- data/lib/cybersource_rest_client/models/pts_v2_create_billing_agreement_post201_response_agreement_information.rb +80 -1
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +55 -5
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_merchant_information.rb +196 -0
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_account_information.rb +189 -0
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information.rb +15 -5
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information_account_features.rb +196 -0
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_token_information.rb +189 -0
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_modify_billing_agreement_post201_response_agreement_information.rb +35 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_order_information_shipping_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +106 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information.rb +15 -5
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_payment_information_tokenized_card.rb → pts_v2_payments_post201_response_payment_account_information_tokenized_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +18 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +23 -6
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information.rb +15 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_third_party_token.rb +213 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +16 -6
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_error_information.rb +213 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information_amount_details.rb +18 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +19 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +7 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +45 -5
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_avs.rb +196 -0
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_customer.rb +196 -0
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_electronic_verification_results.rb +281 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_aggregator_information.rb +317 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_aggregator_information_sub_merchant.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_buyer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_client_reference_information.rb +247 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_merchant_information.rb +189 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_merchant_information_merchant_descriptor.rb +349 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_order_information.rb +206 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_order_information_amount_details.rb +275 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_info_funding_options_initiator_origin_ini_transaction.rb +222 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information.rb +308 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information_funding_options.rb +189 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information_funding_options_initiator.rb +228 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information_payouts_options.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information_recurring_options.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_recipient_information.rb +607 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_recipient_information_personal_identification.rb +265 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information.rb +595 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_account.rb +213 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_consumer_authentication.rb +206 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_consumer_authentication_strong_authentication.rb +264 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information.rb +255 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_card.rb +291 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_customer.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_instrument_identifier.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_payment_instrument.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_tokenized_card.rb +281 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_personal_identification.rb +274 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransferidrefund_order_information.rb +194 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransferidrefund_order_information_amount_details.rb +205 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransferidreversal_reversal_information.rb +194 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransferidreversal_reversal_information_amount_details.rb +205 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +15 -14
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +298 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information.rb +219 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information_card.rb +264 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information_customer.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information_instrument_identifier.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information_payment_instrument.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +36 -6
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_payouts_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +1 -19
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_agreement_information.rb +84 -5
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information.rb +12 -2
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_amount_details.rb +230 -0
- data/lib/cybersource_rest_client/models/{ptsv2intents_order_information_invoice_details.rb → ptsv2billingagreements_order_information_invoice_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_bank.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_bank_account_alias.rb +207 -0
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_processing_information.rb +18 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_agreement_information.rb +56 -5
- data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_processing_information.rb +18 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +52 -5
- data/lib/cybersource_rest_client/models/ptsv2credits_sender_information.rb +18 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_token_information.rb +228 -0
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2intentsid_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +16 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +28 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_digital_currency.rb +231 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +23 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +32 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account_alias.rb +207 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_third_party_token.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +18 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +89 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_program_indicators.rb +202 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +56 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +16 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +16 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +32 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information_token_authentication_information.rb +193 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information_token_authentication_information_authenticated_identities.rb +252 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +100 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +18 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processor_information.rb +39 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_shipping_details.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +32 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_device_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_payment_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +18 -5
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +1 -1
- data/lib/cybersource_rest_client/models/pull_funds201_response.rb +270 -0
- data/lib/cybersource_rest_client/models/pull_funds201_response__links.rb +239 -0
- data/lib/cybersource_rest_client/models/pull_funds201_response__links_customer.rb +202 -0
- data/lib/cybersource_rest_client/models/pull_funds201_response__links_instrument_identifier.rb +202 -0
- data/lib/cybersource_rest_client/models/pull_funds201_response__links_payment_instrument.rb +202 -0
- data/lib/cybersource_rest_client/models/pull_funds201_response__links_refund.rb +202 -0
- data/lib/cybersource_rest_client/models/pull_funds201_response__links_reversal.rb +202 -0
- data/lib/cybersource_rest_client/models/pull_funds201_response__links_self.rb +202 -0
- data/lib/cybersource_rest_client/models/pull_funds201_response_error_information.rb +225 -0
- data/lib/cybersource_rest_client/models/pull_funds201_response_error_information_details.rb +213 -0
- data/lib/cybersource_rest_client/models/pull_funds201_response_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/pull_funds201_response_order_information_amount_details.rb +222 -0
- data/lib/cybersource_rest_client/models/pull_funds201_response_processor_information.rb +331 -0
- data/lib/cybersource_rest_client/models/pull_funds201_response_processor_information_consumer_authentication_response.rb +196 -0
- data/lib/cybersource_rest_client/models/pull_funds_refund201_response.rb +260 -0
- data/lib/cybersource_rest_client/models/pull_funds_refund201_response__links.rb +189 -0
- data/lib/cybersource_rest_client/models/pull_funds_refund201_response__links_self.rb +202 -0
- data/lib/cybersource_rest_client/models/pull_funds_refund201_response_processor_information.rb +213 -0
- data/lib/cybersource_rest_client/models/pull_funds_refund_request.rb +204 -0
- data/lib/cybersource_rest_client/models/pull_funds_request.rb +259 -0
- data/lib/cybersource_rest_client/models/pull_funds_reversal201_response.rb +260 -0
- data/lib/cybersource_rest_client/models/pull_funds_reversal201_response__links.rb +189 -0
- data/lib/cybersource_rest_client/models/pull_funds_reversal201_response__links_self.rb +202 -0
- data/lib/cybersource_rest_client/models/pull_funds_reversal201_response_error_information.rb +219 -0
- data/lib/cybersource_rest_client/models/pull_funds_reversal201_response_error_information_details.rb +207 -0
- data/lib/cybersource_rest_client/models/pull_funds_reversal201_response_processor_information.rb +247 -0
- data/lib/cybersource_rest_client/models/pull_funds_reversal400_response.rb +258 -0
- data/lib/cybersource_rest_client/models/pull_funds_reversal_request.rb +204 -0
- data/lib/cybersource_rest_client/models/push_funds201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +55 -5
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information_merchant_advice.rb +213 -0
- data/lib/cybersource_rest_client/models/push_funds_request.rb +11 -1
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_order_information_amount_details.rb +15 -5
- data/lib/cybersource_rest_client/models/risk_products.rb +15 -5
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +1 -10
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +39 -5
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/save_asym_egress_key.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_features.rb +39 -6
- data/lib/cybersource_rest_client/models/tms_card_art.rb +23 -1
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bill_to.rb +22 -5
- data/lib/cybersource_rest_client/models/tms_tokenized_card_delete_request.rb +189 -0
- data/lib/cybersource_rest_client/models/tmsv1paymentinstruments__embedded.rb +190 -0
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card.rb +23 -2
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata.rb +16 -5
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer.rb +41 -8
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer_bank_applications.rb +201 -0
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer_capabilities.rb +257 -0
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_verification_results.rb +202 -0
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded.rb +200 -0
- data/lib/cybersource_rest_client/models/tmsv2tokenize_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{tmsv3tokenstoken_idpaymentcredentials_order_information_bill_to.rb → tmsv2tokenizedcards_bill_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_iddelete_reason.rb +208 -0
- data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_appearance.rb +207 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_appearance_variables.rb +1645 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_capture_mandate.rb +296 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_capture_mandate_cpf.rb +190 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +229 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate_tms.rb +204 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +311 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +325 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information_sub_merchant.rb +366 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_buyer_information.rb +259 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_buyer_information_personal_identification.rb +224 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +247 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_device_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_installment_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_defined_information.rb +214 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information.rb +206 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information_merchant_descriptor.rb +332 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information.rb +241 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_amount_details.rb +353 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_amount_details_tax_details.rb +213 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_bill_to.rb +483 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_bill_to_company.rb +298 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_invoice_details.rb +242 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_invoice_details_transaction_advice_addendum.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_line_items.rb +702 -0
- data/lib/cybersource_rest_client/models/{riskv1liststypeentries_client_reference_information.rb → ucv1sessions_data_order_information_shipping_details.rb} +24 -43
- data/lib/cybersource_rest_client/models/ucv1sessions_data_payment_information.rb +189 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_payment_information_card.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information.rb +294 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_authorization_options.rb +233 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_authorization_options_initiator.rb +200 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_bank_transfer_options.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_recurring_options.rb +192 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_recipient_information.rb +383 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_sender_information.rb +376 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_sender_information_account.rb +213 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations.rb +210 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_clicktopay.rb +190 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_googlepay.rb +192 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token.rb +216 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token_customer.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token_instrument_identifiers.rb +195 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token_payment_instruments.rb +195 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_transient_token_response_options.rb +190 -0
- data/lib/cybersource_rest_client/models/update_payments.rb +192 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_bill_to_company.rb +20 -20
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to.rb +483 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to_company.rb +366 -0
- data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +1 -1
- data/lib/cybersource_rest_client/models/validate_request.rb +1 -1
- data/lib/cybersource_rest_client/models/value_added_services_products.rb +25 -5
- data/lib/cybersource_rest_client/models/{riskv1authenticationsetups_client_reference_information.rb → vasv1currencyconversion_client_reference_information.rb} +43 -26
- data/lib/cybersource_rest_client/models/vasv1currencyconversion_client_reference_information_partner.rb +213 -0
- data/lib/cybersource_rest_client/models/vasv1currencyconversion_order_information.rb +199 -0
- data/lib/cybersource_rest_client/models/vasv1currencyconversion_order_information_amount_details.rb +213 -0
- data/lib/cybersource_rest_client/models/vasv1currencyconversion_order_information_currency_conversion.rb +198 -0
- data/lib/cybersource_rest_client/models/vasv1currencyconversion_payment_information.rb +189 -0
- data/lib/cybersource_rest_client/models/vasv1currencyconversion_payment_information_card.rb +196 -0
- data/lib/cybersource_rest_client/models/vasv1currencyconversion_point_of_sale_information.rb +213 -0
- data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +1 -1
- data/lib/cybersource_rest_client.rb +222 -22
- metadata +281 -75
- data/lib/cybersource_rest_client/api/token_api.rb +0 -306
- data/lib/cybersource_rest_client/api/tokenized_card_api.rb +0 -371
|
@@ -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 InlineResponse40012
|
|
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
|
|
@@ -12,59 +12,51 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
# Error Bean
|
|
16
15
|
class InlineResponse4006
|
|
17
|
-
#
|
|
18
|
-
attr_accessor :
|
|
16
|
+
# Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
|
|
17
|
+
attr_accessor :submit_time_utc
|
|
19
18
|
|
|
20
|
-
#
|
|
21
|
-
attr_accessor :
|
|
22
|
-
|
|
23
|
-
# Localization Key Name
|
|
24
|
-
attr_accessor :localization_key
|
|
19
|
+
# The status of the submitted transaction. Possible values: - INVALID_REQUEST
|
|
20
|
+
attr_accessor :status
|
|
25
21
|
|
|
26
|
-
#
|
|
27
|
-
attr_accessor :
|
|
22
|
+
# The reason of the status. Possible values: - INVALID_DATA - INVALID_MERCHANT_CONFIGURATION
|
|
23
|
+
attr_accessor :reason
|
|
28
24
|
|
|
29
|
-
#
|
|
30
|
-
attr_accessor :
|
|
25
|
+
# The detail message related to the status and reason listed above.
|
|
26
|
+
attr_accessor :message
|
|
31
27
|
|
|
32
|
-
|
|
33
|
-
attr_accessor :fields
|
|
28
|
+
attr_accessor :details
|
|
34
29
|
|
|
35
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
36
31
|
def self.attribute_map
|
|
37
32
|
{
|
|
38
|
-
:'
|
|
33
|
+
:'submit_time_utc' => :'submitTimeUtc',
|
|
34
|
+
:'status' => :'status',
|
|
35
|
+
:'reason' => :'reason',
|
|
39
36
|
:'message' => :'message',
|
|
40
|
-
:'
|
|
41
|
-
:'correlation_id' => :'correlationId',
|
|
42
|
-
:'detail' => :'detail',
|
|
43
|
-
:'fields' => :'fields'
|
|
37
|
+
:'details' => :'details'
|
|
44
38
|
}
|
|
45
39
|
end
|
|
46
40
|
|
|
47
41
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
48
42
|
def self.json_map
|
|
49
43
|
{
|
|
50
|
-
:'
|
|
44
|
+
:'submit_time_utc' => :'submit_time_utc',
|
|
45
|
+
:'status' => :'status',
|
|
46
|
+
:'reason' => :'reason',
|
|
51
47
|
:'message' => :'message',
|
|
52
|
-
:'
|
|
53
|
-
:'correlation_id' => :'correlation_id',
|
|
54
|
-
:'detail' => :'detail',
|
|
55
|
-
:'fields' => :'fields'
|
|
48
|
+
:'details' => :'details'
|
|
56
49
|
}
|
|
57
50
|
end
|
|
58
51
|
|
|
59
52
|
# Attribute type mapping.
|
|
60
53
|
def self.swagger_types
|
|
61
54
|
{
|
|
62
|
-
:'
|
|
55
|
+
:'submit_time_utc' => :'String',
|
|
56
|
+
:'status' => :'String',
|
|
57
|
+
:'reason' => :'String',
|
|
63
58
|
:'message' => :'String',
|
|
64
|
-
:'
|
|
65
|
-
:'correlation_id' => :'String',
|
|
66
|
-
:'detail' => :'String',
|
|
67
|
-
:'fields' => :'Array<InlineResponse4006Fields>'
|
|
59
|
+
:'details' => :'Array<PtsV2PaymentsPost201ResponseErrorInformationDetails>'
|
|
68
60
|
}
|
|
69
61
|
end
|
|
70
62
|
|
|
@@ -76,29 +68,25 @@ module CyberSource
|
|
|
76
68
|
# convert string to symbol for hash key
|
|
77
69
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
78
70
|
|
|
79
|
-
if attributes.has_key?(:'
|
|
80
|
-
self.
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
if attributes.has_key?(:'message')
|
|
84
|
-
self.message = attributes[:'message']
|
|
71
|
+
if attributes.has_key?(:'submitTimeUtc')
|
|
72
|
+
self.submit_time_utc = attributes[:'submitTimeUtc']
|
|
85
73
|
end
|
|
86
74
|
|
|
87
|
-
if attributes.has_key?(:'
|
|
88
|
-
self.
|
|
75
|
+
if attributes.has_key?(:'status')
|
|
76
|
+
self.status = attributes[:'status']
|
|
89
77
|
end
|
|
90
78
|
|
|
91
|
-
if attributes.has_key?(:'
|
|
92
|
-
self.
|
|
79
|
+
if attributes.has_key?(:'reason')
|
|
80
|
+
self.reason = attributes[:'reason']
|
|
93
81
|
end
|
|
94
82
|
|
|
95
|
-
if attributes.has_key?(:'
|
|
96
|
-
self.
|
|
83
|
+
if attributes.has_key?(:'message')
|
|
84
|
+
self.message = attributes[:'message']
|
|
97
85
|
end
|
|
98
86
|
|
|
99
|
-
if attributes.has_key?(:'
|
|
100
|
-
if (value = attributes[:'
|
|
101
|
-
self.
|
|
87
|
+
if attributes.has_key?(:'details')
|
|
88
|
+
if (value = attributes[:'details']).is_a?(Array)
|
|
89
|
+
self.details = value
|
|
102
90
|
end
|
|
103
91
|
end
|
|
104
92
|
end
|
|
@@ -107,22 +95,12 @@ module CyberSource
|
|
|
107
95
|
# @return Array for valid properties with the reasons
|
|
108
96
|
def list_invalid_properties
|
|
109
97
|
invalid_properties = Array.new
|
|
110
|
-
if @code.nil?
|
|
111
|
-
invalid_properties.push('invalid value for "code", code cannot be nil.')
|
|
112
|
-
end
|
|
113
|
-
|
|
114
|
-
if @message.nil?
|
|
115
|
-
invalid_properties.push('invalid value for "message", message cannot be nil.')
|
|
116
|
-
end
|
|
117
|
-
|
|
118
98
|
invalid_properties
|
|
119
99
|
end
|
|
120
100
|
|
|
121
101
|
# Check to see if the all the properties in the model are valid
|
|
122
102
|
# @return true if the model is valid
|
|
123
103
|
def valid?
|
|
124
|
-
return false if @code.nil?
|
|
125
|
-
return false if @message.nil?
|
|
126
104
|
true
|
|
127
105
|
end
|
|
128
106
|
|
|
@@ -131,12 +109,11 @@ module CyberSource
|
|
|
131
109
|
def ==(o)
|
|
132
110
|
return true if self.equal?(o)
|
|
133
111
|
self.class == o.class &&
|
|
134
|
-
|
|
112
|
+
submit_time_utc == o.submit_time_utc &&
|
|
113
|
+
status == o.status &&
|
|
114
|
+
reason == o.reason &&
|
|
135
115
|
message == o.message &&
|
|
136
|
-
|
|
137
|
-
correlation_id == o.correlation_id &&
|
|
138
|
-
detail == o.detail &&
|
|
139
|
-
fields == o.fields
|
|
116
|
+
details == o.details
|
|
140
117
|
end
|
|
141
118
|
|
|
142
119
|
# @see the `==` method
|
|
@@ -148,7 +125,7 @@ module CyberSource
|
|
|
148
125
|
# Calculates hash code according to all attributes.
|
|
149
126
|
# @return [Fixnum] Hash code
|
|
150
127
|
def hash
|
|
151
|
-
[
|
|
128
|
+
[submit_time_utc, status, reason, message, details].hash
|
|
152
129
|
end
|
|
153
130
|
|
|
154
131
|
# Builds the object from hash
|
|
@@ -13,16 +13,16 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse4007
|
|
16
|
-
# Time of request in UTC.
|
|
16
|
+
# Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
|
|
17
17
|
attr_accessor :submit_time_utc
|
|
18
18
|
|
|
19
|
-
# The
|
|
19
|
+
# The status of the submitted transaction. Possible values: - INVALID_REQUEST
|
|
20
20
|
attr_accessor :status
|
|
21
21
|
|
|
22
|
-
#
|
|
22
|
+
# The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - INVALID_MERCHANT_CONFIGURATION
|
|
23
23
|
attr_accessor :reason
|
|
24
24
|
|
|
25
|
-
#
|
|
25
|
+
# The detail message related to the status and reason listed above.
|
|
26
26
|
attr_accessor :message
|
|
27
27
|
|
|
28
28
|
attr_accessor :details
|
|
@@ -52,11 +52,11 @@ module CyberSource
|
|
|
52
52
|
# Attribute type mapping.
|
|
53
53
|
def self.swagger_types
|
|
54
54
|
{
|
|
55
|
-
:'submit_time_utc' => :'
|
|
55
|
+
:'submit_time_utc' => :'String',
|
|
56
56
|
:'status' => :'String',
|
|
57
57
|
:'reason' => :'String',
|
|
58
58
|
:'message' => :'String',
|
|
59
|
-
:'details' => :'Array<
|
|
59
|
+
:'details' => :'Array<PtsV2PaymentsPost201ResponseErrorInformationDetails>'
|
|
60
60
|
}
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -12,52 +12,59 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
+
# Error Bean
|
|
15
16
|
class InlineResponse4008
|
|
16
|
-
#
|
|
17
|
-
attr_accessor :
|
|
17
|
+
# Error code
|
|
18
|
+
attr_accessor :code
|
|
18
19
|
|
|
19
|
-
#
|
|
20
|
+
# Error message
|
|
20
21
|
attr_accessor :message
|
|
21
22
|
|
|
22
|
-
#
|
|
23
|
-
attr_accessor :
|
|
23
|
+
# Localization Key Name
|
|
24
|
+
attr_accessor :localization_key
|
|
25
|
+
|
|
26
|
+
# Correlation Id
|
|
27
|
+
attr_accessor :correlation_id
|
|
24
28
|
|
|
25
|
-
#
|
|
26
|
-
attr_accessor :
|
|
29
|
+
# Error Detail
|
|
30
|
+
attr_accessor :detail
|
|
27
31
|
|
|
28
|
-
#
|
|
29
|
-
attr_accessor :
|
|
32
|
+
# Error fields List
|
|
33
|
+
attr_accessor :fields
|
|
30
34
|
|
|
31
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
36
|
def self.attribute_map
|
|
33
37
|
{
|
|
34
|
-
:'status' => :'status',
|
|
35
|
-
:'message' => :'message',
|
|
36
38
|
:'code' => :'code',
|
|
37
|
-
:'
|
|
38
|
-
:'
|
|
39
|
+
:'message' => :'message',
|
|
40
|
+
:'localization_key' => :'localizationKey',
|
|
41
|
+
:'correlation_id' => :'correlationId',
|
|
42
|
+
:'detail' => :'detail',
|
|
43
|
+
:'fields' => :'fields'
|
|
39
44
|
}
|
|
40
45
|
end
|
|
41
46
|
|
|
42
47
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
43
48
|
def self.json_map
|
|
44
49
|
{
|
|
45
|
-
:'status' => :'status',
|
|
46
|
-
:'message' => :'message',
|
|
47
50
|
:'code' => :'code',
|
|
48
|
-
:'
|
|
49
|
-
:'
|
|
51
|
+
:'message' => :'message',
|
|
52
|
+
:'localization_key' => :'localization_key',
|
|
53
|
+
:'correlation_id' => :'correlation_id',
|
|
54
|
+
:'detail' => :'detail',
|
|
55
|
+
:'fields' => :'fields'
|
|
50
56
|
}
|
|
51
57
|
end
|
|
52
58
|
|
|
53
59
|
# Attribute type mapping.
|
|
54
60
|
def self.swagger_types
|
|
55
61
|
{
|
|
56
|
-
:'status' => :'String',
|
|
57
|
-
:'message' => :'String',
|
|
58
62
|
:'code' => :'String',
|
|
59
|
-
:'
|
|
60
|
-
:'
|
|
63
|
+
:'message' => :'String',
|
|
64
|
+
:'localization_key' => :'String',
|
|
65
|
+
:'correlation_id' => :'String',
|
|
66
|
+
:'detail' => :'String',
|
|
67
|
+
:'fields' => :'Array<InlineResponse4008Fields>'
|
|
61
68
|
}
|
|
62
69
|
end
|
|
63
70
|
|
|
@@ -69,26 +76,30 @@ module CyberSource
|
|
|
69
76
|
# convert string to symbol for hash key
|
|
70
77
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
71
78
|
|
|
72
|
-
if attributes.has_key?(:'
|
|
73
|
-
self.
|
|
79
|
+
if attributes.has_key?(:'code')
|
|
80
|
+
self.code = attributes[:'code']
|
|
74
81
|
end
|
|
75
82
|
|
|
76
83
|
if attributes.has_key?(:'message')
|
|
77
84
|
self.message = attributes[:'message']
|
|
78
85
|
end
|
|
79
86
|
|
|
80
|
-
if attributes.has_key?(:'
|
|
81
|
-
self.
|
|
87
|
+
if attributes.has_key?(:'localizationKey')
|
|
88
|
+
self.localization_key = attributes[:'localizationKey']
|
|
82
89
|
end
|
|
83
90
|
|
|
84
|
-
if attributes.has_key?(:'
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
91
|
+
if attributes.has_key?(:'correlationId')
|
|
92
|
+
self.correlation_id = attributes[:'correlationId']
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
if attributes.has_key?(:'detail')
|
|
96
|
+
self.detail = attributes[:'detail']
|
|
88
97
|
end
|
|
89
98
|
|
|
90
|
-
if attributes.has_key?(:'
|
|
91
|
-
|
|
99
|
+
if attributes.has_key?(:'fields')
|
|
100
|
+
if (value = attributes[:'fields']).is_a?(Array)
|
|
101
|
+
self.fields = value
|
|
102
|
+
end
|
|
92
103
|
end
|
|
93
104
|
end
|
|
94
105
|
|
|
@@ -96,12 +107,22 @@ module CyberSource
|
|
|
96
107
|
# @return Array for valid properties with the reasons
|
|
97
108
|
def list_invalid_properties
|
|
98
109
|
invalid_properties = Array.new
|
|
110
|
+
if @code.nil?
|
|
111
|
+
invalid_properties.push('invalid value for "code", code cannot be nil.')
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
if @message.nil?
|
|
115
|
+
invalid_properties.push('invalid value for "message", message cannot be nil.')
|
|
116
|
+
end
|
|
117
|
+
|
|
99
118
|
invalid_properties
|
|
100
119
|
end
|
|
101
120
|
|
|
102
121
|
# Check to see if the all the properties in the model are valid
|
|
103
122
|
# @return true if the model is valid
|
|
104
123
|
def valid?
|
|
124
|
+
return false if @code.nil?
|
|
125
|
+
return false if @message.nil?
|
|
105
126
|
true
|
|
106
127
|
end
|
|
107
128
|
|
|
@@ -110,11 +131,12 @@ module CyberSource
|
|
|
110
131
|
def ==(o)
|
|
111
132
|
return true if self.equal?(o)
|
|
112
133
|
self.class == o.class &&
|
|
113
|
-
status == o.status &&
|
|
114
|
-
message == o.message &&
|
|
115
134
|
code == o.code &&
|
|
116
|
-
|
|
117
|
-
|
|
135
|
+
message == o.message &&
|
|
136
|
+
localization_key == o.localization_key &&
|
|
137
|
+
correlation_id == o.correlation_id &&
|
|
138
|
+
detail == o.detail &&
|
|
139
|
+
fields == o.fields
|
|
118
140
|
end
|
|
119
141
|
|
|
120
142
|
# @see the `==` method
|
|
@@ -126,7 +148,7 @@ module CyberSource
|
|
|
126
148
|
# Calculates hash code according to all attributes.
|
|
127
149
|
# @return [Fixnum] Hash code
|
|
128
150
|
def hash
|
|
129
|
-
[
|
|
151
|
+
[code, message, localization_key, correlation_id, detail, fields].hash
|
|
130
152
|
end
|
|
131
153
|
|
|
132
154
|
# Builds the object from hash
|