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,308 @@
|
|
|
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 Ptsv1pullfundstransferProcessingInformation
|
|
16
|
+
# Type of transaction. This field identifies the level of security used in an electronic commerce transaction over an open network (for example, the internet). Values for a Payouts transaction: `INTERNET`, `RECURRING`, `RECURRING_INTERNET`, `VBV_FAILURE`, `VBV_ATTEMPTED`, `VBV`, `SPA_FAILURE`, `SPA_ATTEMPTED`, `SPA` If no value is entered this field will set a default value = `INTERNET`.
|
|
17
|
+
attr_accessor :commerce_indicator
|
|
18
|
+
|
|
19
|
+
attr_accessor :funding_options
|
|
20
|
+
|
|
21
|
+
attr_accessor :recurring_options
|
|
22
|
+
|
|
23
|
+
# Payouts transaction type. Possible Values: - `AA` = Account to account - `PP` = Person to person - `TU` = Top-up for enhanced prepaid loads - `WT` = Wallet transfer - `BI` = Bank-Initiated - `FT` = Funds Transfer - `FD` = Funds Disbursement - `MP` = Merchant Payment - `PD` = Payroll Disbursement - `LA` = Liquid Assets
|
|
24
|
+
attr_accessor :business_application_id
|
|
25
|
+
|
|
26
|
+
# Visa Direct Purpose of payment is required in certain markets to clearly identify the purpose of the payment based on the standard values defined for respective market.
|
|
27
|
+
attr_accessor :purpose_of_payment
|
|
28
|
+
|
|
29
|
+
attr_accessor :payouts_options
|
|
30
|
+
|
|
31
|
+
# Contains the ISO 639-2 defined language Code
|
|
32
|
+
attr_accessor :language_code
|
|
33
|
+
|
|
34
|
+
# Account verification code will inform what Payment Account Verification should be performed. With this array of codes, a merchant can choose à la carte what verifications to run. This field is optional, and the default is 1 if it is not passed in. This means that a full validation of the fields will be performed. Valid verification codes: - `1` = Full Account Verification (Card Account, CVN, CAVV, TAVV, Address, Name, eMail, Phone, Identity) - `2` = Card Account Verification - `3` = Address Verification - `4` = Card Authentication Method (CAM) (Cryptogram) - `5` = Cardholder Authentication Verification (CAVV) - `6` = Cardholder Identity Verification - `7` = CVV2 Verification - `8` = eMail Verification - `9` = Name Verification - `10` = Phone Verification
|
|
35
|
+
attr_accessor :account_verification_code
|
|
36
|
+
|
|
37
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
38
|
+
def self.attribute_map
|
|
39
|
+
{
|
|
40
|
+
:'commerce_indicator' => :'commerceIndicator',
|
|
41
|
+
:'funding_options' => :'fundingOptions',
|
|
42
|
+
:'recurring_options' => :'recurringOptions',
|
|
43
|
+
:'business_application_id' => :'businessApplicationId',
|
|
44
|
+
:'purpose_of_payment' => :'purposeOfPayment',
|
|
45
|
+
:'payouts_options' => :'payoutsOptions',
|
|
46
|
+
:'language_code' => :'languageCode',
|
|
47
|
+
:'account_verification_code' => :'accountVerificationCode'
|
|
48
|
+
}
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
52
|
+
def self.json_map
|
|
53
|
+
{
|
|
54
|
+
:'commerce_indicator' => :'commerce_indicator',
|
|
55
|
+
:'funding_options' => :'funding_options',
|
|
56
|
+
:'recurring_options' => :'recurring_options',
|
|
57
|
+
:'business_application_id' => :'business_application_id',
|
|
58
|
+
:'purpose_of_payment' => :'purpose_of_payment',
|
|
59
|
+
:'payouts_options' => :'payouts_options',
|
|
60
|
+
:'language_code' => :'language_code',
|
|
61
|
+
:'account_verification_code' => :'account_verification_code'
|
|
62
|
+
}
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Attribute type mapping.
|
|
66
|
+
def self.swagger_types
|
|
67
|
+
{
|
|
68
|
+
:'commerce_indicator' => :'String',
|
|
69
|
+
:'funding_options' => :'Ptsv1pullfundstransferProcessingInformationFundingOptions',
|
|
70
|
+
:'recurring_options' => :'Ptsv1pullfundstransferProcessingInformationRecurringOptions',
|
|
71
|
+
:'business_application_id' => :'String',
|
|
72
|
+
:'purpose_of_payment' => :'String',
|
|
73
|
+
:'payouts_options' => :'Ptsv1pullfundstransferProcessingInformationPayoutsOptions',
|
|
74
|
+
:'language_code' => :'String',
|
|
75
|
+
:'account_verification_code' => :'Array<String>'
|
|
76
|
+
}
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# Initializes the object
|
|
80
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
81
|
+
def initialize(attributes = {})
|
|
82
|
+
return unless attributes.is_a?(Hash)
|
|
83
|
+
|
|
84
|
+
# convert string to symbol for hash key
|
|
85
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
86
|
+
|
|
87
|
+
if attributes.has_key?(:'commerceIndicator')
|
|
88
|
+
self.commerce_indicator = attributes[:'commerceIndicator']
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
if attributes.has_key?(:'fundingOptions')
|
|
92
|
+
self.funding_options = attributes[:'fundingOptions']
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
if attributes.has_key?(:'recurringOptions')
|
|
96
|
+
self.recurring_options = attributes[:'recurringOptions']
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
if attributes.has_key?(:'businessApplicationId')
|
|
100
|
+
self.business_application_id = attributes[:'businessApplicationId']
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
if attributes.has_key?(:'purposeOfPayment')
|
|
104
|
+
self.purpose_of_payment = attributes[:'purposeOfPayment']
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
if attributes.has_key?(:'payoutsOptions')
|
|
108
|
+
self.payouts_options = attributes[:'payoutsOptions']
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
if attributes.has_key?(:'languageCode')
|
|
112
|
+
self.language_code = attributes[:'languageCode']
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
if attributes.has_key?(:'accountVerificationCode')
|
|
116
|
+
if (value = attributes[:'accountVerificationCode']).is_a?(Array)
|
|
117
|
+
self.account_verification_code = value
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
123
|
+
# @return Array for valid properties with the reasons
|
|
124
|
+
def list_invalid_properties
|
|
125
|
+
invalid_properties = Array.new
|
|
126
|
+
if @business_application_id.nil?
|
|
127
|
+
invalid_properties.push('invalid value for "business_application_id", business_application_id cannot be nil.')
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
#if @business_application_id !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
|
131
|
+
#invalid_properties.push('invalid value for "business_application_id", must conform to the pattern /^(\\s{0,2}|.{2})$/.')
|
|
132
|
+
#end
|
|
133
|
+
|
|
134
|
+
invalid_properties
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# Check to see if the all the properties in the model are valid
|
|
138
|
+
# @return true if the model is valid
|
|
139
|
+
def valid?
|
|
140
|
+
return false if @business_application_id.nil?
|
|
141
|
+
#return false if @business_application_id !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
|
142
|
+
true
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# Custom attribute writer method with validation
|
|
146
|
+
# @param [Object] commerce_indicator Value to be assigned
|
|
147
|
+
def commerce_indicator=(commerce_indicator)
|
|
148
|
+
@commerce_indicator = commerce_indicator
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Custom attribute writer method with validation
|
|
152
|
+
# @param [Object] business_application_id Value to be assigned
|
|
153
|
+
def business_application_id=(business_application_id)
|
|
154
|
+
#if business_application_id.nil?
|
|
155
|
+
#fail ArgumentError, 'business_application_id cannot be nil'
|
|
156
|
+
#end
|
|
157
|
+
|
|
158
|
+
#if business_application_id !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
|
159
|
+
#fail ArgumentError, 'invalid value for "business_application_id", must conform to the pattern /^(\\s{0,2}|.{2})$/.'
|
|
160
|
+
#end
|
|
161
|
+
|
|
162
|
+
@business_application_id = business_application_id
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# Custom attribute writer method with validation
|
|
166
|
+
# @param [Object] purpose_of_payment Value to be assigned
|
|
167
|
+
def purpose_of_payment=(purpose_of_payment)
|
|
168
|
+
@purpose_of_payment = purpose_of_payment
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# Custom attribute writer method with validation
|
|
172
|
+
# @param [Object] language_code Value to be assigned
|
|
173
|
+
def language_code=(language_code)
|
|
174
|
+
@language_code = language_code
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# Checks equality by comparing each attribute.
|
|
178
|
+
# @param [Object] Object to be compared
|
|
179
|
+
def ==(o)
|
|
180
|
+
return true if self.equal?(o)
|
|
181
|
+
self.class == o.class &&
|
|
182
|
+
commerce_indicator == o.commerce_indicator &&
|
|
183
|
+
funding_options == o.funding_options &&
|
|
184
|
+
recurring_options == o.recurring_options &&
|
|
185
|
+
business_application_id == o.business_application_id &&
|
|
186
|
+
purpose_of_payment == o.purpose_of_payment &&
|
|
187
|
+
payouts_options == o.payouts_options &&
|
|
188
|
+
language_code == o.language_code &&
|
|
189
|
+
account_verification_code == o.account_verification_code
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
# @see the `==` method
|
|
193
|
+
# @param [Object] Object to be compared
|
|
194
|
+
def eql?(o)
|
|
195
|
+
self == o
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# Calculates hash code according to all attributes.
|
|
199
|
+
# @return [Fixnum] Hash code
|
|
200
|
+
def hash
|
|
201
|
+
[commerce_indicator, funding_options, recurring_options, business_application_id, purpose_of_payment, payouts_options, language_code, account_verification_code].hash
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
# Builds the object from hash
|
|
205
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
206
|
+
# @return [Object] Returns the model itself
|
|
207
|
+
def build_from_hash(attributes)
|
|
208
|
+
return nil unless attributes.is_a?(Hash)
|
|
209
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
210
|
+
if type =~ /\AArray<(.*)>/i
|
|
211
|
+
# check to ensure the input is an array given that the the attribute
|
|
212
|
+
# is documented as an array but the input is not
|
|
213
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
214
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
215
|
+
end
|
|
216
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
217
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
218
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
self
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# Deserializes the data based on type
|
|
225
|
+
# @param string type Data type
|
|
226
|
+
# @param string value Value to be deserialized
|
|
227
|
+
# @return [Object] Deserialized data
|
|
228
|
+
def _deserialize(type, value)
|
|
229
|
+
case type.to_sym
|
|
230
|
+
when :DateTime
|
|
231
|
+
DateTime.parse(value)
|
|
232
|
+
when :Date
|
|
233
|
+
Date.parse(value)
|
|
234
|
+
when :String
|
|
235
|
+
value.to_s
|
|
236
|
+
when :Integer
|
|
237
|
+
value.to_i
|
|
238
|
+
when :Float
|
|
239
|
+
value.to_f
|
|
240
|
+
when :BOOLEAN
|
|
241
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
242
|
+
true
|
|
243
|
+
else
|
|
244
|
+
false
|
|
245
|
+
end
|
|
246
|
+
when :Object
|
|
247
|
+
# generic object (usually a Hash), return directly
|
|
248
|
+
value
|
|
249
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
250
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
251
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
252
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
253
|
+
k_type = Regexp.last_match[:k_type]
|
|
254
|
+
v_type = Regexp.last_match[:v_type]
|
|
255
|
+
{}.tap do |hash|
|
|
256
|
+
value.each do |k, v|
|
|
257
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
258
|
+
end
|
|
259
|
+
end
|
|
260
|
+
else # model
|
|
261
|
+
temp_model = CyberSource.const_get(type).new
|
|
262
|
+
temp_model.build_from_hash(value)
|
|
263
|
+
end
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
# Returns the string representation of the object
|
|
267
|
+
# @return [String] String presentation of the object
|
|
268
|
+
def to_s
|
|
269
|
+
to_hash.to_s
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
273
|
+
# @return [Hash] Returns the object in the form of hash
|
|
274
|
+
def to_body
|
|
275
|
+
to_hash
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
# Returns the object in the form of hash
|
|
279
|
+
# @return [Hash] Returns the object in the form of hash
|
|
280
|
+
def to_hash
|
|
281
|
+
hash = {}
|
|
282
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
283
|
+
value = self.send(attr)
|
|
284
|
+
next if value.nil?
|
|
285
|
+
hash[param] = _to_hash(value)
|
|
286
|
+
end
|
|
287
|
+
hash
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
# Outputs non-array value in the form of hash
|
|
291
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
292
|
+
# @param [Object] value Any valid value
|
|
293
|
+
# @return [Hash] Returns the value in the form of hash
|
|
294
|
+
def _to_hash(value)
|
|
295
|
+
if value.is_a?(Array)
|
|
296
|
+
value.compact.map { |v| _to_hash(v) }
|
|
297
|
+
elsif value.is_a?(Hash)
|
|
298
|
+
{}.tap do |hash|
|
|
299
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
300
|
+
end
|
|
301
|
+
elsif value.respond_to? :to_hash
|
|
302
|
+
value.to_hash
|
|
303
|
+
else
|
|
304
|
+
value
|
|
305
|
+
end
|
|
306
|
+
end
|
|
307
|
+
end
|
|
308
|
+
end
|
|
@@ -0,0 +1,189 @@
|
|
|
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 Ptsv1pullfundstransferProcessingInformationFundingOptions
|
|
16
|
+
attr_accessor :initiator
|
|
17
|
+
|
|
18
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
19
|
+
def self.attribute_map
|
|
20
|
+
{
|
|
21
|
+
:'initiator' => :'initiator'
|
|
22
|
+
}
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
26
|
+
def self.json_map
|
|
27
|
+
{
|
|
28
|
+
:'initiator' => :'initiator'
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Attribute type mapping.
|
|
33
|
+
def self.swagger_types
|
|
34
|
+
{
|
|
35
|
+
:'initiator' => :'Ptsv1pullfundstransferProcessingInformationFundingOptionsInitiator'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Initializes the object
|
|
40
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
41
|
+
def initialize(attributes = {})
|
|
42
|
+
return unless attributes.is_a?(Hash)
|
|
43
|
+
|
|
44
|
+
# convert string to symbol for hash key
|
|
45
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
46
|
+
|
|
47
|
+
if attributes.has_key?(:'initiator')
|
|
48
|
+
self.initiator = attributes[:'initiator']
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
53
|
+
# @return Array for valid properties with the reasons
|
|
54
|
+
def list_invalid_properties
|
|
55
|
+
invalid_properties = Array.new
|
|
56
|
+
invalid_properties
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Check to see if the all the properties in the model are valid
|
|
60
|
+
# @return true if the model is valid
|
|
61
|
+
def valid?
|
|
62
|
+
true
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Checks equality by comparing each attribute.
|
|
66
|
+
# @param [Object] Object to be compared
|
|
67
|
+
def ==(o)
|
|
68
|
+
return true if self.equal?(o)
|
|
69
|
+
self.class == o.class &&
|
|
70
|
+
initiator == o.initiator
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# @see the `==` method
|
|
74
|
+
# @param [Object] Object to be compared
|
|
75
|
+
def eql?(o)
|
|
76
|
+
self == o
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# Calculates hash code according to all attributes.
|
|
80
|
+
# @return [Fixnum] Hash code
|
|
81
|
+
def hash
|
|
82
|
+
[initiator].hash
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Builds the object from hash
|
|
86
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
87
|
+
# @return [Object] Returns the model itself
|
|
88
|
+
def build_from_hash(attributes)
|
|
89
|
+
return nil unless attributes.is_a?(Hash)
|
|
90
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
91
|
+
if type =~ /\AArray<(.*)>/i
|
|
92
|
+
# check to ensure the input is an array given that the the attribute
|
|
93
|
+
# is documented as an array but the input is not
|
|
94
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
95
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
96
|
+
end
|
|
97
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
98
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
99
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
self
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Deserializes the data based on type
|
|
106
|
+
# @param string type Data type
|
|
107
|
+
# @param string value Value to be deserialized
|
|
108
|
+
# @return [Object] Deserialized data
|
|
109
|
+
def _deserialize(type, value)
|
|
110
|
+
case type.to_sym
|
|
111
|
+
when :DateTime
|
|
112
|
+
DateTime.parse(value)
|
|
113
|
+
when :Date
|
|
114
|
+
Date.parse(value)
|
|
115
|
+
when :String
|
|
116
|
+
value.to_s
|
|
117
|
+
when :Integer
|
|
118
|
+
value.to_i
|
|
119
|
+
when :Float
|
|
120
|
+
value.to_f
|
|
121
|
+
when :BOOLEAN
|
|
122
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
123
|
+
true
|
|
124
|
+
else
|
|
125
|
+
false
|
|
126
|
+
end
|
|
127
|
+
when :Object
|
|
128
|
+
# generic object (usually a Hash), return directly
|
|
129
|
+
value
|
|
130
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
131
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
132
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
133
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
134
|
+
k_type = Regexp.last_match[:k_type]
|
|
135
|
+
v_type = Regexp.last_match[:v_type]
|
|
136
|
+
{}.tap do |hash|
|
|
137
|
+
value.each do |k, v|
|
|
138
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
else # model
|
|
142
|
+
temp_model = CyberSource.const_get(type).new
|
|
143
|
+
temp_model.build_from_hash(value)
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Returns the string representation of the object
|
|
148
|
+
# @return [String] String presentation of the object
|
|
149
|
+
def to_s
|
|
150
|
+
to_hash.to_s
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
154
|
+
# @return [Hash] Returns the object in the form of hash
|
|
155
|
+
def to_body
|
|
156
|
+
to_hash
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
# Returns the object in the form of hash
|
|
160
|
+
# @return [Hash] Returns the object in the form of hash
|
|
161
|
+
def to_hash
|
|
162
|
+
hash = {}
|
|
163
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
164
|
+
value = self.send(attr)
|
|
165
|
+
next if value.nil?
|
|
166
|
+
hash[param] = _to_hash(value)
|
|
167
|
+
end
|
|
168
|
+
hash
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# Outputs non-array value in the form of hash
|
|
172
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
173
|
+
# @param [Object] value Any valid value
|
|
174
|
+
# @return [Hash] Returns the value in the form of hash
|
|
175
|
+
def _to_hash(value)
|
|
176
|
+
if value.is_a?(Array)
|
|
177
|
+
value.compact.map { |v| _to_hash(v) }
|
|
178
|
+
elsif value.is_a?(Hash)
|
|
179
|
+
{}.tap do |hash|
|
|
180
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
181
|
+
end
|
|
182
|
+
elsif value.respond_to? :to_hash
|
|
183
|
+
value.to_hash
|
|
184
|
+
else
|
|
185
|
+
value
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
end
|
|
189
|
+
end
|