cybersource_rest_client 0.0.83 → 0.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +46 -27
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +93 -58
- data/lib/AuthenticationSDK/logging/sensitive_logging.rb +265 -93
- data/lib/AuthenticationSDK/util/AuthJWEUtility.rb +53 -3
- data/lib/AuthenticationSDK/util/Cache.rb +20 -12
- data/lib/AuthenticationSDK/util/Constants.rb +92 -31
- data/lib/AuthenticationSDK/util/MLEUtility.rb +51 -2
- data/lib/cybersource_rest_client/api/{instructions_api.rb → agent_capabilities_api.rb} +116 -35
- data/lib/cybersource_rest_client/api/batches_api.rb +1 -1
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +6 -6
- data/lib/cybersource_rest_client/api/capture_api.rb +2 -2
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +14 -22
- data/lib/cybersource_rest_client/api/credentials_api.rb +104 -0
- data/lib/cybersource_rest_client/api/credit_api.rb +2 -2
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +3 -3
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +2 -2
- data/lib/cybersource_rest_client/api/invoices_api.rb +6 -6
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +20 -28
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +2 -2
- data/lib/cybersource_rest_client/api/network_tokens_api.rb +654 -0
- data/lib/cybersource_rest_client/api/orders_api.rb +4 -4
- data/lib/cybersource_rest_client/api/payment_links_api.rb +4 -4
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payments_api.rb +21 -21
- data/lib/cybersource_rest_client/api/plans_api.rb +1 -1
- data/lib/cybersource_rest_client/api/refund_api.rb +4 -4
- data/lib/cybersource_rest_client/api/reversal_api.rb +4 -4
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +183 -1
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +1 -1
- data/lib/cybersource_rest_client/api/void_api.rb +10 -10
- data/lib/cybersource_rest_client/api_client.rb +35 -2
- data/lib/cybersource_rest_client/configuration.rb +2 -2
- data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations.rb → account_updater_configurations.rb} +4 -4
- data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations_amex.rb → account_updater_configurations_amex.rb} +1 -1
- data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations_master_card.rb → account_updater_configurations_master_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations_visa.rb → account_updater_configurations_visa.rb} +1 -1
- data/lib/cybersource_rest_client/models/account_validations_request.rb +15 -5
- data/lib/cybersource_rest_client/models/{ptsv1pullfundstransfer_processing_information_funding_options.rb → aft_funding_options.rb} +2 -2
- data/lib/cybersource_rest_client/models/{ptsv1pullfundstransfer_processing_information_funding_options_initiator.rb → aft_funding_options_initiator.rb} +2 -2
- data/lib/cybersource_rest_client/models/{ptsv1pullfundstransfer_processing_info_funding_options_initiator_origin_ini_transaction.rb → aft_funding_options_initiator_originator_initiated_transaction.rb} +1 -1
- data/lib/cybersource_rest_client/models/agentic_cancel_purchase_intent_request.rb +3 -3
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_request.rb +8 -8
- data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_request.rb +2 -2
- data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_request.rb +5 -5
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_request.rb +2 -2
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200.rb +1 -1
- data/lib/cybersource_rest_client/models/agentic_update_purchase_intent_request.rb +5 -5
- data/lib/cybersource_rest_client/models/{payments_products_alternative_payment_methods_configuration_information_configurations_processors.rb → alternative_payments_processor_configuration.rb} +1 -1
- data/lib/cybersource_rest_client/models/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/bin_lookup403_response.rb +223 -0
- data/lib/cybersource_rest_client/models/bin_lookupv400_response.rb +235 -0
- data/lib/cybersource_rest_client/models/{card_processing_config_common_acquirer_agreement_acquirer_code.rb → boarding_acquirer_details.rb} +2 -2
- data/lib/cybersource_rest_client/models/{card_processing_config_common_acquirer_agreement_acquirer_code_payment_options.rb → boarding_acquirer_details_payment_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information.rb → boarding_business_information.rb} +6 -6
- data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information_address.rb → boarding_business_information_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information_business_contact.rb → boarding_business_information_business_contact.rb} +1 -1
- data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information_localized_names.rb → boarding_business_information_localized_names.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_payouts_configuration_information_configurations.rb → boarding_payouts_configurations.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payments_products_payouts_configuration_information_configurations_common.rb → boarding_payouts_configurations_common.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payments_products_payouts_configuration_information_configurations_common_aggregator.rb → boarding_payouts_configurations_common_aggregator.rb} +1 -1
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information.rb +1 -1
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +1 -1
- data/lib/cybersource_rest_client/models/card_processing_config_common_acquirer_agreement.rb +1 -1
- data/lib/cybersource_rest_client/models/card_processing_config_common_processors.rb +105 -1
- data/lib/cybersource_rest_client/models/commerce_solutions_products.rb +15 -5
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information.rb +1 -1
- data/lib/cybersource_rest_client/models/create_credit_request.rb +15 -5
- data/lib/cybersource_rest_client/models/create_subscription_response.rb +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded_payment_instruments.rb → default_payment_instrument.rb} +9 -9
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__embedded.rb → default_payment_instrument__embedded.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links.rb → default_payment_instrument__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links_self.rb → default_payment_instrument__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bank_account.rb → default_payment_instrument_bank_account.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bill_to.rb → default_payment_instrument_bill_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_buyer_information.rb → default_payment_instrument_buyer_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_buyer_info_issued_by.rb → default_payment_instrument_buyer_information_issued_by.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_buyer_info_personal_identification.rb → default_payment_instrument_buyer_information_personal_identification.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_card.rb → default_payment_instrument_card.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_card_tokenized_info.rb → default_payment_instrument_card_tokenized_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_instrument_identifier.rb → default_payment_instrument_instrument_identifier.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_metadata.rb → default_payment_instrument_metadata.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address.rb → default_shipping_address.rb} +4 -4
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links.rb → default_shipping_address__links.rb} +3 -3
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_customer.rb → default_shipping_address__links_customer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_self.rb → default_shipping_address__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address_metadata.rb → default_shipping_address_metadata.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address_ship_to.rb → default_shipping_address_ship_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_watchlist_screening_information_watch_list.rb → export_compliance_watch_list.rb} +2 -2
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_watchlist_screening_information_watch_list_matches.rb → export_compliance_watch_list_matches.rb} +1 -1
- data/lib/cybersource_rest_client/models/{get_subscription_response_1_payment_instrument_buyer_information.rb → follow_on_transaction_buyer_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/generate_unified_checkout_v1_capture_context_request.rb +2 -2
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_amount_details_surcharge.rb +22 -5
- data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument.rb +2 -2
- data/lib/cybersource_rest_client/models/get_subscription_response_1_shipping_address.rb +1 -1
- data/lib/cybersource_rest_client/models/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/{payments_products_unified_checkout_configuration_information_configurations_features.rb → get_subscriptions_payments_response_cycles_completed_count.rb} +11 -9
- data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_subscription_payment.rb +356 -0
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb → icc_amount_detail.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_items.rb → icc_line_item.rb} +4 -4
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_items_additional_info.rb → icc_line_item_additional_info.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_items_policies.rb → icc_line_item_policies.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_merchant_information_merchant_descriptor.rb → icc_merchant_descriptor.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb → icc_payment_instrument.rb} +3 -3
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconf_processor_info_payment_instrument_verifi_results.rb → icc_payment_instrument_verification_results.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_order_information_shipping_details.rb → icc_shipping_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{agentic_retrieve_payment_credentials_response200_transaction_response_with_pending_events.rb → icc_transaction_response_pending_events.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructions_decline_threshold.rb → iccv1instructions_decline_threshold.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1instructions_mandates.rb → iccv1instructions_mandates.rb} +4 -4
- data/lib/cybersource_rest_client/models/{acpv1instructions_recurring_payment_information.rb → iccv1instructions_recurring_payment_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_confirmation_data.rb → iccv1instructionsinstruction_idconfirmations_confirmation_data.rb} +5 -5
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_merchant_information.rb → iccv1instructionsinstruction_idconfirmations_merchant_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_order_information.rb → iccv1instructionsinstruction_idconfirmations_order_information.rb} +5 -5
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_processor_information.rb → iccv1instructionsinstruction_idconfirmations_processor_information.rb} +4 -4
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_attachments.rb → iccv1instructionsinstruction_idcredentials_attachments.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_client_reference_information.rb → iccv1instructionsinstruction_idcredentials_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_mandate_reference_data.rb → iccv1instructionsinstruction_idcredentials_mandate_reference_data.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_merchant_information.rb → iccv1instructionsinstruction_idcredentials_merchant_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information.rb → iccv1instructionsinstruction_idcredentials_order_information.rb} +4 -4
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_line_items.rb → iccv1instructionsinstruction_idcredentials_order_information_line_items.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_ship_to.rb → iccv1instructionsinstruction_idcredentials_order_information_ship_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_payment_options.rb → iccv1instructionsinstruction_idcredentials_payment_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_transaction_data.rb → iccv1instructionsinstruction_idcredentials_transaction_data.rb} +7 -7
- data/lib/cybersource_rest_client/models/iccv1mppcredentials_challenge.rb +369 -0
- data/lib/cybersource_rest_client/models/iccv1mppcredentials_challenge_encryption_jwk.rb +336 -0
- data/lib/cybersource_rest_client/models/{acpv1tokens_assurance_data.rb → iccv1tokens_assurance_data.rb} +10 -10
- data/lib/cybersource_rest_client/models/{acpv1tokens_authenticated_identities.rb → iccv1tokens_authenticated_identities.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1tokens_authentication_context.rb → iccv1tokens_authentication_context.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1tokens_bill_to.rb → iccv1tokens_bill_to.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1tokens_buyer_information.rb → iccv1tokens_buyer_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{acpv1tokens_buyer_information_personal_identification.rb → iccv1tokens_buyer_information_personal_identification.rb} +9 -9
- data/lib/cybersource_rest_client/models/{acpv1tokens_consent_data.rb → iccv1tokens_consent_data.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1tokens_consumer_identity.rb → iccv1tokens_consumer_identity.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1tokens_device_information.rb → iccv1tokens_device_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{acpv1tokens_device_information_device_data.rb → iccv1tokens_device_information_device_data.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1tokens_enrollment_reference_data.rb → iccv1tokens_enrollment_reference_data.rb} +2 -2
- data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information.rb → iccv1tokens_payment_information.rb} +5 -5
- data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information_customer.rb → iccv1tokens_payment_information_customer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information_instrument_identifier.rb → iccv1tokens_payment_information_instrument_identifier.rb} +1 -1
- data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information_payment_instrument.rb → iccv1tokens_payment_information_payment_instrument.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_1_tokenized_card.rb +26 -5
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_commerce_solutions.rb +17 -7
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_risk.rb +16 -6
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_value_added_services.rb +27 -7
- data/lib/cybersource_rest_client/models/inline_response_400_10.rb +30 -75
- 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 +242 -0
- data/lib/cybersource_rest_client/models/inline_response_400_12.rb +235 -0
- data/lib/cybersource_rest_client/models/{inline_response_400_7_details.rb → inline_response_400_12_details.rb} +3 -3
- data/lib/cybersource_rest_client/models/inline_response_400_13.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_3.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_502.rb +9 -53
- data/lib/cybersource_rest_client/models/inline_response_502_1.rb +24 -12
- data/lib/cybersource_rest_client/models/inline_response_502_2.rb +19 -47
- data/lib/cybersource_rest_client/models/inline_response_502_3.rb +251 -0
- data/lib/cybersource_rest_client/models/iplv2paymentlinks_order_information_line_items.rb +73 -5
- data/lib/cybersource_rest_client/models/microform_config_features.rb +189 -0
- data/lib/cybersource_rest_client/models/microform_config_features_gateway_agnostic.rb +189 -0
- 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/patch_customer_payment_instrument_request.rb +8 -8
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +1 -1
- data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +3 -3
- data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +1 -1
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +8 -8
- data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument.rb → payment_instrument.rb} +9 -9
- 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/{inline_response_201_4_setups_payments.rb → payments_configuration_setup.rb} +45 -25
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_alternative_payment_methods.rb → payments_configuration_setup_alternative_payment_methods.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_alternative_payment_methods_configuration_status.rb → payments_configuration_setup_alternative_payment_methods_configuration_status.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_card_processing.rb → payments_configuration_setup_card_processing.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_card_processing_configuration_status.rb → payments_configuration_setup_card_processing_configuration_status.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_card_processing_subscription_status.rb → payments_configuration_setup_card_processing_subscription_status.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_digital_payments.rb → payments_configuration_setup_digital_payments.rb} +2 -2
- data/lib/cybersource_rest_client/models/payments_products.rb +25 -5
- data/lib/cybersource_rest_client/models/payments_products_alternative_payment_methods_configuration_information_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/payments_products_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_unified_checkout_configuration_information_configurations.rb → payments_products_microform_configuration_information_configurations.rb} +2 -2
- data/lib/cybersource_rest_client/models/payments_products_microform_subscription_information.rb +227 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information.rb +1 -1
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_configuration_information.rb +1 -1
- data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +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 +8 -8
- data/lib/cybersource_rest_client/models/post_customer_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +3 -3
- data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_issuer_life_cycle_simulation_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_payment_credentials_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_payment_credentials_request_1.rb +1 -1
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +8 -8
- data/lib/cybersource_rest_client/models/post_tokenized_card_request.rb +15 -5
- data/lib/cybersource_rest_client/models/{ptsv2payments_processing_information_authorization_options.rb → processing_info_authorization_options.rb} +2 -2
- data/lib/cybersource_rest_client/models/{ptsv2payments_processing_information_authorization_options_initiator.rb → processing_info_authorization_options_initiator.rb} +2 -2
- data/lib/cybersource_rest_client/models/{ptsv2payments_merchant_initiated_transaction.rb → processing_info_authorization_options_initiator_merchant_initiated_transaction.rb} +4 -4
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_processor_information_seller_protection.rb → processor_information_seller_protection.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_create_billing_agreement_post201_response_agreement_information.rb +80 -1
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +42 -2
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_merchant_information.rb +196 -0
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information.rb → pts_v2_credits_post201_response_payment_account_information.rb} +2 -2
- 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_processor_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 +1 -1
- 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_1_processor_information.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_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 +24 -7
- 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_post201_response_watchlist_screening_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_error_information.rb +1 -1
- 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_issuer_information.rb +166 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +45 -5
- data/lib/cybersource_rest_client/models/{pull_funds201_response_processor_information_avs.rb → pts_v2_payouts_post201_response_processor_information_avs.rb} +1 -1
- 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_buyer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information.rb +19 -6
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +19 -6
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +1 -1
- 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 +36 -6
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_refund_options.rb +22 -5
- 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 +74 -8
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_program_indicators.rb +202 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +73 -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 +19 -2
- 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 +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_refund_options.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/ptsv2paymentsidreversals_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +18 -5
- data/lib/cybersource_rest_client/models/pull_funds201_response_processor_information.rb +36 -6
- data/lib/cybersource_rest_client/models/pull_funds_request.rb +11 -1
- data/lib/cybersource_rest_client/models/push_funds201_response.rb +11 -1
- data/lib/cybersource_rest_client/models/push_funds201_response_issuer_information.rb +344 -0
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +45 -5
- data/lib/cybersource_rest_client/models/push_funds_transfer_payment_information.rb +189 -0
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card.rb → push_funds_transfer_payment_information_card.rb} +4 -4
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card_customer.rb → push_funds_transfer_payment_information_card_customer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card_instrument_identifier.rb → push_funds_transfer_payment_information_card_instrument_identifier.rb} +1 -1
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card_payment_instrument.rb → push_funds_transfer_payment_information_card_payment_instrument.rb} +1 -1
- data/lib/cybersource_rest_client/models/{rbsv1subscriptions_processing_information_authorization_options.rb → rbs_authorization_options.rb} +2 -2
- data/lib/cybersource_rest_client/models/{rbsv1subscriptions_processing_information_authorization_options_initiator.rb → rbs_authorization_options_initiator.rb} +1 -1
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{reporting_v3_report_definitions_name_get200_response_default_settings.rb → report_definition_default_settings.rb} +1 -1
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb +1 -1
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address_verification_information.rb → risk_address_verification_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb → risk_address_verification_information_bar_code.rb} +1 -1
- data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb → risk_address_verification_information_standard_address.rb} +2 -2
- data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address1.rb → risk_address_verification_information_standard_address_address1.rb} +1 -1
- data/lib/cybersource_rest_client/models/risk_products.rb +15 -5
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.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/shipping_address_list_for_customer__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_card_art.rb +23 -1
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bill_to.rb +22 -5
- data/lib/cybersource_rest_client/models/{tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.rb → tms_issuer_life_cycle_event_simulation_metadata.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.rb → tms_issuer_life_cycle_event_simulation_metadata_card_art.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tms_issuerlifecycleeventsimulations_metadata_card_art_combined_asset.rb → tms_issuer_life_cycle_event_simulation_metadata_card_art_combined_asset.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_point_of_sale_information.rb → tms_point_of_sale_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_point_of_sale_information_emv_tags.rb → tms_point_of_sale_information_emv_tags.rb} +1 -1
- data/lib/cybersource_rest_client/models/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 +22 -1
- 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/{tmsv3tokenstoken_idpaymentcredentials_merchant_information_merchant_descriptor.rb → tmsv2_tokenized_card_metadata_issuer_bank_applications.rb} +11 -11
- 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_token_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information_customer__embedded.rb +2 -2
- data/lib/cybersource_rest_client/models/{tmsv3tokenstoken_idpaymentcredentials_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_authenticated_identities.rb +19 -8
- 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/uc_configurations.rb +189 -0
- data/lib/cybersource_rest_client/models/uc_configurations_features.rb +209 -0
- data/lib/cybersource_rest_client/models/uc_configurations_features_click_to_pay.rb +189 -0
- data/lib/cybersource_rest_client/models/uc_configurations_features_click_to_pay_enrollment_data.rb +223 -0
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_configuration_information_configurations_features_paze.rb → uc_configurations_features_paze.rb} +2 -2
- data/lib/cybersource_rest_client/models/uc_configurations_features_portfolio_accessto_sensitive_data.rb +190 -0
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features.rb → uc_feature_subscription.rb} +22 -22
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_after_pay.rb → uc_feature_subscription_after_pay.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_apple_pay.rb → uc_feature_subscription_apple_pay.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_bancontact.rb → uc_feature_subscription_bancontact.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_click_to_pay.rb → uc_feature_subscription_click_to_pay.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_decision_manager.rb → uc_feature_subscription_decision_manager.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_dragon_pay.rb → uc_feature_subscription_dragon_pay.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_e_check.rb → uc_feature_subscription_e_check.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_google_pay.rb → uc_feature_subscription_google_pay.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_ideal.rb → uc_feature_subscription_ideal.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_konbini.rb → uc_feature_subscription_konbini.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_multibanco.rb → uc_feature_subscription_multibanco.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_my_bank.rb → uc_feature_subscription_my_bank.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_p24.rb → uc_feature_subscription_p24.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_pay_pal.rb → uc_feature_subscription_pay_pal.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_payer_authentication.rb → uc_feature_subscription_payer_authentication.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_paze_for_unified_checkout.rb → uc_feature_subscription_paze_for_unified_checkout.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_info_features_portfolio_accessof_sensi_data.rb → uc_feature_subscription_portfolio_accessof_sensitive_data.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_tink_pay_by_bank.rb → uc_feature_subscription_tink_pay_by_bank.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_token_management.rb → uc_feature_subscription_token_management.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_unified_click_to_pay_sdk.rb → uc_feature_subscription_unified_click_to_pay_sdk.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_venmo.rb → uc_feature_subscription_venmo.rb} +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +45 -15
- 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_client_reference_information.rb +227 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ucv1sessions_data_installment_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information_merchant_descriptor.rb +18 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information.rb +17 -7
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_amount_details.rb +86 -12
- 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/ucv1sessions_data_order_information_ship_to.rb +388 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_shipping_details.rb +213 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information.rb +38 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_authorization_options_initiator.rb +1 -1
- 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 +107 -53
- 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 +11 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_googlepay.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_paypal.rb +211 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_paypal_tokenized_payment_method.rb +213 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token.rb +1 -1
- data/lib/cybersource_rest_client/models/{underwriting_configuration_organization_information_business_information_business_details.rb → underwriting_configuration_business_details.rb} +2 -2
- data/lib/cybersource_rest_client/models/underwriting_configuration_business_details_product_services_subscription.rb +1 -1
- data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{upv1capturecontexts_data_processing_info_mit.rb → unified_checkout_merchant_initiated_transaction.rb} +1 -1
- data/lib/cybersource_rest_client/models/update_payments.rb +192 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information.rb +4 -2
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/{upv1capturecontexts_data_order_information_line_items_passenger.rb → upv1capturecontexts_data_order_information_passenger.rb} +1 -1
- data/lib/cybersource_rest_client/models/{upv1capturecontexts_data_order_information_line_items_tax_details.rb → upv1capturecontexts_data_order_information_tax_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options_initiator.rb +1 -1
- data/lib/cybersource_rest_client/models/value_added_services_products.rb +25 -5
- data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information.rb → virtual_terminal_global_payment_settings.rb} +4 -4
- data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information_basic_information.rb → virtual_terminal_global_payment_settings_basic_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information_merchant_defined_data_fields.rb → virtual_terminal_global_payment_settings_merchant_defined_data_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information_payment_information.rb → virtual_terminal_global_payment_settings_payment_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/vt_config_card_not_present.rb +1 -1
- data/lib/cybersource_rest_client.rb +225 -158
- metadata +231 -164
- data/lib/cybersource_rest_client/api/enrollment_api.rb +0 -104
- 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/tmsv3tokenstoken_idpaymentcredentials_merchant_information.rb +0 -189
- data/lib/cybersource_rest_client/utilities/flex/token_verification.rb +0 -42
|
@@ -0,0 +1,209 @@
|
|
|
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 GetSubscriptionsPaymentsResponseLinks
|
|
16
|
+
attr_accessor :_self
|
|
17
|
+
|
|
18
|
+
attr_accessor :_next
|
|
19
|
+
|
|
20
|
+
attr_accessor :prev
|
|
21
|
+
|
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
|
+
def self.attribute_map
|
|
24
|
+
{
|
|
25
|
+
:'_self' => :'self',
|
|
26
|
+
:'_next' => :'next',
|
|
27
|
+
:'prev' => :'prev'
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
32
|
+
def self.json_map
|
|
33
|
+
{
|
|
34
|
+
:'_self' => :'_self',
|
|
35
|
+
:'_next' => :'_next',
|
|
36
|
+
:'prev' => :'prev'
|
|
37
|
+
}
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# Attribute type mapping.
|
|
41
|
+
def self.swagger_types
|
|
42
|
+
{
|
|
43
|
+
:'_self' => :'PtsV2PaymentsPost201ResponseLinksSelf',
|
|
44
|
+
:'_next' => :'PtsV2PaymentsPost201ResponseLinksSelf',
|
|
45
|
+
:'prev' => :'PtsV2PaymentsPost201ResponseLinksSelf'
|
|
46
|
+
}
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Initializes the object
|
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
51
|
+
def initialize(attributes = {})
|
|
52
|
+
return unless attributes.is_a?(Hash)
|
|
53
|
+
|
|
54
|
+
# convert string to symbol for hash key
|
|
55
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
56
|
+
|
|
57
|
+
if attributes.has_key?(:'self')
|
|
58
|
+
self._self = attributes[:'self']
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
if attributes.has_key?(:'next')
|
|
62
|
+
self._next = attributes[:'next']
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
if attributes.has_key?(:'prev')
|
|
66
|
+
self.prev = attributes[:'prev']
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
71
|
+
# @return Array for valid properties with the reasons
|
|
72
|
+
def list_invalid_properties
|
|
73
|
+
invalid_properties = Array.new
|
|
74
|
+
invalid_properties
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Check to see if the all the properties in the model are valid
|
|
78
|
+
# @return true if the model is valid
|
|
79
|
+
def valid?
|
|
80
|
+
true
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Checks equality by comparing each attribute.
|
|
84
|
+
# @param [Object] Object to be compared
|
|
85
|
+
def ==(o)
|
|
86
|
+
return true if self.equal?(o)
|
|
87
|
+
self.class == o.class &&
|
|
88
|
+
_self == o._self &&
|
|
89
|
+
_next == o._next &&
|
|
90
|
+
prev == o.prev
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# @see the `==` method
|
|
94
|
+
# @param [Object] Object to be compared
|
|
95
|
+
def eql?(o)
|
|
96
|
+
self == o
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Calculates hash code according to all attributes.
|
|
100
|
+
# @return [Fixnum] Hash code
|
|
101
|
+
def hash
|
|
102
|
+
[_self, _next, prev].hash
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Builds the object from hash
|
|
106
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
107
|
+
# @return [Object] Returns the model itself
|
|
108
|
+
def build_from_hash(attributes)
|
|
109
|
+
return nil unless attributes.is_a?(Hash)
|
|
110
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
111
|
+
if type =~ /\AArray<(.*)>/i
|
|
112
|
+
# check to ensure the input is an array given that the the attribute
|
|
113
|
+
# is documented as an array but the input is not
|
|
114
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
115
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
116
|
+
end
|
|
117
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
118
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
119
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
self
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# Deserializes the data based on type
|
|
126
|
+
# @param string type Data type
|
|
127
|
+
# @param string value Value to be deserialized
|
|
128
|
+
# @return [Object] Deserialized data
|
|
129
|
+
def _deserialize(type, value)
|
|
130
|
+
case type.to_sym
|
|
131
|
+
when :DateTime
|
|
132
|
+
DateTime.parse(value)
|
|
133
|
+
when :Date
|
|
134
|
+
Date.parse(value)
|
|
135
|
+
when :String
|
|
136
|
+
value.to_s
|
|
137
|
+
when :Integer
|
|
138
|
+
value.to_i
|
|
139
|
+
when :Float
|
|
140
|
+
value.to_f
|
|
141
|
+
when :BOOLEAN
|
|
142
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
143
|
+
true
|
|
144
|
+
else
|
|
145
|
+
false
|
|
146
|
+
end
|
|
147
|
+
when :Object
|
|
148
|
+
# generic object (usually a Hash), return directly
|
|
149
|
+
value
|
|
150
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
151
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
152
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
153
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
154
|
+
k_type = Regexp.last_match[:k_type]
|
|
155
|
+
v_type = Regexp.last_match[:v_type]
|
|
156
|
+
{}.tap do |hash|
|
|
157
|
+
value.each do |k, v|
|
|
158
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
else # model
|
|
162
|
+
temp_model = CyberSource.const_get(type).new
|
|
163
|
+
temp_model.build_from_hash(value)
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
# Returns the string representation of the object
|
|
168
|
+
# @return [String] String presentation of the object
|
|
169
|
+
def to_s
|
|
170
|
+
to_hash.to_s
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
174
|
+
# @return [Hash] Returns the object in the form of hash
|
|
175
|
+
def to_body
|
|
176
|
+
to_hash
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Returns the object in the form of hash
|
|
180
|
+
# @return [Hash] Returns the object in the form of hash
|
|
181
|
+
def to_hash
|
|
182
|
+
hash = {}
|
|
183
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
184
|
+
value = self.send(attr)
|
|
185
|
+
next if value.nil?
|
|
186
|
+
hash[param] = _to_hash(value)
|
|
187
|
+
end
|
|
188
|
+
hash
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# Outputs non-array value in the form of hash
|
|
192
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
193
|
+
# @param [Object] value Any valid value
|
|
194
|
+
# @return [Hash] Returns the value in the form of hash
|
|
195
|
+
def _to_hash(value)
|
|
196
|
+
if value.is_a?(Array)
|
|
197
|
+
value.compact.map { |v| _to_hash(v) }
|
|
198
|
+
elsif value.is_a?(Hash)
|
|
199
|
+
{}.tap do |hash|
|
|
200
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
201
|
+
end
|
|
202
|
+
elsif value.respond_to? :to_hash
|
|
203
|
+
value.to_hash
|
|
204
|
+
else
|
|
205
|
+
value
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
end
|
|
209
|
+
end
|
|
@@ -12,27 +12,29 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
# An object containing the count of completed payment cycles by status.
|
|
16
|
+
class GetSubscriptionsPaymentsResponseCyclesCompletedCount
|
|
17
|
+
# The number of payment cycles that have status PAID.
|
|
18
|
+
attr_accessor :paid
|
|
17
19
|
|
|
18
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
19
21
|
def self.attribute_map
|
|
20
22
|
{
|
|
21
|
-
:'
|
|
23
|
+
:'paid' => :'paid'
|
|
22
24
|
}
|
|
23
25
|
end
|
|
24
26
|
|
|
25
27
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
26
28
|
def self.json_map
|
|
27
29
|
{
|
|
28
|
-
:'
|
|
30
|
+
:'paid' => :'paid'
|
|
29
31
|
}
|
|
30
32
|
end
|
|
31
33
|
|
|
32
34
|
# Attribute type mapping.
|
|
33
35
|
def self.swagger_types
|
|
34
36
|
{
|
|
35
|
-
:'
|
|
37
|
+
:'paid' => :'Integer'
|
|
36
38
|
}
|
|
37
39
|
end
|
|
38
40
|
|
|
@@ -44,8 +46,8 @@ module CyberSource
|
|
|
44
46
|
# convert string to symbol for hash key
|
|
45
47
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
46
48
|
|
|
47
|
-
if attributes.has_key?(:'
|
|
48
|
-
self.
|
|
49
|
+
if attributes.has_key?(:'paid')
|
|
50
|
+
self.paid = attributes[:'paid']
|
|
49
51
|
end
|
|
50
52
|
end
|
|
51
53
|
|
|
@@ -67,7 +69,7 @@ module CyberSource
|
|
|
67
69
|
def ==(o)
|
|
68
70
|
return true if self.equal?(o)
|
|
69
71
|
self.class == o.class &&
|
|
70
|
-
|
|
72
|
+
paid == o.paid
|
|
71
73
|
end
|
|
72
74
|
|
|
73
75
|
# @see the `==` method
|
|
@@ -79,7 +81,7 @@ module CyberSource
|
|
|
79
81
|
# Calculates hash code according to all attributes.
|
|
80
82
|
# @return [Fixnum] Hash code
|
|
81
83
|
def hash
|
|
82
|
-
[
|
|
84
|
+
[paid].hash
|
|
83
85
|
end
|
|
84
86
|
|
|
85
87
|
# Builds the object from hash
|
data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_subscription_payment.rb
ADDED
|
@@ -0,0 +1,356 @@
|
|
|
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 GetSubscriptionsPaymentsResponseSubscriptionPayment
|
|
16
|
+
# Identifier assigned by Recurring Billing to uniquely reference this billing cycle's payment, distinct from the Cybersource transactionID.
|
|
17
|
+
attr_accessor :id
|
|
18
|
+
|
|
19
|
+
# The current status of the payment. Possible values: - SCHEDULED - PAID - FAILED - SKIPPED - SCHEDULED_SKIPPED
|
|
20
|
+
attr_accessor :status
|
|
21
|
+
|
|
22
|
+
# The type of payment. Possible values: - STANDARD - RETRY
|
|
23
|
+
attr_accessor :payment_type
|
|
24
|
+
|
|
25
|
+
# An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.
|
|
26
|
+
attr_accessor :transaction_id
|
|
27
|
+
|
|
28
|
+
# The date and time of the payment processing.
|
|
29
|
+
attr_accessor :date
|
|
30
|
+
|
|
31
|
+
# Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency. #### Tax Calculation Required for international tax and value added tax only. Optional for U.S. and Canadian taxes. Your local currency.
|
|
32
|
+
attr_accessor :currency
|
|
33
|
+
|
|
34
|
+
# The start date of the billing cycle for this payment.
|
|
35
|
+
attr_accessor :billing_start_date
|
|
36
|
+
|
|
37
|
+
# The end date of the billing cycle for this payment.
|
|
38
|
+
attr_accessor :billing_end_date
|
|
39
|
+
|
|
40
|
+
# The billing cycle number.
|
|
41
|
+
attr_accessor :billing_cycle
|
|
42
|
+
|
|
43
|
+
# The sequential number of the payment in the subscription.
|
|
44
|
+
attr_accessor :payment_number
|
|
45
|
+
|
|
46
|
+
# The amount billed for this payment.
|
|
47
|
+
attr_accessor :billing_amount
|
|
48
|
+
|
|
49
|
+
# The setup fee associated with the payment.
|
|
50
|
+
attr_accessor :setup_fee
|
|
51
|
+
|
|
52
|
+
# The surcharge amount, if any.
|
|
53
|
+
attr_accessor :surcharge_amount
|
|
54
|
+
|
|
55
|
+
# The description for the surcharge.
|
|
56
|
+
attr_accessor :surcharge_description
|
|
57
|
+
|
|
58
|
+
# Indicates if the payment is modifiable, meaning it can be skipped or restored.
|
|
59
|
+
attr_accessor :modifiable
|
|
60
|
+
|
|
61
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
62
|
+
def self.attribute_map
|
|
63
|
+
{
|
|
64
|
+
:'id' => :'id',
|
|
65
|
+
:'status' => :'status',
|
|
66
|
+
:'payment_type' => :'paymentType',
|
|
67
|
+
:'transaction_id' => :'transactionID',
|
|
68
|
+
:'date' => :'date',
|
|
69
|
+
:'currency' => :'currency',
|
|
70
|
+
:'billing_start_date' => :'billingStartDate',
|
|
71
|
+
:'billing_end_date' => :'billingEndDate',
|
|
72
|
+
:'billing_cycle' => :'billingCycle',
|
|
73
|
+
:'payment_number' => :'paymentNumber',
|
|
74
|
+
:'billing_amount' => :'billingAmount',
|
|
75
|
+
:'setup_fee' => :'setupFee',
|
|
76
|
+
:'surcharge_amount' => :'surchargeAmount',
|
|
77
|
+
:'surcharge_description' => :'surchargeDescription',
|
|
78
|
+
:'modifiable' => :'modifiable'
|
|
79
|
+
}
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
83
|
+
def self.json_map
|
|
84
|
+
{
|
|
85
|
+
:'id' => :'id',
|
|
86
|
+
:'status' => :'status',
|
|
87
|
+
:'payment_type' => :'payment_type',
|
|
88
|
+
:'transaction_id' => :'transaction_id',
|
|
89
|
+
:'date' => :'date',
|
|
90
|
+
:'currency' => :'currency',
|
|
91
|
+
:'billing_start_date' => :'billing_start_date',
|
|
92
|
+
:'billing_end_date' => :'billing_end_date',
|
|
93
|
+
:'billing_cycle' => :'billing_cycle',
|
|
94
|
+
:'payment_number' => :'payment_number',
|
|
95
|
+
:'billing_amount' => :'billing_amount',
|
|
96
|
+
:'setup_fee' => :'setup_fee',
|
|
97
|
+
:'surcharge_amount' => :'surcharge_amount',
|
|
98
|
+
:'surcharge_description' => :'surcharge_description',
|
|
99
|
+
:'modifiable' => :'modifiable'
|
|
100
|
+
}
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Attribute type mapping.
|
|
104
|
+
def self.swagger_types
|
|
105
|
+
{
|
|
106
|
+
:'id' => :'String',
|
|
107
|
+
:'status' => :'String',
|
|
108
|
+
:'payment_type' => :'String',
|
|
109
|
+
:'transaction_id' => :'String',
|
|
110
|
+
:'date' => :'DateTime',
|
|
111
|
+
:'currency' => :'String',
|
|
112
|
+
:'billing_start_date' => :'DateTime',
|
|
113
|
+
:'billing_end_date' => :'DateTime',
|
|
114
|
+
:'billing_cycle' => :'String',
|
|
115
|
+
:'payment_number' => :'String',
|
|
116
|
+
:'billing_amount' => :'String',
|
|
117
|
+
:'setup_fee' => :'String',
|
|
118
|
+
:'surcharge_amount' => :'String',
|
|
119
|
+
:'surcharge_description' => :'String',
|
|
120
|
+
:'modifiable' => :'BOOLEAN'
|
|
121
|
+
}
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# Initializes the object
|
|
125
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
126
|
+
def initialize(attributes = {})
|
|
127
|
+
return unless attributes.is_a?(Hash)
|
|
128
|
+
|
|
129
|
+
# convert string to symbol for hash key
|
|
130
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
131
|
+
|
|
132
|
+
if attributes.has_key?(:'id')
|
|
133
|
+
self.id = attributes[:'id']
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
if attributes.has_key?(:'status')
|
|
137
|
+
self.status = attributes[:'status']
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
if attributes.has_key?(:'paymentType')
|
|
141
|
+
self.payment_type = attributes[:'paymentType']
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
if attributes.has_key?(:'transactionID')
|
|
145
|
+
self.transaction_id = attributes[:'transactionID']
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
if attributes.has_key?(:'date')
|
|
149
|
+
self.date = attributes[:'date']
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
if attributes.has_key?(:'currency')
|
|
153
|
+
self.currency = attributes[:'currency']
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
if attributes.has_key?(:'billingStartDate')
|
|
157
|
+
self.billing_start_date = attributes[:'billingStartDate']
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
if attributes.has_key?(:'billingEndDate')
|
|
161
|
+
self.billing_end_date = attributes[:'billingEndDate']
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
if attributes.has_key?(:'billingCycle')
|
|
165
|
+
self.billing_cycle = attributes[:'billingCycle']
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
if attributes.has_key?(:'paymentNumber')
|
|
169
|
+
self.payment_number = attributes[:'paymentNumber']
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
if attributes.has_key?(:'billingAmount')
|
|
173
|
+
self.billing_amount = attributes[:'billingAmount']
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
if attributes.has_key?(:'setupFee')
|
|
177
|
+
self.setup_fee = attributes[:'setupFee']
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
if attributes.has_key?(:'surchargeAmount')
|
|
181
|
+
self.surcharge_amount = attributes[:'surchargeAmount']
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
if attributes.has_key?(:'surchargeDescription')
|
|
185
|
+
self.surcharge_description = attributes[:'surchargeDescription']
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
if attributes.has_key?(:'modifiable')
|
|
189
|
+
self.modifiable = attributes[:'modifiable']
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
194
|
+
# @return Array for valid properties with the reasons
|
|
195
|
+
def list_invalid_properties
|
|
196
|
+
invalid_properties = Array.new
|
|
197
|
+
invalid_properties
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# Check to see if the all the properties in the model are valid
|
|
201
|
+
# @return true if the model is valid
|
|
202
|
+
def valid?
|
|
203
|
+
true
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
# Custom attribute writer method with validation
|
|
207
|
+
# @param [Object] transaction_id Value to be assigned
|
|
208
|
+
def transaction_id=(transaction_id)
|
|
209
|
+
@transaction_id = transaction_id
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
# Custom attribute writer method with validation
|
|
213
|
+
# @param [Object] currency Value to be assigned
|
|
214
|
+
def currency=(currency)
|
|
215
|
+
@currency = currency
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
# Checks equality by comparing each attribute.
|
|
219
|
+
# @param [Object] Object to be compared
|
|
220
|
+
def ==(o)
|
|
221
|
+
return true if self.equal?(o)
|
|
222
|
+
self.class == o.class &&
|
|
223
|
+
id == o.id &&
|
|
224
|
+
status == o.status &&
|
|
225
|
+
payment_type == o.payment_type &&
|
|
226
|
+
transaction_id == o.transaction_id &&
|
|
227
|
+
date == o.date &&
|
|
228
|
+
currency == o.currency &&
|
|
229
|
+
billing_start_date == o.billing_start_date &&
|
|
230
|
+
billing_end_date == o.billing_end_date &&
|
|
231
|
+
billing_cycle == o.billing_cycle &&
|
|
232
|
+
payment_number == o.payment_number &&
|
|
233
|
+
billing_amount == o.billing_amount &&
|
|
234
|
+
setup_fee == o.setup_fee &&
|
|
235
|
+
surcharge_amount == o.surcharge_amount &&
|
|
236
|
+
surcharge_description == o.surcharge_description &&
|
|
237
|
+
modifiable == o.modifiable
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
# @see the `==` method
|
|
241
|
+
# @param [Object] Object to be compared
|
|
242
|
+
def eql?(o)
|
|
243
|
+
self == o
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
# Calculates hash code according to all attributes.
|
|
247
|
+
# @return [Fixnum] Hash code
|
|
248
|
+
def hash
|
|
249
|
+
[id, status, payment_type, transaction_id, date, currency, billing_start_date, billing_end_date, billing_cycle, payment_number, billing_amount, setup_fee, surcharge_amount, surcharge_description, modifiable].hash
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
# Builds the object from hash
|
|
253
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
254
|
+
# @return [Object] Returns the model itself
|
|
255
|
+
def build_from_hash(attributes)
|
|
256
|
+
return nil unless attributes.is_a?(Hash)
|
|
257
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
258
|
+
if type =~ /\AArray<(.*)>/i
|
|
259
|
+
# check to ensure the input is an array given that the the attribute
|
|
260
|
+
# is documented as an array but the input is not
|
|
261
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
262
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
263
|
+
end
|
|
264
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
265
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
266
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
self
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
# Deserializes the data based on type
|
|
273
|
+
# @param string type Data type
|
|
274
|
+
# @param string value Value to be deserialized
|
|
275
|
+
# @return [Object] Deserialized data
|
|
276
|
+
def _deserialize(type, value)
|
|
277
|
+
case type.to_sym
|
|
278
|
+
when :DateTime
|
|
279
|
+
DateTime.parse(value)
|
|
280
|
+
when :Date
|
|
281
|
+
Date.parse(value)
|
|
282
|
+
when :String
|
|
283
|
+
value.to_s
|
|
284
|
+
when :Integer
|
|
285
|
+
value.to_i
|
|
286
|
+
when :Float
|
|
287
|
+
value.to_f
|
|
288
|
+
when :BOOLEAN
|
|
289
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
290
|
+
true
|
|
291
|
+
else
|
|
292
|
+
false
|
|
293
|
+
end
|
|
294
|
+
when :Object
|
|
295
|
+
# generic object (usually a Hash), return directly
|
|
296
|
+
value
|
|
297
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
298
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
299
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
300
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
301
|
+
k_type = Regexp.last_match[:k_type]
|
|
302
|
+
v_type = Regexp.last_match[:v_type]
|
|
303
|
+
{}.tap do |hash|
|
|
304
|
+
value.each do |k, v|
|
|
305
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
306
|
+
end
|
|
307
|
+
end
|
|
308
|
+
else # model
|
|
309
|
+
temp_model = CyberSource.const_get(type).new
|
|
310
|
+
temp_model.build_from_hash(value)
|
|
311
|
+
end
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
# Returns the string representation of the object
|
|
315
|
+
# @return [String] String presentation of the object
|
|
316
|
+
def to_s
|
|
317
|
+
to_hash.to_s
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
321
|
+
# @return [Hash] Returns the object in the form of hash
|
|
322
|
+
def to_body
|
|
323
|
+
to_hash
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
# Returns the object in the form of hash
|
|
327
|
+
# @return [Hash] Returns the object in the form of hash
|
|
328
|
+
def to_hash
|
|
329
|
+
hash = {}
|
|
330
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
331
|
+
value = self.send(attr)
|
|
332
|
+
next if value.nil?
|
|
333
|
+
hash[param] = _to_hash(value)
|
|
334
|
+
end
|
|
335
|
+
hash
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
# Outputs non-array value in the form of hash
|
|
339
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
340
|
+
# @param [Object] value Any valid value
|
|
341
|
+
# @return [Hash] Returns the value in the form of hash
|
|
342
|
+
def _to_hash(value)
|
|
343
|
+
if value.is_a?(Array)
|
|
344
|
+
value.compact.map { |v| _to_hash(v) }
|
|
345
|
+
elsif value.is_a?(Hash)
|
|
346
|
+
{}.tap do |hash|
|
|
347
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
348
|
+
end
|
|
349
|
+
elsif value.respond_to? :to_hash
|
|
350
|
+
value.to_hash
|
|
351
|
+
else
|
|
352
|
+
value
|
|
353
|
+
end
|
|
354
|
+
end
|
|
355
|
+
end
|
|
356
|
+
end
|
|
@@ -12,8 +12,8 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
# Amount Detail data.
|
|
16
|
-
class
|
|
15
|
+
# Amount Detail data. Breaks down the total transaction amount into components.
|
|
16
|
+
class IccAmountDetail
|
|
17
17
|
# The final amount that the customer needs to pay or paid.
|
|
18
18
|
attr_accessor :total_amount
|
|
19
19
|
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class IccLineItem
|
|
16
16
|
# Unique identifier for the product.
|
|
17
17
|
attr_accessor :product_sku
|
|
18
18
|
|
|
@@ -75,10 +75,10 @@ module CyberSource
|
|
|
75
75
|
:'quantity' => :'String',
|
|
76
76
|
:'unit_price' => :'String',
|
|
77
77
|
:'unit_price_currency' => :'String',
|
|
78
|
-
:'amount_detail' => :'
|
|
78
|
+
:'amount_detail' => :'IccAmountDetail',
|
|
79
79
|
:'product_url' => :'String',
|
|
80
|
-
:'policies' => :'
|
|
81
|
-
:'additional_info' => :'Array<
|
|
80
|
+
:'policies' => :'IccLineItemPolicies',
|
|
81
|
+
:'additional_info' => :'Array<IccLineItemAdditionalInfo>'
|
|
82
82
|
}
|
|
83
83
|
end
|
|
84
84
|
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class IccLineItemAdditionalInfo
|
|
16
16
|
# Key for the additional information.
|
|
17
17
|
attr_accessor :key
|
|
18
18
|
|
|
@@ -13,7 +13,7 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
# Policies related to the item.
|
|
16
|
-
class
|
|
16
|
+
class IccLineItemPolicies
|
|
17
17
|
# Any specific terms and conditions related to the sale, payment, use of the product.
|
|
18
18
|
attr_accessor :terms_and_conditions
|
|
19
19
|
|