cybersource_rest_client 0.0.55 → 0.0.56
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/cybersource_rest_client/api/asymmetric_key_management_api.rb +6 -0
- data/lib/cybersource_rest_client/api/batches_api.rb +25 -23
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +6 -0
- data/lib/cybersource_rest_client/api/capture_api.rb +2 -0
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +269 -0
- data/lib/cybersource_rest_client/api/credit_api.rb +2 -0
- data/lib/cybersource_rest_client/api/customer_api.rb +4 -0
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +4 -0
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +4 -0
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +10 -0
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +2 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +6 -0
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +6 -4
- data/lib/cybersource_rest_client/api/invoices_api.rb +16 -12
- data/lib/cybersource_rest_client/api/keymanagementpassword_api.rb +2 -0
- data/lib/cybersource_rest_client/api/keymanagementpgp_api.rb +2 -0
- data/lib/cybersource_rest_client/api/keymanagementscmp_api.rb +2 -0
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +507 -0
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +169 -0
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +2 -0
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +6 -0
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +4 -0
- data/lib/cybersource_rest_client/api/payments_api.rb +6 -0
- data/lib/cybersource_rest_client/api/payouts_api.rb +2 -0
- data/lib/cybersource_rest_client/api/plans_api.rb +4 -0
- data/lib/cybersource_rest_client/api/push_funds_api.rb +2 -0
- data/lib/cybersource_rest_client/api/refund_api.rb +4 -0
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +4 -0
- data/lib/cybersource_rest_client/api/reports_api.rb +2 -0
- data/lib/cybersource_rest_client/api/reversal_api.rb +4 -0
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -0
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +4 -0
- data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +6 -0
- data/lib/cybersource_rest_client/api/taxes_api.rb +4 -0
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +2 -0
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +2 -0
- data/lib/cybersource_rest_client/api/verification_api.rb +4 -0
- data/lib/cybersource_rest_client/api/void_api.rb +10 -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_webhook.rb +290 -0
- 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/kms_v2_keys_sym_post201_response_key_information.rb +6 -0
- 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/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.rb +350 -0
- data/lib/cybersource_rest_client/models/payment_products_card_present_connect.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_products_card_present_connect_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_products_card_present_connect_configuration_information_configurations.rb +191 -0
- data/lib/cybersource_rest_client/models/payment_products_card_present_connect_subscription_information.rb +237 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing.rb +200 -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_card_processing_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common.rb +446 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_acquirer.rb +236 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_currencies.rb +258 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_currencies_1.rb +225 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_payment_types.rb +203 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_processors.rb +721 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_features.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_features_card_present.rb +204 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_subscription_information.rb +250 -0
- data/lib/cybersource_rest_client/models/payment_products_card_processing_subscription_information_features.rb +190 -0
- data/lib/cybersource_rest_client/models/payment_products_currency_conversion.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_products_currency_conversion_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_products_currency_conversion_configuration_information_configurations.rb +192 -0
- data/lib/cybersource_rest_client/models/payment_products_currency_conversion_configuration_information_configurations_processors.rb +201 -0
- data/lib/cybersource_rest_client/models/payment_products_cybs_ready_terminal.rb +190 -0
- data/lib/cybersource_rest_client/models/payment_products_differential_fee.rb +190 -0
- data/lib/cybersource_rest_client/models/payment_products_differential_fee_subscription_information.rb +247 -0
- data/lib/cybersource_rest_client/models/payment_products_differential_fee_subscription_information_features.rb +190 -0
- data/lib/cybersource_rest_client/models/payment_products_digital_payments.rb +190 -0
- data/lib/cybersource_rest_client/models/payment_products_digital_payments_subscription_information.rb +250 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check.rb +200 -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_e_check_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations.rb +210 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_common.rb +296 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_common_internal_only.rb +206 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_common_internal_only_processors.rb +242 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_common_processors.rb +261 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_features.rb +190 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_underwriting.rb +334 -0
- data/lib/cybersource_rest_client/models/payment_products_e_check_subscription_information.rb +250 -0
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication.rb +200 -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_payer_authentication_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_configuration_information_configurations.rb +190 -0
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_configuration_information_configurations_card_types.rb +260 -0
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_configuration_information_configurations_card_types_cb.rb +221 -0
- data/lib/cybersource_rest_client/models/payment_products_payer_authentication_subscription_information.rb +237 -0
- data/lib/cybersource_rest_client/models/payment_products_payouts.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information.rb +190 -0
- data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information_configurations.rb +204 -0
- data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information_configurations_processor_account.rb +237 -0
- data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information_configurations_pullfunds.rb +311 -0
- data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information_configurations_pushfunds.rb +336 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance.rb +200 -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_secure_acceptance_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations.rb +251 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_checkout.rb +213 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_contact_information.rb +221 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_notifications.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_payment_methods.rb +214 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_payment_types.rb +191 -0
- data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_service.rb +257 -0
- data/lib/cybersource_rest_client/models/payment_products_tax.rb +190 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal.rb +200 -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/payment_products_virtual_terminal_configuration_information.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_configuration_information_configurations.rb +200 -0
- data/lib/cybersource_rest_client/models/payment_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_payments_post201_response_issuer_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +18 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_secure_information.rb +249 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_vehicle_data.rb +214 -0
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +22 -5
- data/lib/cybersource_rest_client/models/replay_webhooks.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/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -1
- 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/update_webhook.rb +315 -0
- data/lib/cybersource_rest_client/models/value_added_services_products.rb +200 -0
- data/lib/cybersource_rest_client/utilities/tracking/sdk_tracker.rb +71 -0
- data/lib/cybersource_rest_client.rb +214 -13
- metadata +216 -29
|
@@ -0,0 +1,205 @@
|
|
|
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 InlineResponse2002IntegrationInformation
|
|
17
|
+
attr_accessor :oauth2
|
|
18
|
+
|
|
19
|
+
# tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with.
|
|
20
|
+
attr_accessor :tenant_configurations
|
|
21
|
+
|
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
|
+
def self.attribute_map
|
|
24
|
+
{
|
|
25
|
+
:'oauth2' => :'oauth2',
|
|
26
|
+
:'tenant_configurations' => :'tenantConfigurations'
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
31
|
+
def self.json_map
|
|
32
|
+
{
|
|
33
|
+
:'oauth2' => :'oauth2',
|
|
34
|
+
:'tenant_configurations' => :'tenant_configurations'
|
|
35
|
+
}
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Attribute type mapping.
|
|
39
|
+
def self.swagger_types
|
|
40
|
+
{
|
|
41
|
+
:'oauth2' => :'Array<Boardingv1registrationsIntegrationInformationOauth2>',
|
|
42
|
+
:'tenant_configurations' => :'Array<InlineResponse2002IntegrationInformationTenantConfigurations>'
|
|
43
|
+
}
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Initializes the object
|
|
47
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
48
|
+
def initialize(attributes = {})
|
|
49
|
+
return unless attributes.is_a?(Hash)
|
|
50
|
+
|
|
51
|
+
# convert string to symbol for hash key
|
|
52
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
53
|
+
|
|
54
|
+
if attributes.has_key?(:'oauth2')
|
|
55
|
+
if (value = attributes[:'oauth2']).is_a?(Array)
|
|
56
|
+
self.oauth2 = value
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
if attributes.has_key?(:'tenantConfigurations')
|
|
61
|
+
if (value = attributes[:'tenantConfigurations']).is_a?(Array)
|
|
62
|
+
self.tenant_configurations = value
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
68
|
+
# @return Array for valid properties with the reasons
|
|
69
|
+
def list_invalid_properties
|
|
70
|
+
invalid_properties = Array.new
|
|
71
|
+
invalid_properties
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Check to see if the all the properties in the model are valid
|
|
75
|
+
# @return true if the model is valid
|
|
76
|
+
def valid?
|
|
77
|
+
true
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# Checks equality by comparing each attribute.
|
|
81
|
+
# @param [Object] Object to be compared
|
|
82
|
+
def ==(o)
|
|
83
|
+
return true if self.equal?(o)
|
|
84
|
+
self.class == o.class &&
|
|
85
|
+
oauth2 == o.oauth2 &&
|
|
86
|
+
tenant_configurations == o.tenant_configurations
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# @see the `==` method
|
|
90
|
+
# @param [Object] Object to be compared
|
|
91
|
+
def eql?(o)
|
|
92
|
+
self == o
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# Calculates hash code according to all attributes.
|
|
96
|
+
# @return [Fixnum] Hash code
|
|
97
|
+
def hash
|
|
98
|
+
[oauth2, tenant_configurations].hash
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Builds the object from hash
|
|
102
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
103
|
+
# @return [Object] Returns the model itself
|
|
104
|
+
def build_from_hash(attributes)
|
|
105
|
+
return nil unless attributes.is_a?(Hash)
|
|
106
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
107
|
+
if type =~ /\AArray<(.*)>/i
|
|
108
|
+
# check to ensure the input is an array given that the the attribute
|
|
109
|
+
# is documented as an array but the input is not
|
|
110
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
111
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
112
|
+
end
|
|
113
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
114
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
115
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
self
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# Deserializes the data based on type
|
|
122
|
+
# @param string type Data type
|
|
123
|
+
# @param string value Value to be deserialized
|
|
124
|
+
# @return [Object] Deserialized data
|
|
125
|
+
def _deserialize(type, value)
|
|
126
|
+
case type.to_sym
|
|
127
|
+
when :DateTime
|
|
128
|
+
DateTime.parse(value)
|
|
129
|
+
when :Date
|
|
130
|
+
Date.parse(value)
|
|
131
|
+
when :String
|
|
132
|
+
value.to_s
|
|
133
|
+
when :Integer
|
|
134
|
+
value.to_i
|
|
135
|
+
when :Float
|
|
136
|
+
value.to_f
|
|
137
|
+
when :BOOLEAN
|
|
138
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
139
|
+
true
|
|
140
|
+
else
|
|
141
|
+
false
|
|
142
|
+
end
|
|
143
|
+
when :Object
|
|
144
|
+
# generic object (usually a Hash), return directly
|
|
145
|
+
value
|
|
146
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
147
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
148
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
149
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
150
|
+
k_type = Regexp.last_match[:k_type]
|
|
151
|
+
v_type = Regexp.last_match[:v_type]
|
|
152
|
+
{}.tap do |hash|
|
|
153
|
+
value.each do |k, v|
|
|
154
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
else # model
|
|
158
|
+
temp_model = CyberSource.const_get(type).new
|
|
159
|
+
temp_model.build_from_hash(value)
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# Returns the string representation of the object
|
|
164
|
+
# @return [String] String presentation of the object
|
|
165
|
+
def to_s
|
|
166
|
+
to_hash.to_s
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
170
|
+
# @return [Hash] Returns the object in the form of hash
|
|
171
|
+
def to_body
|
|
172
|
+
to_hash
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Returns the object in the form of hash
|
|
176
|
+
# @return [Hash] Returns the object in the form of hash
|
|
177
|
+
def to_hash
|
|
178
|
+
hash = {}
|
|
179
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
180
|
+
value = self.send(attr)
|
|
181
|
+
next if value.nil?
|
|
182
|
+
hash[param] = _to_hash(value)
|
|
183
|
+
end
|
|
184
|
+
hash
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# Outputs non-array value in the form of hash
|
|
188
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
189
|
+
# @param [Object] value Any valid value
|
|
190
|
+
# @return [Hash] Returns the value in the form of hash
|
|
191
|
+
def _to_hash(value)
|
|
192
|
+
if value.is_a?(Array)
|
|
193
|
+
value.compact.map { |v| _to_hash(v) }
|
|
194
|
+
elsif value.is_a?(Hash)
|
|
195
|
+
{}.tap do |hash|
|
|
196
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
197
|
+
end
|
|
198
|
+
elsif value.respond_to? :to_hash
|
|
199
|
+
value.to_hash
|
|
200
|
+
else
|
|
201
|
+
value
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
end
|
|
205
|
+
end
|
|
@@ -0,0 +1,297 @@
|
|
|
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 InlineResponse2002IntegrationInformationTenantConfigurations
|
|
17
|
+
# The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system.
|
|
18
|
+
attr_accessor :solution_id
|
|
19
|
+
|
|
20
|
+
# The tenantConfigurationId is the unique identifier for this system resource. You will see various places where it must be referenced in the URI path, or when querying the hierarchy for ancestors or descendants.
|
|
21
|
+
attr_accessor :tenant_configuration_id
|
|
22
|
+
|
|
23
|
+
attr_accessor :status
|
|
24
|
+
|
|
25
|
+
# Time of request in UTC.
|
|
26
|
+
attr_accessor :submit_time_utc
|
|
27
|
+
|
|
28
|
+
attr_accessor :tenant_information
|
|
29
|
+
|
|
30
|
+
class EnumAttributeValidator
|
|
31
|
+
attr_reader :datatype
|
|
32
|
+
attr_reader :allowable_values
|
|
33
|
+
|
|
34
|
+
def initialize(datatype, allowable_values)
|
|
35
|
+
@allowable_values = allowable_values.map do |value|
|
|
36
|
+
case datatype.to_s
|
|
37
|
+
when /Integer/i
|
|
38
|
+
value.to_i
|
|
39
|
+
when /Float/i
|
|
40
|
+
value.to_f
|
|
41
|
+
else
|
|
42
|
+
value
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def valid?(value)
|
|
48
|
+
!value || allowable_values.include?(value)
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
|
+
def self.attribute_map
|
|
54
|
+
{
|
|
55
|
+
:'solution_id' => :'solutionId',
|
|
56
|
+
:'tenant_configuration_id' => :'tenantConfigurationId',
|
|
57
|
+
:'status' => :'status',
|
|
58
|
+
:'submit_time_utc' => :'submitTimeUtc',
|
|
59
|
+
:'tenant_information' => :'tenantInformation'
|
|
60
|
+
}
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
64
|
+
def self.json_map
|
|
65
|
+
{
|
|
66
|
+
:'solution_id' => :'solution_id',
|
|
67
|
+
:'tenant_configuration_id' => :'tenant_configuration_id',
|
|
68
|
+
:'status' => :'status',
|
|
69
|
+
:'submit_time_utc' => :'submit_time_utc',
|
|
70
|
+
:'tenant_information' => :'tenant_information'
|
|
71
|
+
}
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Attribute type mapping.
|
|
75
|
+
def self.swagger_types
|
|
76
|
+
{
|
|
77
|
+
:'solution_id' => :'String',
|
|
78
|
+
:'tenant_configuration_id' => :'String',
|
|
79
|
+
:'status' => :'String',
|
|
80
|
+
:'submit_time_utc' => :'DateTime',
|
|
81
|
+
:'tenant_information' => :'Boardingv1registrationsIntegrationInformationTenantInformation'
|
|
82
|
+
}
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Initializes the object
|
|
86
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
87
|
+
def initialize(attributes = {})
|
|
88
|
+
return unless attributes.is_a?(Hash)
|
|
89
|
+
|
|
90
|
+
# convert string to symbol for hash key
|
|
91
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
92
|
+
|
|
93
|
+
if attributes.has_key?(:'solutionId')
|
|
94
|
+
self.solution_id = attributes[:'solutionId']
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
if attributes.has_key?(:'tenantConfigurationId')
|
|
98
|
+
self.tenant_configuration_id = attributes[:'tenantConfigurationId']
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
if attributes.has_key?(:'status')
|
|
102
|
+
self.status = attributes[:'status']
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
if attributes.has_key?(:'submitTimeUtc')
|
|
106
|
+
self.submit_time_utc = attributes[:'submitTimeUtc']
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
if attributes.has_key?(:'tenantInformation')
|
|
110
|
+
self.tenant_information = attributes[:'tenantInformation']
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
115
|
+
# @return Array for valid properties with the reasons
|
|
116
|
+
def list_invalid_properties
|
|
117
|
+
invalid_properties = Array.new
|
|
118
|
+
#if !@solution_id.nil? && @solution_id !~ Regexp.new(/^[0-9a-zA-Z_]+$/)
|
|
119
|
+
#invalid_properties.push('invalid value for "solution_id", must conform to the pattern /^[0-9a-zA-Z_]+$/.')
|
|
120
|
+
#end
|
|
121
|
+
|
|
122
|
+
#if !@tenant_configuration_id.nil? && @tenant_configuration_id !~ Regexp.new(/^[0-9a-zA-Z_]+$/)
|
|
123
|
+
#invalid_properties.push('invalid value for "tenant_configuration_id", must conform to the pattern /^[0-9a-zA-Z_]+$/.')
|
|
124
|
+
#end
|
|
125
|
+
|
|
126
|
+
invalid_properties
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# Check to see if the all the properties in the model are valid
|
|
130
|
+
# @return true if the model is valid
|
|
131
|
+
def valid?
|
|
132
|
+
#return false if !@solution_id.nil? && @solution_id !~ Regexp.new(/^[0-9a-zA-Z_]+$/)
|
|
133
|
+
#return false if !@tenant_configuration_id.nil? && @tenant_configuration_id !~ Regexp.new(/^[0-9a-zA-Z_]+$/)
|
|
134
|
+
status_validator = EnumAttributeValidator.new('String', ['LIVE', 'INACTIVE', 'TEST'])
|
|
135
|
+
return false unless status_validator.valid?(@status)
|
|
136
|
+
true
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# Custom attribute writer method with validation
|
|
140
|
+
# @param [Object] solution_id Value to be assigned
|
|
141
|
+
def solution_id=(solution_id)
|
|
142
|
+
#if !solution_id.nil? && solution_id !~ Regexp.new(/^[0-9a-zA-Z_]+$/)
|
|
143
|
+
#fail ArgumentError, 'invalid value for "solution_id", must conform to the pattern /^[0-9a-zA-Z_]+$/.'
|
|
144
|
+
#end
|
|
145
|
+
|
|
146
|
+
@solution_id = solution_id
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# Custom attribute writer method with validation
|
|
150
|
+
# @param [Object] tenant_configuration_id Value to be assigned
|
|
151
|
+
def tenant_configuration_id=(tenant_configuration_id)
|
|
152
|
+
#if !tenant_configuration_id.nil? && tenant_configuration_id !~ Regexp.new(/^[0-9a-zA-Z_]+$/)
|
|
153
|
+
#fail ArgumentError, 'invalid value for "tenant_configuration_id", must conform to the pattern /^[0-9a-zA-Z_]+$/.'
|
|
154
|
+
#end
|
|
155
|
+
|
|
156
|
+
@tenant_configuration_id = tenant_configuration_id
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
160
|
+
# @param [Object] status Object to be assigned
|
|
161
|
+
def status=(status)
|
|
162
|
+
validator = EnumAttributeValidator.new('String', ['LIVE', 'INACTIVE', 'TEST'])
|
|
163
|
+
unless validator.valid?(status)
|
|
164
|
+
fail ArgumentError, 'invalid value for "status", must be one of #{validator.allowable_values}.'
|
|
165
|
+
end
|
|
166
|
+
@status = status
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# Checks equality by comparing each attribute.
|
|
170
|
+
# @param [Object] Object to be compared
|
|
171
|
+
def ==(o)
|
|
172
|
+
return true if self.equal?(o)
|
|
173
|
+
self.class == o.class &&
|
|
174
|
+
solution_id == o.solution_id &&
|
|
175
|
+
tenant_configuration_id == o.tenant_configuration_id &&
|
|
176
|
+
status == o.status &&
|
|
177
|
+
submit_time_utc == o.submit_time_utc &&
|
|
178
|
+
tenant_information == o.tenant_information
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# @see the `==` method
|
|
182
|
+
# @param [Object] Object to be compared
|
|
183
|
+
def eql?(o)
|
|
184
|
+
self == o
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# Calculates hash code according to all attributes.
|
|
188
|
+
# @return [Fixnum] Hash code
|
|
189
|
+
def hash
|
|
190
|
+
[solution_id, tenant_configuration_id, status, submit_time_utc, tenant_information].hash
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
# Builds the object from hash
|
|
194
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
195
|
+
# @return [Object] Returns the model itself
|
|
196
|
+
def build_from_hash(attributes)
|
|
197
|
+
return nil unless attributes.is_a?(Hash)
|
|
198
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
199
|
+
if type =~ /\AArray<(.*)>/i
|
|
200
|
+
# check to ensure the input is an array given that the the attribute
|
|
201
|
+
# is documented as an array but the input is not
|
|
202
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
203
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
204
|
+
end
|
|
205
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
206
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
207
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
self
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
# Deserializes the data based on type
|
|
214
|
+
# @param string type Data type
|
|
215
|
+
# @param string value Value to be deserialized
|
|
216
|
+
# @return [Object] Deserialized data
|
|
217
|
+
def _deserialize(type, value)
|
|
218
|
+
case type.to_sym
|
|
219
|
+
when :DateTime
|
|
220
|
+
DateTime.parse(value)
|
|
221
|
+
when :Date
|
|
222
|
+
Date.parse(value)
|
|
223
|
+
when :String
|
|
224
|
+
value.to_s
|
|
225
|
+
when :Integer
|
|
226
|
+
value.to_i
|
|
227
|
+
when :Float
|
|
228
|
+
value.to_f
|
|
229
|
+
when :BOOLEAN
|
|
230
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
231
|
+
true
|
|
232
|
+
else
|
|
233
|
+
false
|
|
234
|
+
end
|
|
235
|
+
when :Object
|
|
236
|
+
# generic object (usually a Hash), return directly
|
|
237
|
+
value
|
|
238
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
239
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
240
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
241
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
242
|
+
k_type = Regexp.last_match[:k_type]
|
|
243
|
+
v_type = Regexp.last_match[:v_type]
|
|
244
|
+
{}.tap do |hash|
|
|
245
|
+
value.each do |k, v|
|
|
246
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
else # model
|
|
250
|
+
temp_model = CyberSource.const_get(type).new
|
|
251
|
+
temp_model.build_from_hash(value)
|
|
252
|
+
end
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
# Returns the string representation of the object
|
|
256
|
+
# @return [String] String presentation of the object
|
|
257
|
+
def to_s
|
|
258
|
+
to_hash.to_s
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
262
|
+
# @return [Hash] Returns the object in the form of hash
|
|
263
|
+
def to_body
|
|
264
|
+
to_hash
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
# Returns the object in the form of hash
|
|
268
|
+
# @return [Hash] Returns the object in the form of hash
|
|
269
|
+
def to_hash
|
|
270
|
+
hash = {}
|
|
271
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
272
|
+
value = self.send(attr)
|
|
273
|
+
next if value.nil?
|
|
274
|
+
hash[param] = _to_hash(value)
|
|
275
|
+
end
|
|
276
|
+
hash
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
# Outputs non-array value in the form of hash
|
|
280
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
281
|
+
# @param [Object] value Any valid value
|
|
282
|
+
# @return [Hash] Returns the value in the form of hash
|
|
283
|
+
def _to_hash(value)
|
|
284
|
+
if value.is_a?(Array)
|
|
285
|
+
value.compact.map { |v| _to_hash(v) }
|
|
286
|
+
elsif value.is_a?(Hash)
|
|
287
|
+
{}.tap do |hash|
|
|
288
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
289
|
+
end
|
|
290
|
+
elsif value.respond_to? :to_hash
|
|
291
|
+
value.to_hash
|
|
292
|
+
else
|
|
293
|
+
value
|
|
294
|
+
end
|
|
295
|
+
end
|
|
296
|
+
end
|
|
297
|
+
end
|
|
@@ -14,76 +14,38 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module CyberSource
|
|
16
16
|
class InlineResponse2003
|
|
17
|
-
|
|
17
|
+
# Product ID.
|
|
18
|
+
attr_accessor :product_id
|
|
18
19
|
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
20
|
+
# Product Name.
|
|
21
|
+
attr_accessor :product_name
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
attr_accessor :batch_created_date
|
|
24
|
-
|
|
25
|
-
# Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE
|
|
26
|
-
attr_accessor :batch_source
|
|
27
|
-
|
|
28
|
-
# Reference used by merchant to identify batch.
|
|
29
|
-
attr_accessor :merchant_reference
|
|
30
|
-
|
|
31
|
-
attr_accessor :batch_ca_endpoints
|
|
32
|
-
|
|
33
|
-
# Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED
|
|
34
|
-
attr_accessor :status
|
|
35
|
-
|
|
36
|
-
attr_accessor :totals
|
|
37
|
-
|
|
38
|
-
attr_accessor :billing
|
|
39
|
-
|
|
40
|
-
attr_accessor :description
|
|
23
|
+
attr_accessor :event_types
|
|
41
24
|
|
|
42
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
43
26
|
def self.attribute_map
|
|
44
27
|
{
|
|
45
|
-
:'
|
|
46
|
-
:'
|
|
47
|
-
:'
|
|
48
|
-
:'batch_source' => :'batchSource',
|
|
49
|
-
:'merchant_reference' => :'merchantReference',
|
|
50
|
-
:'batch_ca_endpoints' => :'batchCaEndpoints',
|
|
51
|
-
:'status' => :'status',
|
|
52
|
-
:'totals' => :'totals',
|
|
53
|
-
:'billing' => :'billing',
|
|
54
|
-
:'description' => :'description'
|
|
28
|
+
:'product_id' => :'productId',
|
|
29
|
+
:'product_name' => :'productName',
|
|
30
|
+
:'event_types' => :'eventTypes'
|
|
55
31
|
}
|
|
56
32
|
end
|
|
57
33
|
|
|
58
34
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
59
35
|
def self.json_map
|
|
60
36
|
{
|
|
61
|
-
:'
|
|
62
|
-
:'
|
|
63
|
-
:'
|
|
64
|
-
:'batch_source' => :'batch_source',
|
|
65
|
-
:'merchant_reference' => :'merchant_reference',
|
|
66
|
-
:'batch_ca_endpoints' => :'batch_ca_endpoints',
|
|
67
|
-
:'status' => :'status',
|
|
68
|
-
:'totals' => :'totals',
|
|
69
|
-
:'billing' => :'billing',
|
|
70
|
-
:'description' => :'description'
|
|
37
|
+
:'product_id' => :'product_id',
|
|
38
|
+
:'product_name' => :'product_name',
|
|
39
|
+
:'event_types' => :'event_types'
|
|
71
40
|
}
|
|
72
41
|
end
|
|
73
42
|
|
|
74
43
|
# Attribute type mapping.
|
|
75
44
|
def self.swagger_types
|
|
76
45
|
{
|
|
77
|
-
:'
|
|
78
|
-
:'
|
|
79
|
-
:'
|
|
80
|
-
:'batch_source' => :'String',
|
|
81
|
-
:'merchant_reference' => :'String',
|
|
82
|
-
:'batch_ca_endpoints' => :'String',
|
|
83
|
-
:'status' => :'String',
|
|
84
|
-
:'totals' => :'InlineResponse2002EmbeddedTotals',
|
|
85
|
-
:'billing' => :'InlineResponse2003Billing',
|
|
86
|
-
:'description' => :'String'
|
|
46
|
+
:'product_id' => :'String',
|
|
47
|
+
:'product_name' => :'String',
|
|
48
|
+
:'event_types' => :'Array<Notificationsubscriptionsv1productsorganizationIdEventTypes>'
|
|
87
49
|
}
|
|
88
50
|
end
|
|
89
51
|
|
|
@@ -95,44 +57,18 @@ module CyberSource
|
|
|
95
57
|
# convert string to symbol for hash key
|
|
96
58
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
97
59
|
|
|
98
|
-
if attributes.has_key?(:'
|
|
99
|
-
self.
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
if attributes.has_key?(:'batchId')
|
|
103
|
-
self.batch_id = attributes[:'batchId']
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
if attributes.has_key?(:'batchCreatedDate')
|
|
107
|
-
self.batch_created_date = attributes[:'batchCreatedDate']
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
if attributes.has_key?(:'batchSource')
|
|
111
|
-
self.batch_source = attributes[:'batchSource']
|
|
112
|
-
end
|
|
113
|
-
|
|
114
|
-
if attributes.has_key?(:'merchantReference')
|
|
115
|
-
self.merchant_reference = attributes[:'merchantReference']
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
if attributes.has_key?(:'batchCaEndpoints')
|
|
119
|
-
self.batch_ca_endpoints = attributes[:'batchCaEndpoints']
|
|
120
|
-
end
|
|
121
|
-
|
|
122
|
-
if attributes.has_key?(:'status')
|
|
123
|
-
self.status = attributes[:'status']
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
if attributes.has_key?(:'totals')
|
|
127
|
-
self.totals = attributes[:'totals']
|
|
60
|
+
if attributes.has_key?(:'productId')
|
|
61
|
+
self.product_id = attributes[:'productId']
|
|
128
62
|
end
|
|
129
63
|
|
|
130
|
-
if attributes.has_key?(:'
|
|
131
|
-
self.
|
|
64
|
+
if attributes.has_key?(:'productName')
|
|
65
|
+
self.product_name = attributes[:'productName']
|
|
132
66
|
end
|
|
133
67
|
|
|
134
|
-
if attributes.has_key?(:'
|
|
135
|
-
|
|
68
|
+
if attributes.has_key?(:'eventTypes')
|
|
69
|
+
if (value = attributes[:'eventTypes']).is_a?(Array)
|
|
70
|
+
self.event_types = value
|
|
71
|
+
end
|
|
136
72
|
end
|
|
137
73
|
end
|
|
138
74
|
|
|
@@ -149,27 +85,14 @@ module CyberSource
|
|
|
149
85
|
true
|
|
150
86
|
end
|
|
151
87
|
|
|
152
|
-
# Custom attribute writer method with validation
|
|
153
|
-
# @param [Object] merchant_reference Value to be assigned
|
|
154
|
-
def merchant_reference=(merchant_reference)
|
|
155
|
-
@merchant_reference = merchant_reference
|
|
156
|
-
end
|
|
157
|
-
|
|
158
88
|
# Checks equality by comparing each attribute.
|
|
159
89
|
# @param [Object] Object to be compared
|
|
160
90
|
def ==(o)
|
|
161
91
|
return true if self.equal?(o)
|
|
162
92
|
self.class == o.class &&
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
batch_source == o.batch_source &&
|
|
167
|
-
merchant_reference == o.merchant_reference &&
|
|
168
|
-
batch_ca_endpoints == o.batch_ca_endpoints &&
|
|
169
|
-
status == o.status &&
|
|
170
|
-
totals == o.totals &&
|
|
171
|
-
billing == o.billing &&
|
|
172
|
-
description == o.description
|
|
93
|
+
product_id == o.product_id &&
|
|
94
|
+
product_name == o.product_name &&
|
|
95
|
+
event_types == o.event_types
|
|
173
96
|
end
|
|
174
97
|
|
|
175
98
|
# @see the `==` method
|
|
@@ -181,7 +104,7 @@ module CyberSource
|
|
|
181
104
|
# Calculates hash code according to all attributes.
|
|
182
105
|
# @return [Fixnum] Hash code
|
|
183
106
|
def hash
|
|
184
|
-
[
|
|
107
|
+
[product_id, product_name, event_types].hash
|
|
185
108
|
end
|
|
186
109
|
|
|
187
110
|
# Builds the object from hash
|