cybersource_rest_client 0.0.55 → 0.0.57
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +14 -0
- data/lib/cybersource_rest_client/api/batches_api.rb +19 -37
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +12 -0
- data/lib/cybersource_rest_client/api/capture_api.rb +4 -0
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +2 -8
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +2 -8
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +2 -8
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +253 -0
- data/lib/cybersource_rest_client/api/credit_api.rb +4 -0
- data/lib/cybersource_rest_client/api/customer_api.rb +12 -64
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +14 -124
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +14 -124
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +20 -0
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +2 -0
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +2 -0
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +6 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +18 -108
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +2 -8
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +10 -4
- data/lib/cybersource_rest_client/api/invoices_api.rb +28 -12
- data/lib/cybersource_rest_client/api/keymanagement_api.rb +2 -0
- data/lib/cybersource_rest_client/api/keymanagementpassword_api.rb +4 -0
- data/lib/cybersource_rest_client/api/keymanagementpgp_api.rb +4 -0
- data/lib/cybersource_rest_client/api/keymanagementscmp_api.rb +4 -0
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +491 -0
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +169 -0
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +4 -0
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +2 -8
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +2 -0
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +12 -0
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +2 -16
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +12 -64
- data/lib/cybersource_rest_client/api/payments_api.rb +12 -0
- data/lib/cybersource_rest_client/api/payouts_api.rb +4 -0
- data/lib/cybersource_rest_client/api/plans_api.rb +20 -0
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +2 -16
- data/lib/cybersource_rest_client/api/push_funds_api.rb +4 -0
- data/lib/cybersource_rest_client/api/refund_api.rb +8 -0
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +4 -16
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -8
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +16 -58
- data/lib/cybersource_rest_client/api/reports_api.rb +10 -26
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +2 -8
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +2 -8
- data/lib/cybersource_rest_client/api/reversal_api.rb +8 -0
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +6 -0
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -16
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +20 -0
- data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +14 -0
- data/lib/cybersource_rest_client/api/taxes_api.rb +8 -0
- data/lib/cybersource_rest_client/api/token_api.rb +2 -16
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +6 -0
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +2 -0
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +2 -0
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +4 -0
- data/lib/cybersource_rest_client/api/user_management_api.rb +2 -0
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +4 -0
- data/lib/cybersource_rest_client/api/verification_api.rb +8 -0
- data/lib/cybersource_rest_client/api/void_api.rb +20 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_document_information.rb +192 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_document_information_signed_documents.rb +196 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information.rb +205 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_oauth2.rb +221 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +225 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_information.rb +197 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information.rb +356 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +484 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_address.rb +360 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_business_contact.rb +341 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc.rb +382 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account.rb +331 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +526 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_product_information.rb +190 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_product_information_selected_products.rb +220 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_registration_information.rb +330 -0
- data/lib/cybersource_rest_client/models/capture_payment_request.rb +11 -1
- data/lib/cybersource_rest_client/models/commerce_solutions_products.rb +210 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater.rb +200 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations.rb +242 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_amex.rb +221 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_master_card.rb +222 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_visa.rb +222 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup.rb +200 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup_configuration_information.rb +190 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup_configuration_information_configurations.rb +202 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management.rb +200 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information_configurations.rb +191 -0
- data/lib/cybersource_rest_client/models/create_credit_request.rb +11 -1
- data/lib/cybersource_rest_client/models/create_payment_request.rb +11 -1
- data/lib/cybersource_rest_client/models/create_search_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_webhook_request.rb +290 -0
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_bill_to.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +54 -52
- data/lib/cybersource_rest_client/models/inline_response_200_2_integration_information.rb +205 -0
- data/lib/cybersource_rest_client/models/inline_response_200_2_integration_information_tenant_configurations.rb +297 -0
- data/lib/cybersource_rest_client/models/inline_response_200_3.rb +26 -103
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +126 -83
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +252 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded.rb → inline_response_200_5__embedded.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded__links.rb → inline_response_200_5__embedded__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded__links_reports.rb → inline_response_200_5__embedded__links_reports.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded_batches.rb → inline_response_200_5__embedded_batches.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded_totals.rb → inline_response_200_5__embedded_totals.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_2__links.rb → inline_response_200_5__links.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_6.rb +291 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_3__links.rb → inline_response_200_6__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_3__links_report.rb → inline_response_200_6__links_report.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_3_billing.rb → inline_response_200_6_billing.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_7.rb +293 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_4_records.rb → inline_response_200_7_records.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_4_response_record.rb → inline_response_200_7_response_record.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_4_response_record_additional_updates.rb → inline_response_200_7_response_record_additional_updates.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_4_source_record.rb → inline_response_200_7_source_record.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_1.rb +316 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_integration_information.rb +193 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_integration_information_tenant_configurations.rb +287 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_organization_information.rb +218 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_product_information_setups.rb +215 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_registration_information.rb +257 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups.rb +220 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_commerce_solutions.rb +210 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments.rb +340 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing_configuration_status.rb +300 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing_subscription_status.rb +279 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_digital_payments.rb +190 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_risk.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_setups_value_added_services.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_201_2.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_201_2_key_information.rb +301 -0
- data/lib/cybersource_rest_client/models/inline_response_201_2_key_information_error_information.rb +203 -0
- data/lib/cybersource_rest_client/models/inline_response_201_2_key_information_error_information_details.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +348 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_400_7.rb +37 -43
- data/lib/cybersource_rest_client/models/inline_response_400_7_details.rb +17 -15
- data/lib/cybersource_rest_client/models/inline_response_400_8.rb +276 -0
- data/lib/cybersource_rest_client/models/inline_response_400_8_details.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_404_1.rb +270 -0
- data/lib/cybersource_rest_client/models/inline_response_404_2.rb +212 -0
- data/lib/cybersource_rest_client/models/inline_response_404_2_details.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_422_1.rb +270 -0
- data/lib/cybersource_rest_client/models/inline_response_500_3.rb +258 -0
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb +1 -1
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +7 -1
- data/lib/cybersource_rest_client/models/kmsegressv2keysasym_client_reference_information.rb +198 -0
- data/lib/cybersource_rest_client/models/kmsegressv2keysasym_key_information.rb +280 -0
- data/lib/cybersource_rest_client/models/kmsegressv2keyssym_client_reference_information.rb +198 -0
- data/lib/cybersource_rest_client/models/kmsegressv2keyssym_key_information.rb +280 -0
- data/lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kmsv2keyssymdeletes_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/kmsv2keyssymverifi_key_information.rb +1 -1
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1productsorganization_id_event_types.rb +234 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_notification_scope.rb +206 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_products.rb +203 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_retry_policy.rb +271 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy.rb +202 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1.rb +213 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config.rb +224 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config_additional_config.rb +221 -0
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_config.rb +214 -0
- data/lib/cybersource_rest_client/models/nrtfv1webhookswebhook_idreplays_by_delivery_status.rb +244 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present.rb +236 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_installment.rb +202 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_payouts.rb +281 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_processors.rb +245 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_present_processors.rb +259 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_common_merchant_descriptor_info.rb +269 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_config_features_card_not_present_payouts_currencies.rb +258 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service.rb +203 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_internal_only.rb +193 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_processors.rb +262 -0
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_j_cbj_secure.rb +221 -0
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified.rb +204 -0
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified_currencies.rb +244 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_customer_notifications.rb +258 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_merchant_notifications.rb +235 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types.rb +220 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types_discover.rb +257 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info.rb +210 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info_basic_info.rb +318 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_merchant_defined_data_fields.rb +430 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_payment_info.rb +338 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info.rb +210 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_email_receipt.rb +190 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_header.rb +190 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_order_info.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products.rb +350 -0
- data/lib/cybersource_rest_client/models/payments_products_card_present_connect.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_card_present_connect_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_card_present_connect_configuration_information_configurations.rb +191 -0
- data/lib/cybersource_rest_client/models/payments_products_card_present_connect_subscription_information.rb +237 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common.rb +446 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_acquirer.rb +236 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_currencies.rb +258 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_currencies_1.rb +225 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_payment_types.rb +203 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_common_processors.rb +721 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_features.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information_configurations_features_card_present.rb +204 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_subscription_information.rb +250 -0
- data/lib/cybersource_rest_client/models/payments_products_card_processing_subscription_information_features.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_currency_conversion.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information_configurations.rb +192 -0
- data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information_configurations_processors.rb +201 -0
- data/lib/cybersource_rest_client/models/payments_products_cybs_ready_terminal.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_differential_fee.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_differential_fee_subscription_information.rb +247 -0
- data/lib/cybersource_rest_client/models/payments_products_differential_fee_subscription_information_features.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_digital_payments.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_digital_payments_subscription_information.rb +250 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_config_common_internal_only_processors.rb +242 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations.rb +210 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_common.rb +296 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_common_internal_only.rb +206 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_common_processors.rb +261 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_features.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information_configurations_underwriting.rb +334 -0
- data/lib/cybersource_rest_client/models/payments_products_e_check_subscription_information.rb +250 -0
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information_configurations.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information_configurations_card_types.rb +260 -0
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information_configurations_card_types_cb.rb +221 -0
- data/lib/cybersource_rest_client/models/payments_products_payer_authentication_subscription_information.rb +237 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations.rb +204 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_processor_account.rb +237 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pullfunds.rb +311 -0
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pushfunds.rb +336 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations.rb +251 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_checkout.rb +213 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_contact_information.rb +221 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_notifications.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_payment_methods.rb +214 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_payment_types.rb +191 -0
- data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information_configurations_service.rb +257 -0
- data/lib/cybersource_rest_client/models/payments_products_tax.rb +190 -0
- data/lib/cybersource_rest_client/models/payments_products_virtual_terminal.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_virtual_terminal_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_virtual_terminal_configuration_information_configurations.rb +200 -0
- data/lib/cybersource_rest_client/models/payments_products_virtual_terminal_configuration_information_configurations_card_not_present.rb +200 -0
- data/lib/cybersource_rest_client/models/post_registration_body.rb +230 -0
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type_method.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +4 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_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_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +18 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_info_codes.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_device_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +9 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +19 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_secure_information.rb +249 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_location.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +9 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +28 -11
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_vehicle_data.rb +214 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information_weights.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +27 -10
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/replay_webhooks_request.rb +202 -0
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response.rb +1 -0
- data/lib/cybersource_rest_client/models/risk_products.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_accurint.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_accurint_creds.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_credilink.rb +220 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_credilink_creds.rb +210 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_ekata_creds.rb +190 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_emailage.rb +220 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_perseuss.rb +210 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_signifyd.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_signifyd_creds.rb +220 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_targus.rb +210 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_targus_creds.rb +210 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations.rb +220 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_organization.rb +191 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_portfolio_controls.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_processing_options.rb +190 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty.rb +190 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty_provider.rb +250 -0
- data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty_provider_ekata.rb +220 -0
- data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials.rb +200 -0
- data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials_configuration_information.rb +190 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +4 -4
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +7 -7
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +6 -6
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +7 -7
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +2 -2
- data/lib/cybersource_rest_client/models/save_asym_egress_key.rb +216 -0
- data/lib/cybersource_rest_client/models/save_sym_egress_key.rb +216 -0
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +5 -5
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +7 -7
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +10 -10
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +4 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +1 -1
- data/lib/cybersource_rest_client/models/tssv2transactionsemv_tag_details_emv_details_list.rb +1 -1
- data/lib/cybersource_rest_client/models/update_webhook_request.rb +315 -0
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to.rb +7 -7
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to_company.rb +3 -3
- data/lib/cybersource_rest_client/models/value_added_services_products.rb +200 -0
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_tax_information.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +7 -7
- data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +1 -1
- data/lib/cybersource_rest_client/utilities/tracking/sdk_tracker.rb +71 -0
- data/lib/cybersource_rest_client.rb +214 -13
- metadata +217 -30
@@ -0,0 +1,446 @@
|
|
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.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module CyberSource
|
16
|
+
class PaymentsProductsCardProcessingConfigurationInformationConfigurationsCommon
|
17
|
+
# e.g. * amexdirect * barclays2 * CUP * EFTPOS * fdiglobal * gpx * smartfdc * tsys * vero * VPC For VPC, CUP and EFTPOS processors, replace the processor name from VPC or CUP or EFTPOS to the actual processor name in the sample request. e.g. replace VPC with <your vpc processor>
|
18
|
+
attr_accessor :processors
|
19
|
+
|
20
|
+
# Vendor code assigned by American Express. Applicable for TSYS (tsys) processor.
|
21
|
+
attr_accessor :amex_vendor_code
|
22
|
+
|
23
|
+
# Authorization Finality indicator. Please note that the input can be in small case or capitals but response is in small case as of now. It will be made capitals everywhere in the next version. Applicable for Elavon Americas (elavonamericas), TSYS (tsys), Barclays (barclays2), Streamline (streamline2), Six (six), Barclays HISO (barclayshiso), GPN (gpn), FDI Global (fdiglobal), GPX (gpx), Paymentech Tampa (paymentechtampa), FDC Nashville (smartfdc), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>FINAL</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td><td>FINAL</td></tr> </table>
|
24
|
+
attr_accessor :default_auth_type_code
|
25
|
+
|
26
|
+
# MAID aka MasterCard assigned ID, MasterCard equivalent of Merchant Verification Value by Visa. Applicable for VPC, GPX (gpx) and FDI Global (fdiglobal) processors.
|
27
|
+
attr_accessor :master_card_assigned_id
|
28
|
+
|
29
|
+
# Allow merchants to accept partial authorization approvals. Applicable for Elavon Americas (elavonamericas), VPC, GPX (gpx), FDI Global (fdiglobal), FDC Nashville (smartfdc), GPN (gpn), TSYS (tsys), American Express Direct (amexdirect), Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>No</td></tr> </table>
|
30
|
+
attr_accessor :enable_partial_auth
|
31
|
+
|
32
|
+
# Indicates type of business product or service of the merchant. Applicable for Chase Paymentech Salem (chasepaymentechsalem), FDI Global (fdiglobal), RUPAY, Elavon Americas (elavonamericas), American Express Direct (amexdirect), CMCIC (cmcic), GPX (gpx), VPC, TSYS (tsys), EFTPOS, CUP, Paymentech Tampa (paymentechtampa), CB2A, Barclays (barclays2), Prisma (prisma) and GPN (gpn) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays</td><td>cnp</td><td>No</td><td>4</td><td>4</td><td>^[0-9]+$</td></tr> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>4</td><td>4</td><td>^[0-9]+$</td></tr> </table>
|
33
|
+
attr_accessor :merchant_category_code
|
34
|
+
|
35
|
+
# The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors.
|
36
|
+
attr_accessor :sic_code
|
37
|
+
|
38
|
+
# Food and Consumer Service ID. Identifies the merchant as being certified and approved to accept Food Stamps. Applicable for GPX (gpx) processor.
|
39
|
+
attr_accessor :food_and_consumer_service_id
|
40
|
+
|
41
|
+
# Enables you to split an order into multiple shipments with multiple captures. This feature is provided by CyberSource and supports three different scenarios: * multiple authorizations * multiple captures * multiple authorizations with multiple captures Applicable for VPC processors.
|
42
|
+
attr_accessor :enable_split_shipment
|
43
|
+
|
44
|
+
# Reduces your interchange fees by using automatic authorization refresh and automatic partial authorization reversal. Applicable for VPC processors.
|
45
|
+
attr_accessor :enable_interchange_optimization
|
46
|
+
|
47
|
+
# Identifier provided to merchants who opt for Visa's delegated authorization program. Applicable for VPC processors.
|
48
|
+
attr_accessor :visa_delegated_authentication_id
|
49
|
+
|
50
|
+
# Blocks over-refunds when the aggregated refund amount is higher than the percentage set for this field. Applicable for GPX (gpx), VPC and Chase Paymentech Salem (chasepaymentechsalem) processors.
|
51
|
+
attr_accessor :credit_card_refund_limit_percent
|
52
|
+
|
53
|
+
# Limits refunds to the percentage set in this field. Applicable for GPX (gpx) and VPC processors.
|
54
|
+
attr_accessor :business_center_credit_card_refund_limit_percent
|
55
|
+
|
56
|
+
# Enables this merchant account to capture amounts greater than the authorization amount. Applicable for GPX (gpx), VPC, Paymentech Tampa (paymentechtampa) and Chase Paymentech Salem (chasepaymentechsalem) processors.
|
57
|
+
attr_accessor :allow_captures_greater_than_authorizations
|
58
|
+
|
59
|
+
# Helps prevent duplicate transactions. Applicable for VPC, GPX (gpx) and Chase Paymentech Salem (chasepaymentechsalem) processors.
|
60
|
+
attr_accessor :enable_duplicate_merchant_reference_number_blocking
|
61
|
+
|
62
|
+
# This is a local merchant ID used by merchants in addition to the conventional merchant ID. This value is sent to the issuer. Applicable for VPC and Prisma (prisma) processors.
|
63
|
+
attr_accessor :domestic_merchant_id
|
64
|
+
|
65
|
+
# Indicates whether merchant processes Level 3 transactions. Applicable for TSYS (tsys), Barclays (barclays2), Paymentech Tampa (paymentechtampa), FDI Global (fdiglobal), Elavon Americas (elavonamericas) and Chase Paymentech Salem (chasepaymentechsalem) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp</td><td>No</td></tr> </table>
|
66
|
+
attr_accessor :process_level3_data
|
67
|
+
|
68
|
+
# The ID assigned to the sub-merchant. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>20</td><td>^[0-9a-zA-Z\-\_\,\\s.]+$</td></tr> </table>
|
69
|
+
attr_accessor :sub_merchant_id
|
70
|
+
|
71
|
+
# Sub-merchant's business name. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>37</td><td>^[0-9a-zA-Z\-\_\,\\s.]+$</td></tr> </table>
|
72
|
+
attr_accessor :sub_merchant_business_name
|
73
|
+
|
74
|
+
# It denotes merchant's preference on secondary brand for routing in case of co-branded cards. Applicable for EFTPOS processors.
|
75
|
+
attr_accessor :prefer_cobadged_secondary_brand
|
76
|
+
|
77
|
+
attr_accessor :merchant_descriptor_information
|
78
|
+
|
79
|
+
class EnumAttributeValidator
|
80
|
+
attr_reader :datatype
|
81
|
+
attr_reader :allowable_values
|
82
|
+
|
83
|
+
def initialize(datatype, allowable_values)
|
84
|
+
@allowable_values = allowable_values.map do |value|
|
85
|
+
case datatype.to_s
|
86
|
+
when /Integer/i
|
87
|
+
value.to_i
|
88
|
+
when /Float/i
|
89
|
+
value.to_f
|
90
|
+
else
|
91
|
+
value
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
def valid?(value)
|
97
|
+
!value || allowable_values.include?(value)
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
102
|
+
def self.attribute_map
|
103
|
+
{
|
104
|
+
:'processors' => :'processors',
|
105
|
+
:'amex_vendor_code' => :'amexVendorCode',
|
106
|
+
:'default_auth_type_code' => :'defaultAuthTypeCode',
|
107
|
+
:'master_card_assigned_id' => :'masterCardAssignedId',
|
108
|
+
:'enable_partial_auth' => :'enablePartialAuth',
|
109
|
+
:'merchant_category_code' => :'merchantCategoryCode',
|
110
|
+
:'sic_code' => :'sicCode',
|
111
|
+
:'food_and_consumer_service_id' => :'foodAndConsumerServiceId',
|
112
|
+
:'enable_split_shipment' => :'enableSplitShipment',
|
113
|
+
:'enable_interchange_optimization' => :'enableInterchangeOptimization',
|
114
|
+
:'visa_delegated_authentication_id' => :'visaDelegatedAuthenticationId',
|
115
|
+
:'credit_card_refund_limit_percent' => :'creditCardRefundLimitPercent',
|
116
|
+
:'business_center_credit_card_refund_limit_percent' => :'businessCenterCreditCardRefundLimitPercent',
|
117
|
+
:'allow_captures_greater_than_authorizations' => :'allowCapturesGreaterThanAuthorizations',
|
118
|
+
:'enable_duplicate_merchant_reference_number_blocking' => :'enableDuplicateMerchantReferenceNumberBlocking',
|
119
|
+
:'domestic_merchant_id' => :'domesticMerchantId',
|
120
|
+
:'process_level3_data' => :'processLevel3Data',
|
121
|
+
:'sub_merchant_id' => :'subMerchantId',
|
122
|
+
:'sub_merchant_business_name' => :'subMerchantBusinessName',
|
123
|
+
:'prefer_cobadged_secondary_brand' => :'preferCobadgedSecondaryBrand',
|
124
|
+
:'merchant_descriptor_information' => :'merchantDescriptorInformation'
|
125
|
+
}
|
126
|
+
end
|
127
|
+
|
128
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
129
|
+
def self.json_map
|
130
|
+
{
|
131
|
+
:'processors' => :'processors',
|
132
|
+
:'amex_vendor_code' => :'amex_vendor_code',
|
133
|
+
:'default_auth_type_code' => :'default_auth_type_code',
|
134
|
+
:'master_card_assigned_id' => :'master_card_assigned_id',
|
135
|
+
:'enable_partial_auth' => :'enable_partial_auth',
|
136
|
+
:'merchant_category_code' => :'merchant_category_code',
|
137
|
+
:'sic_code' => :'sic_code',
|
138
|
+
:'food_and_consumer_service_id' => :'food_and_consumer_service_id',
|
139
|
+
:'enable_split_shipment' => :'enable_split_shipment',
|
140
|
+
:'enable_interchange_optimization' => :'enable_interchange_optimization',
|
141
|
+
:'visa_delegated_authentication_id' => :'visa_delegated_authentication_id',
|
142
|
+
:'credit_card_refund_limit_percent' => :'credit_card_refund_limit_percent',
|
143
|
+
:'business_center_credit_card_refund_limit_percent' => :'business_center_credit_card_refund_limit_percent',
|
144
|
+
:'allow_captures_greater_than_authorizations' => :'allow_captures_greater_than_authorizations',
|
145
|
+
:'enable_duplicate_merchant_reference_number_blocking' => :'enable_duplicate_merchant_reference_number_blocking',
|
146
|
+
:'domestic_merchant_id' => :'domestic_merchant_id',
|
147
|
+
:'process_level3_data' => :'process_level3_data',
|
148
|
+
:'sub_merchant_id' => :'sub_merchant_id',
|
149
|
+
:'sub_merchant_business_name' => :'sub_merchant_business_name',
|
150
|
+
:'prefer_cobadged_secondary_brand' => :'prefer_cobadged_secondary_brand',
|
151
|
+
:'merchant_descriptor_information' => :'merchant_descriptor_information'
|
152
|
+
}
|
153
|
+
end
|
154
|
+
|
155
|
+
# Attribute type mapping.
|
156
|
+
def self.swagger_types
|
157
|
+
{
|
158
|
+
:'processors' => :'Hash<String, PaymentsProductsCardProcessingConfigurationInformationConfigurationsCommonProcessors>',
|
159
|
+
:'amex_vendor_code' => :'String',
|
160
|
+
:'default_auth_type_code' => :'String',
|
161
|
+
:'master_card_assigned_id' => :'String',
|
162
|
+
:'enable_partial_auth' => :'BOOLEAN',
|
163
|
+
:'merchant_category_code' => :'String',
|
164
|
+
:'sic_code' => :'String',
|
165
|
+
:'food_and_consumer_service_id' => :'String',
|
166
|
+
:'enable_split_shipment' => :'BOOLEAN',
|
167
|
+
:'enable_interchange_optimization' => :'BOOLEAN',
|
168
|
+
:'visa_delegated_authentication_id' => :'String',
|
169
|
+
:'credit_card_refund_limit_percent' => :'String',
|
170
|
+
:'business_center_credit_card_refund_limit_percent' => :'String',
|
171
|
+
:'allow_captures_greater_than_authorizations' => :'BOOLEAN',
|
172
|
+
:'enable_duplicate_merchant_reference_number_blocking' => :'BOOLEAN',
|
173
|
+
:'domestic_merchant_id' => :'BOOLEAN',
|
174
|
+
:'process_level3_data' => :'String',
|
175
|
+
:'sub_merchant_id' => :'String',
|
176
|
+
:'sub_merchant_business_name' => :'String',
|
177
|
+
:'prefer_cobadged_secondary_brand' => :'BOOLEAN',
|
178
|
+
:'merchant_descriptor_information' => :'PaymentsProductsCardProcessingConfigurationInformationConfigurationsCommonMerchantDescriptorInformation'
|
179
|
+
}
|
180
|
+
end
|
181
|
+
|
182
|
+
# Initializes the object
|
183
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
184
|
+
def initialize(attributes = {})
|
185
|
+
return unless attributes.is_a?(Hash)
|
186
|
+
|
187
|
+
# convert string to symbol for hash key
|
188
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
189
|
+
|
190
|
+
if attributes.has_key?(:'processors')
|
191
|
+
if (value = attributes[:'processors']).is_a?(Hash)
|
192
|
+
self.processors = value
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
if attributes.has_key?(:'amexVendorCode')
|
197
|
+
self.amex_vendor_code = attributes[:'amexVendorCode']
|
198
|
+
end
|
199
|
+
|
200
|
+
if attributes.has_key?(:'defaultAuthTypeCode')
|
201
|
+
self.default_auth_type_code = attributes[:'defaultAuthTypeCode']
|
202
|
+
end
|
203
|
+
|
204
|
+
if attributes.has_key?(:'masterCardAssignedId')
|
205
|
+
self.master_card_assigned_id = attributes[:'masterCardAssignedId']
|
206
|
+
end
|
207
|
+
|
208
|
+
if attributes.has_key?(:'enablePartialAuth')
|
209
|
+
self.enable_partial_auth = attributes[:'enablePartialAuth']
|
210
|
+
end
|
211
|
+
|
212
|
+
if attributes.has_key?(:'merchantCategoryCode')
|
213
|
+
self.merchant_category_code = attributes[:'merchantCategoryCode']
|
214
|
+
end
|
215
|
+
|
216
|
+
if attributes.has_key?(:'sicCode')
|
217
|
+
self.sic_code = attributes[:'sicCode']
|
218
|
+
end
|
219
|
+
|
220
|
+
if attributes.has_key?(:'foodAndConsumerServiceId')
|
221
|
+
self.food_and_consumer_service_id = attributes[:'foodAndConsumerServiceId']
|
222
|
+
end
|
223
|
+
|
224
|
+
if attributes.has_key?(:'enableSplitShipment')
|
225
|
+
self.enable_split_shipment = attributes[:'enableSplitShipment']
|
226
|
+
end
|
227
|
+
|
228
|
+
if attributes.has_key?(:'enableInterchangeOptimization')
|
229
|
+
self.enable_interchange_optimization = attributes[:'enableInterchangeOptimization']
|
230
|
+
end
|
231
|
+
|
232
|
+
if attributes.has_key?(:'visaDelegatedAuthenticationId')
|
233
|
+
self.visa_delegated_authentication_id = attributes[:'visaDelegatedAuthenticationId']
|
234
|
+
end
|
235
|
+
|
236
|
+
if attributes.has_key?(:'creditCardRefundLimitPercent')
|
237
|
+
self.credit_card_refund_limit_percent = attributes[:'creditCardRefundLimitPercent']
|
238
|
+
end
|
239
|
+
|
240
|
+
if attributes.has_key?(:'businessCenterCreditCardRefundLimitPercent')
|
241
|
+
self.business_center_credit_card_refund_limit_percent = attributes[:'businessCenterCreditCardRefundLimitPercent']
|
242
|
+
end
|
243
|
+
|
244
|
+
if attributes.has_key?(:'allowCapturesGreaterThanAuthorizations')
|
245
|
+
self.allow_captures_greater_than_authorizations = attributes[:'allowCapturesGreaterThanAuthorizations']
|
246
|
+
end
|
247
|
+
|
248
|
+
if attributes.has_key?(:'enableDuplicateMerchantReferenceNumberBlocking')
|
249
|
+
self.enable_duplicate_merchant_reference_number_blocking = attributes[:'enableDuplicateMerchantReferenceNumberBlocking']
|
250
|
+
end
|
251
|
+
|
252
|
+
if attributes.has_key?(:'domesticMerchantId')
|
253
|
+
self.domestic_merchant_id = attributes[:'domesticMerchantId']
|
254
|
+
end
|
255
|
+
|
256
|
+
if attributes.has_key?(:'processLevel3Data')
|
257
|
+
self.process_level3_data = attributes[:'processLevel3Data']
|
258
|
+
end
|
259
|
+
|
260
|
+
if attributes.has_key?(:'subMerchantId')
|
261
|
+
self.sub_merchant_id = attributes[:'subMerchantId']
|
262
|
+
end
|
263
|
+
|
264
|
+
if attributes.has_key?(:'subMerchantBusinessName')
|
265
|
+
self.sub_merchant_business_name = attributes[:'subMerchantBusinessName']
|
266
|
+
end
|
267
|
+
|
268
|
+
if attributes.has_key?(:'preferCobadgedSecondaryBrand')
|
269
|
+
self.prefer_cobadged_secondary_brand = attributes[:'preferCobadgedSecondaryBrand']
|
270
|
+
end
|
271
|
+
|
272
|
+
if attributes.has_key?(:'merchantDescriptorInformation')
|
273
|
+
self.merchant_descriptor_information = attributes[:'merchantDescriptorInformation']
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
278
|
+
# @return Array for valid properties with the reasons
|
279
|
+
def list_invalid_properties
|
280
|
+
invalid_properties = Array.new
|
281
|
+
invalid_properties
|
282
|
+
end
|
283
|
+
|
284
|
+
# Check to see if the all the properties in the model are valid
|
285
|
+
# @return true if the model is valid
|
286
|
+
def valid?
|
287
|
+
default_auth_type_code_validator = EnumAttributeValidator.new('String', ['PRE', 'FINAL', 'UNDEFINED'])
|
288
|
+
return false unless default_auth_type_code_validator.valid?(@default_auth_type_code)
|
289
|
+
true
|
290
|
+
end
|
291
|
+
|
292
|
+
# Custom attribute writer method checking allowed values (enum).
|
293
|
+
# @param [Object] default_auth_type_code Object to be assigned
|
294
|
+
def default_auth_type_code=(default_auth_type_code)
|
295
|
+
validator = EnumAttributeValidator.new('String', ['PRE', 'FINAL', 'UNDEFINED'])
|
296
|
+
unless validator.valid?(default_auth_type_code)
|
297
|
+
fail ArgumentError, 'invalid value for "default_auth_type_code", must be one of #{validator.allowable_values}.'
|
298
|
+
end
|
299
|
+
@default_auth_type_code = default_auth_type_code
|
300
|
+
end
|
301
|
+
|
302
|
+
# Checks equality by comparing each attribute.
|
303
|
+
# @param [Object] Object to be compared
|
304
|
+
def ==(o)
|
305
|
+
return true if self.equal?(o)
|
306
|
+
self.class == o.class &&
|
307
|
+
processors == o.processors &&
|
308
|
+
amex_vendor_code == o.amex_vendor_code &&
|
309
|
+
default_auth_type_code == o.default_auth_type_code &&
|
310
|
+
master_card_assigned_id == o.master_card_assigned_id &&
|
311
|
+
enable_partial_auth == o.enable_partial_auth &&
|
312
|
+
merchant_category_code == o.merchant_category_code &&
|
313
|
+
sic_code == o.sic_code &&
|
314
|
+
food_and_consumer_service_id == o.food_and_consumer_service_id &&
|
315
|
+
enable_split_shipment == o.enable_split_shipment &&
|
316
|
+
enable_interchange_optimization == o.enable_interchange_optimization &&
|
317
|
+
visa_delegated_authentication_id == o.visa_delegated_authentication_id &&
|
318
|
+
credit_card_refund_limit_percent == o.credit_card_refund_limit_percent &&
|
319
|
+
business_center_credit_card_refund_limit_percent == o.business_center_credit_card_refund_limit_percent &&
|
320
|
+
allow_captures_greater_than_authorizations == o.allow_captures_greater_than_authorizations &&
|
321
|
+
enable_duplicate_merchant_reference_number_blocking == o.enable_duplicate_merchant_reference_number_blocking &&
|
322
|
+
domestic_merchant_id == o.domestic_merchant_id &&
|
323
|
+
process_level3_data == o.process_level3_data &&
|
324
|
+
sub_merchant_id == o.sub_merchant_id &&
|
325
|
+
sub_merchant_business_name == o.sub_merchant_business_name &&
|
326
|
+
prefer_cobadged_secondary_brand == o.prefer_cobadged_secondary_brand &&
|
327
|
+
merchant_descriptor_information == o.merchant_descriptor_information
|
328
|
+
end
|
329
|
+
|
330
|
+
# @see the `==` method
|
331
|
+
# @param [Object] Object to be compared
|
332
|
+
def eql?(o)
|
333
|
+
self == o
|
334
|
+
end
|
335
|
+
|
336
|
+
# Calculates hash code according to all attributes.
|
337
|
+
# @return [Fixnum] Hash code
|
338
|
+
def hash
|
339
|
+
[processors, amex_vendor_code, default_auth_type_code, master_card_assigned_id, enable_partial_auth, merchant_category_code, sic_code, food_and_consumer_service_id, enable_split_shipment, enable_interchange_optimization, visa_delegated_authentication_id, credit_card_refund_limit_percent, business_center_credit_card_refund_limit_percent, allow_captures_greater_than_authorizations, enable_duplicate_merchant_reference_number_blocking, domestic_merchant_id, process_level3_data, sub_merchant_id, sub_merchant_business_name, prefer_cobadged_secondary_brand, merchant_descriptor_information].hash
|
340
|
+
end
|
341
|
+
|
342
|
+
# Builds the object from hash
|
343
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
344
|
+
# @return [Object] Returns the model itself
|
345
|
+
def build_from_hash(attributes)
|
346
|
+
return nil unless attributes.is_a?(Hash)
|
347
|
+
self.class.swagger_types.each_pair do |key, type|
|
348
|
+
if type =~ /\AArray<(.*)>/i
|
349
|
+
# check to ensure the input is an array given that the the attribute
|
350
|
+
# is documented as an array but the input is not
|
351
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
352
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
353
|
+
end
|
354
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
355
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
356
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
357
|
+
end
|
358
|
+
|
359
|
+
self
|
360
|
+
end
|
361
|
+
|
362
|
+
# Deserializes the data based on type
|
363
|
+
# @param string type Data type
|
364
|
+
# @param string value Value to be deserialized
|
365
|
+
# @return [Object] Deserialized data
|
366
|
+
def _deserialize(type, value)
|
367
|
+
case type.to_sym
|
368
|
+
when :DateTime
|
369
|
+
DateTime.parse(value)
|
370
|
+
when :Date
|
371
|
+
Date.parse(value)
|
372
|
+
when :String
|
373
|
+
value.to_s
|
374
|
+
when :Integer
|
375
|
+
value.to_i
|
376
|
+
when :Float
|
377
|
+
value.to_f
|
378
|
+
when :BOOLEAN
|
379
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
380
|
+
true
|
381
|
+
else
|
382
|
+
false
|
383
|
+
end
|
384
|
+
when :Object
|
385
|
+
# generic object (usually a Hash), return directly
|
386
|
+
value
|
387
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
388
|
+
inner_type = Regexp.last_match[:inner_type]
|
389
|
+
value.map { |v| _deserialize(inner_type, v) }
|
390
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
391
|
+
k_type = Regexp.last_match[:k_type]
|
392
|
+
v_type = Regexp.last_match[:v_type]
|
393
|
+
{}.tap do |hash|
|
394
|
+
value.each do |k, v|
|
395
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
396
|
+
end
|
397
|
+
end
|
398
|
+
else # model
|
399
|
+
temp_model = CyberSource.const_get(type).new
|
400
|
+
temp_model.build_from_hash(value)
|
401
|
+
end
|
402
|
+
end
|
403
|
+
|
404
|
+
# Returns the string representation of the object
|
405
|
+
# @return [String] String presentation of the object
|
406
|
+
def to_s
|
407
|
+
to_hash.to_s
|
408
|
+
end
|
409
|
+
|
410
|
+
# to_body is an alias to to_hash (backward compatibility)
|
411
|
+
# @return [Hash] Returns the object in the form of hash
|
412
|
+
def to_body
|
413
|
+
to_hash
|
414
|
+
end
|
415
|
+
|
416
|
+
# Returns the object in the form of hash
|
417
|
+
# @return [Hash] Returns the object in the form of hash
|
418
|
+
def to_hash
|
419
|
+
hash = {}
|
420
|
+
self.class.attribute_map.each_pair do |attr, param|
|
421
|
+
value = self.send(attr)
|
422
|
+
next if value.nil?
|
423
|
+
hash[param] = _to_hash(value)
|
424
|
+
end
|
425
|
+
hash
|
426
|
+
end
|
427
|
+
|
428
|
+
# Outputs non-array value in the form of hash
|
429
|
+
# For object, use to_hash. Otherwise, just return the value
|
430
|
+
# @param [Object] value Any valid value
|
431
|
+
# @return [Hash] Returns the value in the form of hash
|
432
|
+
def _to_hash(value)
|
433
|
+
if value.is_a?(Array)
|
434
|
+
value.compact.map { |v| _to_hash(v) }
|
435
|
+
elsif value.is_a?(Hash)
|
436
|
+
{}.tap do |hash|
|
437
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
438
|
+
end
|
439
|
+
elsif value.respond_to? :to_hash
|
440
|
+
value.to_hash
|
441
|
+
else
|
442
|
+
value
|
443
|
+
end
|
444
|
+
end
|
445
|
+
end
|
446
|
+
end
|