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
data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_msd.rb
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
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 Boardingv1registrationsIntegrationInformationMsd
|
|
16
|
+
# The customerId is an external customer Identifier given by MSD (MS Dynamics).
|
|
17
|
+
attr_accessor :customer_id
|
|
18
|
+
|
|
19
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
|
+
def self.attribute_map
|
|
21
|
+
{
|
|
22
|
+
:'customer_id' => :'customerId'
|
|
23
|
+
}
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
27
|
+
def self.json_map
|
|
28
|
+
{
|
|
29
|
+
:'customer_id' => :'customer_id'
|
|
30
|
+
}
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Attribute type mapping.
|
|
34
|
+
def self.swagger_types
|
|
35
|
+
{
|
|
36
|
+
:'customer_id' => :'String'
|
|
37
|
+
}
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# Initializes the object
|
|
41
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
42
|
+
def initialize(attributes = {})
|
|
43
|
+
return unless attributes.is_a?(Hash)
|
|
44
|
+
|
|
45
|
+
# convert string to symbol for hash key
|
|
46
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
47
|
+
|
|
48
|
+
if attributes.has_key?(:'customerId')
|
|
49
|
+
self.customer_id = attributes[:'customerId']
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
54
|
+
# @return Array for valid properties with the reasons
|
|
55
|
+
def list_invalid_properties
|
|
56
|
+
invalid_properties = Array.new
|
|
57
|
+
invalid_properties
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Check to see if the all the properties in the model are valid
|
|
61
|
+
# @return true if the model is valid
|
|
62
|
+
def valid?
|
|
63
|
+
true
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Custom attribute writer method with validation
|
|
67
|
+
# @param [Object] customer_id Value to be assigned
|
|
68
|
+
def customer_id=(customer_id)
|
|
69
|
+
@customer_id = customer_id
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# Checks equality by comparing each attribute.
|
|
73
|
+
# @param [Object] Object to be compared
|
|
74
|
+
def ==(o)
|
|
75
|
+
return true if self.equal?(o)
|
|
76
|
+
self.class == o.class &&
|
|
77
|
+
customer_id == o.customer_id
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# @see the `==` method
|
|
81
|
+
# @param [Object] Object to be compared
|
|
82
|
+
def eql?(o)
|
|
83
|
+
self == o
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Calculates hash code according to all attributes.
|
|
87
|
+
# @return [Fixnum] Hash code
|
|
88
|
+
def hash
|
|
89
|
+
[customer_id].hash
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Builds the object from hash
|
|
93
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
94
|
+
# @return [Object] Returns the model itself
|
|
95
|
+
def build_from_hash(attributes)
|
|
96
|
+
return nil unless attributes.is_a?(Hash)
|
|
97
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
98
|
+
if type =~ /\AArray<(.*)>/i
|
|
99
|
+
# check to ensure the input is an array given that the the attribute
|
|
100
|
+
# is documented as an array but the input is not
|
|
101
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
102
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
103
|
+
end
|
|
104
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
105
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
106
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
self
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Deserializes the data based on type
|
|
113
|
+
# @param string type Data type
|
|
114
|
+
# @param string value Value to be deserialized
|
|
115
|
+
# @return [Object] Deserialized data
|
|
116
|
+
def _deserialize(type, value)
|
|
117
|
+
case type.to_sym
|
|
118
|
+
when :DateTime
|
|
119
|
+
DateTime.parse(value)
|
|
120
|
+
when :Date
|
|
121
|
+
Date.parse(value)
|
|
122
|
+
when :String
|
|
123
|
+
value.to_s
|
|
124
|
+
when :Integer
|
|
125
|
+
value.to_i
|
|
126
|
+
when :Float
|
|
127
|
+
value.to_f
|
|
128
|
+
when :BOOLEAN
|
|
129
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
130
|
+
true
|
|
131
|
+
else
|
|
132
|
+
false
|
|
133
|
+
end
|
|
134
|
+
when :Object
|
|
135
|
+
# generic object (usually a Hash), return directly
|
|
136
|
+
value
|
|
137
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
138
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
139
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
140
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
141
|
+
k_type = Regexp.last_match[:k_type]
|
|
142
|
+
v_type = Regexp.last_match[:v_type]
|
|
143
|
+
{}.tap do |hash|
|
|
144
|
+
value.each do |k, v|
|
|
145
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
else # model
|
|
149
|
+
temp_model = CyberSource.const_get(type).new
|
|
150
|
+
temp_model.build_from_hash(value)
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
# Returns the string representation of the object
|
|
155
|
+
# @return [String] String presentation of the object
|
|
156
|
+
def to_s
|
|
157
|
+
to_hash.to_s
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
161
|
+
# @return [Hash] Returns the object in the form of hash
|
|
162
|
+
def to_body
|
|
163
|
+
to_hash
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Returns the object in the form of hash
|
|
167
|
+
# @return [Hash] Returns the object in the form of hash
|
|
168
|
+
def to_hash
|
|
169
|
+
hash = {}
|
|
170
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
171
|
+
value = self.send(attr)
|
|
172
|
+
next if value.nil?
|
|
173
|
+
hash[param] = _to_hash(value)
|
|
174
|
+
end
|
|
175
|
+
hash
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# Outputs non-array value in the form of hash
|
|
179
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
180
|
+
# @param [Object] value Any valid value
|
|
181
|
+
# @return [Hash] Returns the value in the form of hash
|
|
182
|
+
def _to_hash(value)
|
|
183
|
+
if value.is_a?(Array)
|
|
184
|
+
value.compact.map { |v| _to_hash(v) }
|
|
185
|
+
elsif value.is_a?(Hash)
|
|
186
|
+
{}.tap do |hash|
|
|
187
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
188
|
+
end
|
|
189
|
+
elsif value.respond_to? :to_hash
|
|
190
|
+
value.to_hash
|
|
191
|
+
else
|
|
192
|
+
value
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
end
|
|
@@ -147,6 +147,18 @@ module CyberSource
|
|
|
147
147
|
# Applicable for Barclays (barclays2) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>Yes</td></tr> </table>
|
|
148
148
|
attr_accessor :enable_multi_currency_processing
|
|
149
149
|
|
|
150
|
+
# Transaction Type Identifier (TTI) field for Mastercard AFT transactions. Maps to ISO field F104.65.32. Used to ensure compliance with Mastercard's requirements for money send transactions when wallet classifications differ between Visa and Mastercard schemes. Takes priority over BAI values for Mastercard AFT transactions when present.
|
|
151
|
+
attr_accessor :transaction_type_identifier
|
|
152
|
+
|
|
153
|
+
# The Sub merchant ID, sometimes referred to as the 'Seller ID' is generally used and *required for Aggregators and OptBlue participants. The 'Sub Merchant' is the Merchant whose transactions are submitted by a payment aggregator.
|
|
154
|
+
attr_accessor :sub_merchant_id
|
|
155
|
+
|
|
156
|
+
# Sub Merchant Email of the Payment Facilitator's, OptBlue Participant
|
|
157
|
+
attr_accessor :sub_merchant_email
|
|
158
|
+
|
|
159
|
+
# Sub Merchant Phone Number of the Payment Facilitator's, OptBlue Participant's
|
|
160
|
+
attr_accessor :sub_merchant_phone_number
|
|
161
|
+
|
|
150
162
|
# 'POS Network Switching' or 'Alternate Routing' means merchant can process PIN Debit transactions without a PIN. Set the value to 'Yes' if it is supported. Applicable for FDI Global (fdiglobal) processor.
|
|
151
163
|
attr_accessor :enable_pos_network_switching
|
|
152
164
|
|
|
@@ -204,6 +216,10 @@ module CyberSource
|
|
|
204
216
|
:'enable_least_cost_routing' => :'enableLeastCostRouting',
|
|
205
217
|
:'enable_cvv_response_indicator' => :'enableCVVResponseIndicator',
|
|
206
218
|
:'enable_multi_currency_processing' => :'enableMultiCurrencyProcessing',
|
|
219
|
+
:'transaction_type_identifier' => :'transactionTypeIdentifier',
|
|
220
|
+
:'sub_merchant_id' => :'subMerchantId',
|
|
221
|
+
:'sub_merchant_email' => :'subMerchantEmail',
|
|
222
|
+
:'sub_merchant_phone_number' => :'subMerchantPhoneNumber',
|
|
207
223
|
:'enable_pos_network_switching' => :'enablePosNetworkSwitching',
|
|
208
224
|
:'enable_dynamic_currency_conversion' => :'enableDynamicCurrencyConversion',
|
|
209
225
|
:'merchant_tier' => :'merchantTier'
|
|
@@ -258,6 +274,10 @@ module CyberSource
|
|
|
258
274
|
:'enable_least_cost_routing' => :'enable_least_cost_routing',
|
|
259
275
|
:'enable_cvv_response_indicator' => :'enable_cvv_response_indicator',
|
|
260
276
|
:'enable_multi_currency_processing' => :'enable_multi_currency_processing',
|
|
277
|
+
:'transaction_type_identifier' => :'transaction_type_identifier',
|
|
278
|
+
:'sub_merchant_id' => :'sub_merchant_id',
|
|
279
|
+
:'sub_merchant_email' => :'sub_merchant_email',
|
|
280
|
+
:'sub_merchant_phone_number' => :'sub_merchant_phone_number',
|
|
261
281
|
:'enable_pos_network_switching' => :'enable_pos_network_switching',
|
|
262
282
|
:'enable_dynamic_currency_conversion' => :'enable_dynamic_currency_conversion',
|
|
263
283
|
:'merchant_tier' => :'merchant_tier'
|
|
@@ -312,6 +332,10 @@ module CyberSource
|
|
|
312
332
|
:'enable_least_cost_routing' => :'BOOLEAN',
|
|
313
333
|
:'enable_cvv_response_indicator' => :'BOOLEAN',
|
|
314
334
|
:'enable_multi_currency_processing' => :'String',
|
|
335
|
+
:'transaction_type_identifier' => :'String',
|
|
336
|
+
:'sub_merchant_id' => :'String',
|
|
337
|
+
:'sub_merchant_email' => :'String',
|
|
338
|
+
:'sub_merchant_phone_number' => :'String',
|
|
315
339
|
:'enable_pos_network_switching' => :'BOOLEAN',
|
|
316
340
|
:'enable_dynamic_currency_conversion' => :'BOOLEAN',
|
|
317
341
|
:'merchant_tier' => :'String'
|
|
@@ -512,6 +536,22 @@ module CyberSource
|
|
|
512
536
|
self.enable_multi_currency_processing = attributes[:'enableMultiCurrencyProcessing']
|
|
513
537
|
end
|
|
514
538
|
|
|
539
|
+
if attributes.has_key?(:'transactionTypeIdentifier')
|
|
540
|
+
self.transaction_type_identifier = attributes[:'transactionTypeIdentifier']
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
if attributes.has_key?(:'subMerchantId')
|
|
544
|
+
self.sub_merchant_id = attributes[:'subMerchantId']
|
|
545
|
+
end
|
|
546
|
+
|
|
547
|
+
if attributes.has_key?(:'subMerchantEmail')
|
|
548
|
+
self.sub_merchant_email = attributes[:'subMerchantEmail']
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
if attributes.has_key?(:'subMerchantPhoneNumber')
|
|
552
|
+
self.sub_merchant_phone_number = attributes[:'subMerchantPhoneNumber']
|
|
553
|
+
end
|
|
554
|
+
|
|
515
555
|
if attributes.has_key?(:'enablePosNetworkSwitching')
|
|
516
556
|
self.enable_pos_network_switching = attributes[:'enablePosNetworkSwitching']
|
|
517
557
|
end
|
|
@@ -533,6 +573,22 @@ module CyberSource
|
|
|
533
573
|
invalid_properties.push('invalid value for "merchant_id", merchant_id cannot be nil.')
|
|
534
574
|
end
|
|
535
575
|
|
|
576
|
+
#if !@transaction_type_identifier.nil? && @transaction_type_identifier !~ Regexp.new(/^[0-9a-zA-Z]+$/)
|
|
577
|
+
#invalid_properties.push('invalid value for "transaction_type_identifier", must conform to the pattern /^[0-9a-zA-Z]+$/.')
|
|
578
|
+
#end
|
|
579
|
+
|
|
580
|
+
#if !@sub_merchant_id.nil? && @sub_merchant_id !~ Regexp.new(/^[0-9a-zA-Z\\_\\s]+$/)
|
|
581
|
+
#invalid_properties.push('invalid value for "sub_merchant_id", must conform to the pattern /^[0-9a-zA-Z\\_\\s]+$/.')
|
|
582
|
+
#end
|
|
583
|
+
|
|
584
|
+
#if !@sub_merchant_email.nil? && @sub_merchant_email !~ Regexp.new(/^([\\w-]+(?:\\.[\\w-]+)*)@((?:[\\w-]+\\.)*\\w[\\w-]{0,70})\\.([a-zA-Z]{2,6}(?:\\.[a-zA-Z]{2})?)$/)
|
|
585
|
+
#invalid_properties.push('invalid value for "sub_merchant_email", must conform to the pattern /^([\\w-]+(?:\\.[\\w-]+)*)@((?:[\\w-]+\\.)*\\w[\\w-]{0,70})\\.([a-zA-Z]{2,6}(?:\\.[a-zA-Z]{2})?)$/.')
|
|
586
|
+
#end
|
|
587
|
+
|
|
588
|
+
#if !@sub_merchant_phone_number.nil? && @sub_merchant_phone_number !~ Regexp.new(/^[0-9a-zA-Z]+$/)
|
|
589
|
+
#invalid_properties.push('invalid value for "sub_merchant_phone_number", must conform to the pattern /^[0-9a-zA-Z]+$/.')
|
|
590
|
+
#end
|
|
591
|
+
|
|
536
592
|
#if !@merchant_tier.nil? && @merchant_tier !~ Regexp.new(/^[0-9]+$/)
|
|
537
593
|
#invalid_properties.push('invalid value for "merchant_tier", must conform to the pattern /^[0-9]+$/.')
|
|
538
594
|
#end
|
|
@@ -544,10 +600,54 @@ module CyberSource
|
|
|
544
600
|
# @return true if the model is valid
|
|
545
601
|
def valid?
|
|
546
602
|
return false if @merchant_id.nil?
|
|
603
|
+
#return false if !@transaction_type_identifier.nil? && @transaction_type_identifier !~ Regexp.new(/^[0-9a-zA-Z]+$/)
|
|
604
|
+
#return false if !@sub_merchant_id.nil? && @sub_merchant_id !~ Regexp.new(/^[0-9a-zA-Z\\_\\s]+$/)
|
|
605
|
+
#return false if !@sub_merchant_email.nil? && @sub_merchant_email !~ Regexp.new(/^([\\w-]+(?:\\.[\\w-]+)*)@((?:[\\w-]+\\.)*\\w[\\w-]{0,70})\\.([a-zA-Z]{2,6}(?:\\.[a-zA-Z]{2})?)$/)
|
|
606
|
+
#return false if !@sub_merchant_phone_number.nil? && @sub_merchant_phone_number !~ Regexp.new(/^[0-9a-zA-Z]+$/)
|
|
547
607
|
#return false if !@merchant_tier.nil? && @merchant_tier !~ Regexp.new(/^[0-9]+$/)
|
|
548
608
|
true
|
|
549
609
|
end
|
|
550
610
|
|
|
611
|
+
# Custom attribute writer method with validation
|
|
612
|
+
# @param [Object] transaction_type_identifier Value to be assigned
|
|
613
|
+
def transaction_type_identifier=(transaction_type_identifier)
|
|
614
|
+
#if !transaction_type_identifier.nil? && transaction_type_identifier !~ Regexp.new(/^[0-9a-zA-Z]+$/)
|
|
615
|
+
#fail ArgumentError, 'invalid value for "transaction_type_identifier", must conform to the pattern /^[0-9a-zA-Z]+$/.'
|
|
616
|
+
#end
|
|
617
|
+
|
|
618
|
+
@transaction_type_identifier = transaction_type_identifier
|
|
619
|
+
end
|
|
620
|
+
|
|
621
|
+
# Custom attribute writer method with validation
|
|
622
|
+
# @param [Object] sub_merchant_id Value to be assigned
|
|
623
|
+
def sub_merchant_id=(sub_merchant_id)
|
|
624
|
+
#if !sub_merchant_id.nil? && sub_merchant_id !~ Regexp.new(/^[0-9a-zA-Z\\_\\s]+$/)
|
|
625
|
+
#fail ArgumentError, 'invalid value for "sub_merchant_id", must conform to the pattern /^[0-9a-zA-Z\\_\\s]+$/.'
|
|
626
|
+
#end
|
|
627
|
+
|
|
628
|
+
@sub_merchant_id = sub_merchant_id
|
|
629
|
+
end
|
|
630
|
+
|
|
631
|
+
# Custom attribute writer method with validation
|
|
632
|
+
# @param [Object] sub_merchant_email Value to be assigned
|
|
633
|
+
def sub_merchant_email=(sub_merchant_email)
|
|
634
|
+
#if !sub_merchant_email.nil? && sub_merchant_email !~ Regexp.new(/^([\\w-]+(?:\\.[\\w-]+)*)@((?:[\\w-]+\\.)*\\w[\\w-]{0,70})\\.([a-zA-Z]{2,6}(?:\\.[a-zA-Z]{2})?)$/)
|
|
635
|
+
#fail ArgumentError, 'invalid value for "sub_merchant_email", must conform to the pattern /^([\\w-]+(?:\\.[\\w-]+)*)@((?:[\\w-]+\\.)*\\w[\\w-]{0,70})\\.([a-zA-Z]{2,6}(?:\\.[a-zA-Z]{2})?)$/.'
|
|
636
|
+
#end
|
|
637
|
+
|
|
638
|
+
@sub_merchant_email = sub_merchant_email
|
|
639
|
+
end
|
|
640
|
+
|
|
641
|
+
# Custom attribute writer method with validation
|
|
642
|
+
# @param [Object] sub_merchant_phone_number Value to be assigned
|
|
643
|
+
def sub_merchant_phone_number=(sub_merchant_phone_number)
|
|
644
|
+
#if !sub_merchant_phone_number.nil? && sub_merchant_phone_number !~ Regexp.new(/^[0-9a-zA-Z]+$/)
|
|
645
|
+
#fail ArgumentError, 'invalid value for "sub_merchant_phone_number", must conform to the pattern /^[0-9a-zA-Z]+$/.'
|
|
646
|
+
#end
|
|
647
|
+
|
|
648
|
+
@sub_merchant_phone_number = sub_merchant_phone_number
|
|
649
|
+
end
|
|
650
|
+
|
|
551
651
|
# Custom attribute writer method with validation
|
|
552
652
|
# @param [Object] merchant_tier Value to be assigned
|
|
553
653
|
def merchant_tier=(merchant_tier)
|
|
@@ -608,6 +708,10 @@ module CyberSource
|
|
|
608
708
|
enable_least_cost_routing == o.enable_least_cost_routing &&
|
|
609
709
|
enable_cvv_response_indicator == o.enable_cvv_response_indicator &&
|
|
610
710
|
enable_multi_currency_processing == o.enable_multi_currency_processing &&
|
|
711
|
+
transaction_type_identifier == o.transaction_type_identifier &&
|
|
712
|
+
sub_merchant_id == o.sub_merchant_id &&
|
|
713
|
+
sub_merchant_email == o.sub_merchant_email &&
|
|
714
|
+
sub_merchant_phone_number == o.sub_merchant_phone_number &&
|
|
611
715
|
enable_pos_network_switching == o.enable_pos_network_switching &&
|
|
612
716
|
enable_dynamic_currency_conversion == o.enable_dynamic_currency_conversion &&
|
|
613
717
|
merchant_tier == o.merchant_tier
|
|
@@ -622,7 +726,7 @@ module CyberSource
|
|
|
622
726
|
# Calculates hash code according to all attributes.
|
|
623
727
|
# @return [Fixnum] Hash code
|
|
624
728
|
def hash
|
|
625
|
-
[batch_group, business_application_id, merchant_verification_value, aba_number, acquirer, acquirers, merchant_id, terminal_id, payment_types, currencies, visa_aggregator_id, amex_aggregator_id, master_card_aggregator_id, sic_code, allow_multiple_bills, allow_merchant_descriptor_override, enhanced_data, fire_safety_indicator, quasi_cash, acquirer_merchant_id, avs_format, enable_long_trans_ref_no, enable_level2, enable_multiple_transaction_advice_addendum, amex_transaction_advice_addendum1, enable_multi_line_items, enable_transaction_reference_number, enable_auto_auth_reversal_after_void, enable_expresspay_pan_translation, enable_credit_auth, industry_code, send_amex_level2_data, soft_descriptor_type, vital_number, bank_number, chain_number, merchant_bin_number, merchant_location_number, store_id, travel_agency_code, travel_agency_name, settlement_currency, enable_least_cost_routing, enable_cvv_response_indicator, enable_multi_currency_processing, enable_pos_network_switching, enable_dynamic_currency_conversion, merchant_tier].hash
|
|
729
|
+
[batch_group, business_application_id, merchant_verification_value, aba_number, acquirer, acquirers, merchant_id, terminal_id, payment_types, currencies, visa_aggregator_id, amex_aggregator_id, master_card_aggregator_id, sic_code, allow_multiple_bills, allow_merchant_descriptor_override, enhanced_data, fire_safety_indicator, quasi_cash, acquirer_merchant_id, avs_format, enable_long_trans_ref_no, enable_level2, enable_multiple_transaction_advice_addendum, amex_transaction_advice_addendum1, enable_multi_line_items, enable_transaction_reference_number, enable_auto_auth_reversal_after_void, enable_expresspay_pan_translation, enable_credit_auth, industry_code, send_amex_level2_data, soft_descriptor_type, vital_number, bank_number, chain_number, merchant_bin_number, merchant_location_number, store_id, travel_agency_code, travel_agency_name, settlement_currency, enable_least_cost_routing, enable_cvv_response_indicator, enable_multi_currency_processing, transaction_type_identifier, sub_merchant_id, sub_merchant_email, sub_merchant_phone_number, enable_pos_network_switching, enable_dynamic_currency_conversion, merchant_tier].hash
|
|
626
730
|
end
|
|
627
731
|
|
|
628
732
|
# Builds the object from hash
|
|
@@ -84,7 +84,7 @@ module CyberSource
|
|
|
84
84
|
# Attribute type mapping.
|
|
85
85
|
def self.swagger_types
|
|
86
86
|
{
|
|
87
|
-
:'client_reference_information' => :'
|
|
87
|
+
:'client_reference_information' => :'Riskv1decisionsClientReferenceInformation',
|
|
88
88
|
:'order_information' => :'Riskv1authenticationsOrderInformation',
|
|
89
89
|
:'payment_information' => :'Riskv1authenticationsPaymentInformation',
|
|
90
90
|
:'processing_information' => :'Riskv1authenticationsetupsProcessingInformation',
|
|
@@ -19,12 +19,15 @@ module CyberSource
|
|
|
19
19
|
|
|
20
20
|
attr_accessor :bin_lookup
|
|
21
21
|
|
|
22
|
+
attr_accessor :agentic_commerce
|
|
23
|
+
|
|
22
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
25
|
def self.attribute_map
|
|
24
26
|
{
|
|
25
27
|
:'token_management' => :'tokenManagement',
|
|
26
28
|
:'account_updater' => :'accountUpdater',
|
|
27
|
-
:'bin_lookup' => :'binLookup'
|
|
29
|
+
:'bin_lookup' => :'binLookup',
|
|
30
|
+
:'agentic_commerce' => :'agenticCommerce'
|
|
28
31
|
}
|
|
29
32
|
end
|
|
30
33
|
|
|
@@ -33,7 +36,8 @@ module CyberSource
|
|
|
33
36
|
{
|
|
34
37
|
:'token_management' => :'token_management',
|
|
35
38
|
:'account_updater' => :'account_updater',
|
|
36
|
-
:'bin_lookup' => :'bin_lookup'
|
|
39
|
+
:'bin_lookup' => :'bin_lookup',
|
|
40
|
+
:'agentic_commerce' => :'agentic_commerce'
|
|
37
41
|
}
|
|
38
42
|
end
|
|
39
43
|
|
|
@@ -42,7 +46,8 @@ module CyberSource
|
|
|
42
46
|
{
|
|
43
47
|
:'token_management' => :'CommerceSolutionsProductsTokenManagement',
|
|
44
48
|
:'account_updater' => :'CommerceSolutionsProductsAccountUpdater',
|
|
45
|
-
:'bin_lookup' => :'CommerceSolutionsProductsBinLookup'
|
|
49
|
+
:'bin_lookup' => :'CommerceSolutionsProductsBinLookup',
|
|
50
|
+
:'agentic_commerce' => :'PaymentsProductsTax'
|
|
46
51
|
}
|
|
47
52
|
end
|
|
48
53
|
|
|
@@ -65,6 +70,10 @@ module CyberSource
|
|
|
65
70
|
if attributes.has_key?(:'binLookup')
|
|
66
71
|
self.bin_lookup = attributes[:'binLookup']
|
|
67
72
|
end
|
|
73
|
+
|
|
74
|
+
if attributes.has_key?(:'agenticCommerce')
|
|
75
|
+
self.agentic_commerce = attributes[:'agenticCommerce']
|
|
76
|
+
end
|
|
68
77
|
end
|
|
69
78
|
|
|
70
79
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -87,7 +96,8 @@ module CyberSource
|
|
|
87
96
|
self.class == o.class &&
|
|
88
97
|
token_management == o.token_management &&
|
|
89
98
|
account_updater == o.account_updater &&
|
|
90
|
-
bin_lookup == o.bin_lookup
|
|
99
|
+
bin_lookup == o.bin_lookup &&
|
|
100
|
+
agentic_commerce == o.agentic_commerce
|
|
91
101
|
end
|
|
92
102
|
|
|
93
103
|
# @see the `==` method
|
|
@@ -99,7 +109,7 @@ module CyberSource
|
|
|
99
109
|
# Calculates hash code according to all attributes.
|
|
100
110
|
# @return [Fixnum] Hash code
|
|
101
111
|
def hash
|
|
102
|
-
[token_management, account_updater, bin_lookup].hash
|
|
112
|
+
[token_management, account_updater, bin_lookup, agentic_commerce].hash
|
|
103
113
|
end
|
|
104
114
|
|
|
105
115
|
# Builds the object from hash
|
|
@@ -48,6 +48,8 @@ module CyberSource
|
|
|
48
48
|
|
|
49
49
|
attr_accessor :processor_information
|
|
50
50
|
|
|
51
|
+
attr_accessor :token_information
|
|
52
|
+
|
|
51
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
52
54
|
def self.attribute_map
|
|
53
55
|
{
|
|
@@ -67,7 +69,8 @@ module CyberSource
|
|
|
67
69
|
:'recipient_information' => :'recipientInformation',
|
|
68
70
|
:'sender_information' => :'senderInformation',
|
|
69
71
|
:'promotion_information' => :'promotionInformation',
|
|
70
|
-
:'processor_information' => :'processorInformation'
|
|
72
|
+
:'processor_information' => :'processorInformation',
|
|
73
|
+
:'token_information' => :'tokenInformation'
|
|
71
74
|
}
|
|
72
75
|
end
|
|
73
76
|
|
|
@@ -90,7 +93,8 @@ module CyberSource
|
|
|
90
93
|
:'recipient_information' => :'recipient_information',
|
|
91
94
|
:'sender_information' => :'sender_information',
|
|
92
95
|
:'promotion_information' => :'promotion_information',
|
|
93
|
-
:'processor_information' => :'processor_information'
|
|
96
|
+
:'processor_information' => :'processor_information',
|
|
97
|
+
:'token_information' => :'token_information'
|
|
94
98
|
}
|
|
95
99
|
end
|
|
96
100
|
|
|
@@ -113,7 +117,8 @@ module CyberSource
|
|
|
113
117
|
:'recipient_information' => :'Ptsv2creditsRecipientInformation',
|
|
114
118
|
:'sender_information' => :'Ptsv2creditsSenderInformation',
|
|
115
119
|
:'promotion_information' => :'Ptsv2paymentsPromotionInformation',
|
|
116
|
-
:'processor_information' => :'Ptsv2reversalsProcessorInformation'
|
|
120
|
+
:'processor_information' => :'Ptsv2reversalsProcessorInformation',
|
|
121
|
+
:'token_information' => :'Ptsv2creditsTokenInformation'
|
|
117
122
|
}
|
|
118
123
|
end
|
|
119
124
|
|
|
@@ -194,6 +199,10 @@ module CyberSource
|
|
|
194
199
|
if attributes.has_key?(:'processorInformation')
|
|
195
200
|
self.processor_information = attributes[:'processorInformation']
|
|
196
201
|
end
|
|
202
|
+
|
|
203
|
+
if attributes.has_key?(:'tokenInformation')
|
|
204
|
+
self.token_information = attributes[:'tokenInformation']
|
|
205
|
+
end
|
|
197
206
|
end
|
|
198
207
|
|
|
199
208
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -230,7 +239,8 @@ module CyberSource
|
|
|
230
239
|
recipient_information == o.recipient_information &&
|
|
231
240
|
sender_information == o.sender_information &&
|
|
232
241
|
promotion_information == o.promotion_information &&
|
|
233
|
-
processor_information == o.processor_information
|
|
242
|
+
processor_information == o.processor_information &&
|
|
243
|
+
token_information == o.token_information
|
|
234
244
|
end
|
|
235
245
|
|
|
236
246
|
# @see the `==` method
|
|
@@ -242,7 +252,7 @@ module CyberSource
|
|
|
242
252
|
# Calculates hash code according to all attributes.
|
|
243
253
|
# @return [Fixnum] Hash code
|
|
244
254
|
def hash
|
|
245
|
-
[client_reference_information, processing_information, payment_information, order_information, buyer_information, device_information, merchant_information, aggregator_information, point_of_sale_information, merchant_defined_information, merchant_defined_secure_information, installment_information, travel_information, recipient_information, sender_information, promotion_information, processor_information].hash
|
|
255
|
+
[client_reference_information, processing_information, payment_information, order_information, buyer_information, device_information, merchant_information, aggregator_information, point_of_sale_information, merchant_defined_information, merchant_defined_secure_information, installment_information, travel_information, recipient_information, sender_information, promotion_information, processor_information, token_information].hash
|
|
246
256
|
end
|
|
247
257
|
|
|
248
258
|
# Builds the object from hash
|
|
@@ -57,7 +57,7 @@ module CyberSource
|
|
|
57
57
|
:'plan_information' => :'Rbsv1subscriptionsPlanInformation',
|
|
58
58
|
:'subscription_information' => :'Rbsv1subscriptionsSubscriptionInformation',
|
|
59
59
|
:'payment_information' => :'Rbsv1subscriptionsPaymentInformation',
|
|
60
|
-
:'order_information' => :'
|
|
60
|
+
:'order_information' => :'Rbsv1subscriptionsOrderInformation'
|
|
61
61
|
}
|
|
62
62
|
end
|
|
63
63
|
|
|
@@ -52,7 +52,7 @@ module CyberSource
|
|
|
52
52
|
:'processing_information' => :'Rbsv1subscriptionsProcessingInformation',
|
|
53
53
|
:'plan_information' => :'Rbsv1subscriptionsPlanInformation',
|
|
54
54
|
:'subscription_information' => :'Rbsv1subscriptionsSubscriptionInformation',
|
|
55
|
-
:'order_information' => :'
|
|
55
|
+
:'order_information' => :'Rbsv1subscriptionsOrderInformation'
|
|
56
56
|
}
|
|
57
57
|
end
|
|
58
58
|
|
|
@@ -37,7 +37,7 @@ module CyberSource
|
|
|
37
37
|
def self.swagger_types
|
|
38
38
|
{
|
|
39
39
|
:'risk_information' => :'Riskv1decisionsidmarkingRiskInformation',
|
|
40
|
-
:'client_reference_information' => :'
|
|
40
|
+
:'client_reference_information' => :'RiskV1DecisionsPost201ResponseClientReferenceInformation'
|
|
41
41
|
}
|
|
42
42
|
end
|
|
43
43
|
|