cybersource_rest_client 0.0.86 → 0.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/util/CertificateUtility.rb +14 -6
- data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +24 -24
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
- data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +3 -3
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
- data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +1 -1
- data/lib/cybersource_rest_client/api/transaction_query_api.rb +3 -3
- data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +104 -0
- data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_17.rb +5 -5
- data/lib/cybersource_rest_client/models/inline_response_200_18.rb +5 -5
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_10.rb +18 -93
- data/lib/cybersource_rest_client/models/inline_response_201_11.rb +103 -8
- data/lib/cybersource_rest_client/models/{inline_response_201_12_client_reference_information.rb → inline_response_201_11_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_error_information.rb → inline_response_201_11_error_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information.rb → inline_response_201_11_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information_currency_conversion.rb → inline_response_201_11_order_information_currency_conversion.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information_currency_conversion_offer.rb → inline_response_201_11_order_information_currency_conversion_offer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_processor_information.rb → inline_response_201_11_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_12.rb +110 -89
- data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_address.rb → inline_response_201_12_fulfillment_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_options.rb → inline_response_201_12_fulfillment_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_item.rb → inline_response_201_12_item.rb} +20 -20
- data/lib/cybersource_rest_client/models/inline_response_201_12_line_items.rb +256 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_13_links.rb → inline_response_201_12_links.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_messages.rb → inline_response_201_12_messages.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_payment_provider.rb → inline_response_201_12_payment_provider.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_totals.rb → inline_response_201_12_totals.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_13.rb +61 -67
- data/lib/cybersource_rest_client/models/{inline_response_201_14_discounts.rb → inline_response_201_13_discounts.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_fulfillment.rb → inline_response_201_13_fulfillment.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +19 -19
- data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +20 -51
- data/lib/cybersource_rest_client/models/{inline_response_201_14_order.rb → inline_response_201_13_order.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_payment.rb → inline_response_201_13_payment.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp.rb → inline_response_201_13_ucp.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp_capabilities.rb → inline_response_201_13_ucp_capabilities.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +82 -39
- data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information.rb → inline_response_201_3_error_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information_details.rb → inline_response_201_3_error_information_details.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information.rb → inline_response_201_3_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/inline_response_201_3_order_information_amount_details.rb +315 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_processing_information.rb +189 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_4_processing_information_routing.rb → inline_response_201_3_processing_information_routing.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_3_processor_information.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +41 -30
- data/lib/cybersource_rest_client/models/{inline_response_201_5__links.rb → inline_response_201_4__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5__links_self.rb → inline_response_201_4__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_acquirer_information.rb → inline_response_201_4_acquirer_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_client_reference_information.rb → inline_response_201_4_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_merchant_information.rb → inline_response_201_4_merchant_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +46 -97
- data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information.rb → inline_response_201_4_payment_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information_card.rb → inline_response_201_4_payment_information_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +59 -8
- data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information_payouts_options.rb → inline_response_201_4_processing_information_payouts_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +342 -7
- data/lib/cybersource_rest_client/models/{inline_response_201_5_processor_information_card_verification.rb → inline_response_201_4_processor_information_card_verification.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_transactions.rb → inline_response_201_4_transactions.rb} +7 -7
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +35 -68
- data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information.rb → inline_response_201_5_payout_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information_pull_funds.rb → inline_response_201_5_payout_information_pull_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information_push_funds.rb → inline_response_201_5_payout_information_push_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_6.rb +59 -26
- data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information.rb → inline_response_201_6_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information_tenant_configurations.rb → inline_response_201_6_integration_information_tenant_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_organization_information.rb → inline_response_201_6_organization_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_product_information_setups.rb → inline_response_201_6_product_information_setups.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_registration_information.rb → inline_response_201_6_registration_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups.rb → inline_response_201_6_setups.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_commerce_solutions.rb → inline_response_201_6_setups_commerce_solutions.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_risk.rb → inline_response_201_6_setups_risk.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_value_added_services.rb → inline_response_201_6_setups_value_added_services.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_7.rb +19 -78
- data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information.rb → inline_response_201_7_key_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information_error_information.rb → inline_response_201_7_key_information_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information_error_information_details.rb → inline_response_201_7_key_information_error_information_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_8.rb +117 -25
- data/lib/cybersource_rest_client/models/inline_response_201_9.rb +68 -105
- data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads.rb → inline_response_201_9_payloads.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads_test_payload.rb → inline_response_201_9_payloads_test_payload.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_3.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_4.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_merchant_defined_field_values_with_definition.rb +11 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +16 -5
- data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +11 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +16 -5
- data/lib/cybersource_rest_client/models/{inline_response_201_14_line_items.rb → unified_risk_post201_response.rb} +28 -42
- data/lib/cybersource_rest_client/models/{inline_response_201_3_results.rb → unified_risk_post201_response_results.rb} +3 -3
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights.rb +291 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_client.rb +208 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_error.rb +202 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages.rb +190 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights.rb +250 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights_insights.rb +219 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_transaction_insights_insights_warnings.rb +214 -0
- data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response.rb → unified_risk_post400_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response_errors.rb → unified_risk_post400_response_errors.rb} +1 -1
- data/lib/cybersource_rest_client/models/unifiedrisk_account.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer.rb +302 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account.rb +234 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication.rb +402 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication_challenge.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authorization.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_browser.rb +420 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer.rb +403 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer_address.rb +279 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information.rb → unifiedrisk_customer_personal_identification.rb} +99 -42
- data/lib/cybersource_rest_client/models/unifiedrisk_device.rb +681 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_device_point_of_sale.rb +344 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_initiating_party.rb +223 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant.rb +326 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor.rb +389 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_hierarchy.rb +224 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_limit_value.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_trading_address.rb +301 -0
- data/lib/cybersource_rest_client/models/{label_request.rb → unifiedrisk_order.rb} +60 -72
- data/lib/cybersource_rest_client/models/unifiedrisk_order_billing.rb +360 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_line_items.rb +262 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping.rb +464 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store.rb +251 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_address.rb +191 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_3_results_risk_insights.rb → unifiedrisk_order_shipping_store_store_address.rb} +43 -43
- data/lib/cybersource_rest_client/models/unifiedrisk_partner.rb +214 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment.rb +423 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_approvals.rb +193 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account.rb +451 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information_amount_details.rb → unifiedrisk_payment_bank_account_balance_before.rb} +49 -56
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_branch_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_financial_institution.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_batch.rb +323 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card.rb +461 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_par_details.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_token_details.rb +380 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check.rb +289 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check_deposit_location.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty.rb +287 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_branch_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_sdk.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_token.rb +213 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification.rb +230 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_additional.rb +256 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication.rb +232 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_pin.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_three_ds.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security.rb +199 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_avs.rb +218 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_cvv.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_digital.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wallet.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wire.rb +364 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment.rb +308 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history.rb +276 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_account_history.rb +207 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account.rb +273 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_14.rb → unifiedrisk_risk_assessment_buyer_history_customer_account_alertnate_authentication.rb} +59 -114
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_vital4.rb +191 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_session.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal.rb +238 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal_address.rb +301 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal_capabilities.rb +234 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk.rb +708 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk_raw_data.rb +189 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction.rb +305 -12
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_additional_fees.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_amount.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details.rb +220 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_credits_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_debits_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_credits.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_debits.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details_deposited_cash_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_recurring_details.rb +341 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_travel.rb +279 -0
- data/lib/cybersource_rest_client/models/vpri_request.rb +505 -0
- data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data.rb +190 -0
- data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data_card_bin_data.rb +357 -0
- data/lib/cybersource_rest_client.rb +153 -61
- metadata +155 -63
- data/lib/cybersource_rest_client/api/transaction_risk_labeling_api.rb +0 -104
- data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information.rb +0 -548
|
@@ -0,0 +1,681 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#CyberSource Merged Spec
|
|
3
|
+
|
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.38
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'date'
|
|
13
|
+
|
|
14
|
+
module CyberSource
|
|
15
|
+
# Device hardware, network information, location data, and point-of-sale context
|
|
16
|
+
class UnifiedriskDevice
|
|
17
|
+
# IPv4 or IPv6 address observed for the customer's device during the session.
|
|
18
|
+
attr_accessor :ip_address
|
|
19
|
+
|
|
20
|
+
# DNS resolved hostname from `ipAddress`.
|
|
21
|
+
attr_accessor :host_name
|
|
22
|
+
|
|
23
|
+
# A flag indicating if the anonymizer was in use during the session. true if the anonymiser was in use, false otherwise.
|
|
24
|
+
attr_accessor :anonymizer_in_use_flag
|
|
25
|
+
|
|
26
|
+
# The device area code captured during the customer session
|
|
27
|
+
attr_accessor :area_code
|
|
28
|
+
|
|
29
|
+
# The device browser type captured during the customer session
|
|
30
|
+
attr_accessor :browser_type
|
|
31
|
+
|
|
32
|
+
# The device browser version captured during the customer session
|
|
33
|
+
attr_accessor :browser_version
|
|
34
|
+
|
|
35
|
+
# The device city name captured during the customer session
|
|
36
|
+
attr_accessor :city
|
|
37
|
+
|
|
38
|
+
# The clientTimeZone captured during the customer session
|
|
39
|
+
attr_accessor :client_timezone
|
|
40
|
+
|
|
41
|
+
# The device continent code captured during the customer session
|
|
42
|
+
attr_accessor :continent_code
|
|
43
|
+
|
|
44
|
+
# The cookie ID used during the customer session
|
|
45
|
+
attr_accessor :cookie_id
|
|
46
|
+
|
|
47
|
+
# The device country code captured during the customer session
|
|
48
|
+
attr_accessor :country_code
|
|
49
|
+
|
|
50
|
+
# The device country name captured during the customer session
|
|
51
|
+
attr_accessor :country_name
|
|
52
|
+
|
|
53
|
+
# The device fingerprint captured during the customer session by a third party. A device fingerprint is information collected about the software and hardware for the purpose of identification
|
|
54
|
+
attr_accessor :device_fingerprint
|
|
55
|
+
|
|
56
|
+
# The IMEI of the device used during the customer session. An IMEI identifies most types of mobile phone (GSM, WCDMA, iDEN), as well as some satellite phones.
|
|
57
|
+
attr_accessor :device_imei
|
|
58
|
+
|
|
59
|
+
# The device name given at point of registration
|
|
60
|
+
attr_accessor :device_name
|
|
61
|
+
|
|
62
|
+
# The Flash Plugin captured during the customer session, if available.
|
|
63
|
+
attr_accessor :flash_plugin
|
|
64
|
+
|
|
65
|
+
# The HTTPHeader captured during the customer session
|
|
66
|
+
attr_accessor :http_header
|
|
67
|
+
|
|
68
|
+
# The device metropolitan code captured during the customer session
|
|
69
|
+
attr_accessor :metro_code
|
|
70
|
+
|
|
71
|
+
# Whether multifactor authentication was used during the session
|
|
72
|
+
attr_accessor :mfa_session
|
|
73
|
+
|
|
74
|
+
# The Mime-Type(s) captured during the customer session
|
|
75
|
+
attr_accessor :mime_types_present
|
|
76
|
+
|
|
77
|
+
# A concatenated string of the mobile number and device ID to establish the link
|
|
78
|
+
attr_accessor :mobile_number_device_link
|
|
79
|
+
|
|
80
|
+
# The Network/carrier captured during the customer session
|
|
81
|
+
attr_accessor :network_carrier
|
|
82
|
+
|
|
83
|
+
# The device Operating System captured during the customer session
|
|
84
|
+
attr_accessor :operating_system
|
|
85
|
+
|
|
86
|
+
# The postal code the device is registered to as captured during the customer session.
|
|
87
|
+
attr_accessor :postal_code
|
|
88
|
+
|
|
89
|
+
# The Proxy type description captured during the customer session
|
|
90
|
+
attr_accessor :proxy_description
|
|
91
|
+
|
|
92
|
+
# The Proxy type captured during the customer session
|
|
93
|
+
attr_accessor :proxy_type
|
|
94
|
+
|
|
95
|
+
# The device region code captured during the customer session
|
|
96
|
+
attr_accessor :region
|
|
97
|
+
|
|
98
|
+
# The screen resolution captured during the customer session
|
|
99
|
+
attr_accessor :screen_resolution
|
|
100
|
+
|
|
101
|
+
# Thelatitude captured during the customer session
|
|
102
|
+
attr_accessor :session_latitude
|
|
103
|
+
|
|
104
|
+
# The longitude captured during the customer session
|
|
105
|
+
attr_accessor :session_longitude
|
|
106
|
+
|
|
107
|
+
# The timestamp captured during the customer session
|
|
108
|
+
attr_accessor :timestamp
|
|
109
|
+
|
|
110
|
+
# The Device Type captured during the customer session
|
|
111
|
+
attr_accessor :type
|
|
112
|
+
|
|
113
|
+
# The UserAgentString captured during the customer session
|
|
114
|
+
attr_accessor :user_agent_string
|
|
115
|
+
|
|
116
|
+
# A unique identifier of the device performing the event, such as the laptop/mobile phone used to log into the online banking. | A unique identifier of the device performing the event, such as the mobil
|
|
117
|
+
attr_accessor :device_id
|
|
118
|
+
|
|
119
|
+
# Vendor or provider providing device identification/fingerprinting services
|
|
120
|
+
attr_accessor :device_fingerprint_provider
|
|
121
|
+
|
|
122
|
+
attr_accessor :point_of_sale
|
|
123
|
+
|
|
124
|
+
# IPv4 address of the customer's device captured during the session (e.g., 192.0.2.1). Used for geolocation, anonymizer detection, and IP-based risk signals
|
|
125
|
+
attr_accessor :ip_address_v4
|
|
126
|
+
|
|
127
|
+
# IPv6 address of the customer's device captured during the session (e.g., 2001:db8::1). Used for geolocation and risk analysis in IPv6-enabled environments
|
|
128
|
+
attr_accessor :ip_address_v6
|
|
129
|
+
|
|
130
|
+
# Name of the third-party vendor providing device fingerprinting services for this transaction (e.g., ThreatMetrix, InAuth, Kount)
|
|
131
|
+
attr_accessor :device_fingerprint_vendor
|
|
132
|
+
|
|
133
|
+
# Unique entity identifier assigned to the device by the fingerprinting system, used to track device history and link sessions across transactions
|
|
134
|
+
attr_accessor :device_entity_id
|
|
135
|
+
|
|
136
|
+
# Session reference ID used to correlate the device fingerprinting session with the transaction. Must match the session ID submitted to the device fingerprinting script
|
|
137
|
+
attr_accessor :reference_id
|
|
138
|
+
|
|
139
|
+
# Encrypted payload containing device data collected by a 3DS SDK or device intelligence provider. The encryption protects sensitive device attributes during transmission
|
|
140
|
+
attr_accessor :encrypted_device_data
|
|
141
|
+
|
|
142
|
+
# Indicates whether the device is bound to a specific account or cardholder identity. Values such as BOUND, UNBOUND, or UNKNOWN reflect the trust level of the device association
|
|
143
|
+
attr_accessor :device_binding_status
|
|
144
|
+
|
|
145
|
+
# The source system or process that determined the device binding status (e.g., 3DS_SDK, ISSUER, DEVICE_INTELLIGENCE_PROVIDER)
|
|
146
|
+
attr_accessor :device_binding_status_source
|
|
147
|
+
|
|
148
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
149
|
+
def self.attribute_map
|
|
150
|
+
{
|
|
151
|
+
:'ip_address' => :'ipAddress',
|
|
152
|
+
:'host_name' => :'hostName',
|
|
153
|
+
:'anonymizer_in_use_flag' => :'anonymizerInUseFlag',
|
|
154
|
+
:'area_code' => :'areaCode',
|
|
155
|
+
:'browser_type' => :'browserType',
|
|
156
|
+
:'browser_version' => :'browserVersion',
|
|
157
|
+
:'city' => :'city',
|
|
158
|
+
:'client_timezone' => :'clientTimezone',
|
|
159
|
+
:'continent_code' => :'continentCode',
|
|
160
|
+
:'cookie_id' => :'cookieId',
|
|
161
|
+
:'country_code' => :'countryCode',
|
|
162
|
+
:'country_name' => :'countryName',
|
|
163
|
+
:'device_fingerprint' => :'deviceFingerprint',
|
|
164
|
+
:'device_imei' => :'deviceIMEI',
|
|
165
|
+
:'device_name' => :'deviceName',
|
|
166
|
+
:'flash_plugin' => :'flashPlugin',
|
|
167
|
+
:'http_header' => :'httpHeader',
|
|
168
|
+
:'metro_code' => :'metroCode',
|
|
169
|
+
:'mfa_session' => :'mfaSession',
|
|
170
|
+
:'mime_types_present' => :'mimeTypesPresent',
|
|
171
|
+
:'mobile_number_device_link' => :'mobileNumberDeviceLink',
|
|
172
|
+
:'network_carrier' => :'networkCarrier',
|
|
173
|
+
:'operating_system' => :'operatingSystem',
|
|
174
|
+
:'postal_code' => :'postalCode',
|
|
175
|
+
:'proxy_description' => :'proxyDescription',
|
|
176
|
+
:'proxy_type' => :'proxyType',
|
|
177
|
+
:'region' => :'region',
|
|
178
|
+
:'screen_resolution' => :'screenResolution',
|
|
179
|
+
:'session_latitude' => :'sessionLatitude',
|
|
180
|
+
:'session_longitude' => :'sessionLongitude',
|
|
181
|
+
:'timestamp' => :'timestamp',
|
|
182
|
+
:'type' => :'type',
|
|
183
|
+
:'user_agent_string' => :'userAgentString',
|
|
184
|
+
:'device_id' => :'deviceId',
|
|
185
|
+
:'device_fingerprint_provider' => :'deviceFingerprintProvider',
|
|
186
|
+
:'point_of_sale' => :'pointOfSale',
|
|
187
|
+
:'ip_address_v4' => :'ipAddressV4',
|
|
188
|
+
:'ip_address_v6' => :'ipAddressV6',
|
|
189
|
+
:'device_fingerprint_vendor' => :'deviceFingerprintVendor',
|
|
190
|
+
:'device_entity_id' => :'deviceEntityId',
|
|
191
|
+
:'reference_id' => :'referenceId',
|
|
192
|
+
:'encrypted_device_data' => :'encryptedDeviceData',
|
|
193
|
+
:'device_binding_status' => :'deviceBindingStatus',
|
|
194
|
+
:'device_binding_status_source' => :'deviceBindingStatusSource'
|
|
195
|
+
}
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# Attribute mapping from JSON key to ruby-style variable name.
|
|
199
|
+
def self.json_map
|
|
200
|
+
{
|
|
201
|
+
:'ip_address' => :'ip_address',
|
|
202
|
+
:'host_name' => :'host_name',
|
|
203
|
+
:'anonymizer_in_use_flag' => :'anonymizer_in_use_flag',
|
|
204
|
+
:'area_code' => :'area_code',
|
|
205
|
+
:'browser_type' => :'browser_type',
|
|
206
|
+
:'browser_version' => :'browser_version',
|
|
207
|
+
:'city' => :'city',
|
|
208
|
+
:'client_timezone' => :'client_timezone',
|
|
209
|
+
:'continent_code' => :'continent_code',
|
|
210
|
+
:'cookie_id' => :'cookie_id',
|
|
211
|
+
:'country_code' => :'country_code',
|
|
212
|
+
:'country_name' => :'country_name',
|
|
213
|
+
:'device_fingerprint' => :'device_fingerprint',
|
|
214
|
+
:'device_imei' => :'device_imei',
|
|
215
|
+
:'device_name' => :'device_name',
|
|
216
|
+
:'flash_plugin' => :'flash_plugin',
|
|
217
|
+
:'http_header' => :'http_header',
|
|
218
|
+
:'metro_code' => :'metro_code',
|
|
219
|
+
:'mfa_session' => :'mfa_session',
|
|
220
|
+
:'mime_types_present' => :'mime_types_present',
|
|
221
|
+
:'mobile_number_device_link' => :'mobile_number_device_link',
|
|
222
|
+
:'network_carrier' => :'network_carrier',
|
|
223
|
+
:'operating_system' => :'operating_system',
|
|
224
|
+
:'postal_code' => :'postal_code',
|
|
225
|
+
:'proxy_description' => :'proxy_description',
|
|
226
|
+
:'proxy_type' => :'proxy_type',
|
|
227
|
+
:'region' => :'region',
|
|
228
|
+
:'screen_resolution' => :'screen_resolution',
|
|
229
|
+
:'session_latitude' => :'session_latitude',
|
|
230
|
+
:'session_longitude' => :'session_longitude',
|
|
231
|
+
:'timestamp' => :'timestamp',
|
|
232
|
+
:'type' => :'type',
|
|
233
|
+
:'user_agent_string' => :'user_agent_string',
|
|
234
|
+
:'device_id' => :'device_id',
|
|
235
|
+
:'device_fingerprint_provider' => :'device_fingerprint_provider',
|
|
236
|
+
:'point_of_sale' => :'point_of_sale',
|
|
237
|
+
:'ip_address_v4' => :'ip_address_v4',
|
|
238
|
+
:'ip_address_v6' => :'ip_address_v6',
|
|
239
|
+
:'device_fingerprint_vendor' => :'device_fingerprint_vendor',
|
|
240
|
+
:'device_entity_id' => :'device_entity_id',
|
|
241
|
+
:'reference_id' => :'reference_id',
|
|
242
|
+
:'encrypted_device_data' => :'encrypted_device_data',
|
|
243
|
+
:'device_binding_status' => :'device_binding_status',
|
|
244
|
+
:'device_binding_status_source' => :'device_binding_status_source'
|
|
245
|
+
}
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
# Attribute type mapping.
|
|
249
|
+
def self.swagger_types
|
|
250
|
+
{
|
|
251
|
+
:'ip_address' => :'String',
|
|
252
|
+
:'host_name' => :'String',
|
|
253
|
+
:'anonymizer_in_use_flag' => :'BOOLEAN',
|
|
254
|
+
:'area_code' => :'String',
|
|
255
|
+
:'browser_type' => :'String',
|
|
256
|
+
:'browser_version' => :'String',
|
|
257
|
+
:'city' => :'String',
|
|
258
|
+
:'client_timezone' => :'String',
|
|
259
|
+
:'continent_code' => :'String',
|
|
260
|
+
:'cookie_id' => :'String',
|
|
261
|
+
:'country_code' => :'String',
|
|
262
|
+
:'country_name' => :'String',
|
|
263
|
+
:'device_fingerprint' => :'String',
|
|
264
|
+
:'device_imei' => :'String',
|
|
265
|
+
:'device_name' => :'String',
|
|
266
|
+
:'flash_plugin' => :'String',
|
|
267
|
+
:'http_header' => :'String',
|
|
268
|
+
:'metro_code' => :'String',
|
|
269
|
+
:'mfa_session' => :'BOOLEAN',
|
|
270
|
+
:'mime_types_present' => :'String',
|
|
271
|
+
:'mobile_number_device_link' => :'String',
|
|
272
|
+
:'network_carrier' => :'String',
|
|
273
|
+
:'operating_system' => :'String',
|
|
274
|
+
:'postal_code' => :'String',
|
|
275
|
+
:'proxy_description' => :'String',
|
|
276
|
+
:'proxy_type' => :'String',
|
|
277
|
+
:'region' => :'String',
|
|
278
|
+
:'screen_resolution' => :'String',
|
|
279
|
+
:'session_latitude' => :'Float',
|
|
280
|
+
:'session_longitude' => :'Float',
|
|
281
|
+
:'timestamp' => :'DateTime',
|
|
282
|
+
:'type' => :'String',
|
|
283
|
+
:'user_agent_string' => :'String',
|
|
284
|
+
:'device_id' => :'String',
|
|
285
|
+
:'device_fingerprint_provider' => :'String',
|
|
286
|
+
:'point_of_sale' => :'UnifiedriskDevicePointOfSale',
|
|
287
|
+
:'ip_address_v4' => :'String',
|
|
288
|
+
:'ip_address_v6' => :'String',
|
|
289
|
+
:'device_fingerprint_vendor' => :'String',
|
|
290
|
+
:'device_entity_id' => :'String',
|
|
291
|
+
:'reference_id' => :'String',
|
|
292
|
+
:'encrypted_device_data' => :'String',
|
|
293
|
+
:'device_binding_status' => :'String',
|
|
294
|
+
:'device_binding_status_source' => :'String'
|
|
295
|
+
}
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
# Initializes the object
|
|
299
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
300
|
+
def initialize(attributes = {})
|
|
301
|
+
return unless attributes.is_a?(Hash)
|
|
302
|
+
|
|
303
|
+
# convert string to symbol for hash key
|
|
304
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
305
|
+
|
|
306
|
+
if attributes.has_key?(:'ipAddress')
|
|
307
|
+
self.ip_address = attributes[:'ipAddress']
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
if attributes.has_key?(:'hostName')
|
|
311
|
+
self.host_name = attributes[:'hostName']
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
if attributes.has_key?(:'anonymizerInUseFlag')
|
|
315
|
+
self.anonymizer_in_use_flag = attributes[:'anonymizerInUseFlag']
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
if attributes.has_key?(:'areaCode')
|
|
319
|
+
self.area_code = attributes[:'areaCode']
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
if attributes.has_key?(:'browserType')
|
|
323
|
+
self.browser_type = attributes[:'browserType']
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
if attributes.has_key?(:'browserVersion')
|
|
327
|
+
self.browser_version = attributes[:'browserVersion']
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
if attributes.has_key?(:'city')
|
|
331
|
+
self.city = attributes[:'city']
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
if attributes.has_key?(:'clientTimezone')
|
|
335
|
+
self.client_timezone = attributes[:'clientTimezone']
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
if attributes.has_key?(:'continentCode')
|
|
339
|
+
self.continent_code = attributes[:'continentCode']
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
if attributes.has_key?(:'cookieId')
|
|
343
|
+
self.cookie_id = attributes[:'cookieId']
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
if attributes.has_key?(:'countryCode')
|
|
347
|
+
self.country_code = attributes[:'countryCode']
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
if attributes.has_key?(:'countryName')
|
|
351
|
+
self.country_name = attributes[:'countryName']
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
if attributes.has_key?(:'deviceFingerprint')
|
|
355
|
+
self.device_fingerprint = attributes[:'deviceFingerprint']
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
if attributes.has_key?(:'deviceIMEI')
|
|
359
|
+
self.device_imei = attributes[:'deviceIMEI']
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
if attributes.has_key?(:'deviceName')
|
|
363
|
+
self.device_name = attributes[:'deviceName']
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
if attributes.has_key?(:'flashPlugin')
|
|
367
|
+
self.flash_plugin = attributes[:'flashPlugin']
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
if attributes.has_key?(:'httpHeader')
|
|
371
|
+
self.http_header = attributes[:'httpHeader']
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
if attributes.has_key?(:'metroCode')
|
|
375
|
+
self.metro_code = attributes[:'metroCode']
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
if attributes.has_key?(:'mfaSession')
|
|
379
|
+
self.mfa_session = attributes[:'mfaSession']
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
if attributes.has_key?(:'mimeTypesPresent')
|
|
383
|
+
self.mime_types_present = attributes[:'mimeTypesPresent']
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
if attributes.has_key?(:'mobileNumberDeviceLink')
|
|
387
|
+
self.mobile_number_device_link = attributes[:'mobileNumberDeviceLink']
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
if attributes.has_key?(:'networkCarrier')
|
|
391
|
+
self.network_carrier = attributes[:'networkCarrier']
|
|
392
|
+
end
|
|
393
|
+
|
|
394
|
+
if attributes.has_key?(:'operatingSystem')
|
|
395
|
+
self.operating_system = attributes[:'operatingSystem']
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
if attributes.has_key?(:'postalCode')
|
|
399
|
+
self.postal_code = attributes[:'postalCode']
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
if attributes.has_key?(:'proxyDescription')
|
|
403
|
+
self.proxy_description = attributes[:'proxyDescription']
|
|
404
|
+
end
|
|
405
|
+
|
|
406
|
+
if attributes.has_key?(:'proxyType')
|
|
407
|
+
self.proxy_type = attributes[:'proxyType']
|
|
408
|
+
end
|
|
409
|
+
|
|
410
|
+
if attributes.has_key?(:'region')
|
|
411
|
+
self.region = attributes[:'region']
|
|
412
|
+
end
|
|
413
|
+
|
|
414
|
+
if attributes.has_key?(:'screenResolution')
|
|
415
|
+
self.screen_resolution = attributes[:'screenResolution']
|
|
416
|
+
end
|
|
417
|
+
|
|
418
|
+
if attributes.has_key?(:'sessionLatitude')
|
|
419
|
+
self.session_latitude = attributes[:'sessionLatitude']
|
|
420
|
+
end
|
|
421
|
+
|
|
422
|
+
if attributes.has_key?(:'sessionLongitude')
|
|
423
|
+
self.session_longitude = attributes[:'sessionLongitude']
|
|
424
|
+
end
|
|
425
|
+
|
|
426
|
+
if attributes.has_key?(:'timestamp')
|
|
427
|
+
self.timestamp = attributes[:'timestamp']
|
|
428
|
+
end
|
|
429
|
+
|
|
430
|
+
if attributes.has_key?(:'type')
|
|
431
|
+
self.type = attributes[:'type']
|
|
432
|
+
end
|
|
433
|
+
|
|
434
|
+
if attributes.has_key?(:'userAgentString')
|
|
435
|
+
self.user_agent_string = attributes[:'userAgentString']
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
if attributes.has_key?(:'deviceId')
|
|
439
|
+
self.device_id = attributes[:'deviceId']
|
|
440
|
+
end
|
|
441
|
+
|
|
442
|
+
if attributes.has_key?(:'deviceFingerprintProvider')
|
|
443
|
+
self.device_fingerprint_provider = attributes[:'deviceFingerprintProvider']
|
|
444
|
+
end
|
|
445
|
+
|
|
446
|
+
if attributes.has_key?(:'pointOfSale')
|
|
447
|
+
self.point_of_sale = attributes[:'pointOfSale']
|
|
448
|
+
end
|
|
449
|
+
|
|
450
|
+
if attributes.has_key?(:'ipAddressV4')
|
|
451
|
+
self.ip_address_v4 = attributes[:'ipAddressV4']
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
if attributes.has_key?(:'ipAddressV6')
|
|
455
|
+
self.ip_address_v6 = attributes[:'ipAddressV6']
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
if attributes.has_key?(:'deviceFingerprintVendor')
|
|
459
|
+
self.device_fingerprint_vendor = attributes[:'deviceFingerprintVendor']
|
|
460
|
+
end
|
|
461
|
+
|
|
462
|
+
if attributes.has_key?(:'deviceEntityId')
|
|
463
|
+
self.device_entity_id = attributes[:'deviceEntityId']
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
if attributes.has_key?(:'referenceId')
|
|
467
|
+
self.reference_id = attributes[:'referenceId']
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
if attributes.has_key?(:'encryptedDeviceData')
|
|
471
|
+
self.encrypted_device_data = attributes[:'encryptedDeviceData']
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
if attributes.has_key?(:'deviceBindingStatus')
|
|
475
|
+
self.device_binding_status = attributes[:'deviceBindingStatus']
|
|
476
|
+
end
|
|
477
|
+
|
|
478
|
+
if attributes.has_key?(:'deviceBindingStatusSource')
|
|
479
|
+
self.device_binding_status_source = attributes[:'deviceBindingStatusSource']
|
|
480
|
+
end
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
484
|
+
# @return Array for valid properties with the reasons
|
|
485
|
+
def list_invalid_properties
|
|
486
|
+
invalid_properties = Array.new
|
|
487
|
+
invalid_properties
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
# Check to see if the all the properties in the model are valid
|
|
491
|
+
# @return true if the model is valid
|
|
492
|
+
def valid?
|
|
493
|
+
true
|
|
494
|
+
end
|
|
495
|
+
|
|
496
|
+
# Custom attribute writer method with validation
|
|
497
|
+
# @param [Object] ip_address Value to be assigned
|
|
498
|
+
def ip_address=(ip_address)
|
|
499
|
+
@ip_address = ip_address
|
|
500
|
+
end
|
|
501
|
+
|
|
502
|
+
# Custom attribute writer method with validation
|
|
503
|
+
# @param [Object] host_name Value to be assigned
|
|
504
|
+
def host_name=(host_name)
|
|
505
|
+
@host_name = host_name
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
# Custom attribute writer method with validation
|
|
509
|
+
# @param [Object] device_fingerprint_provider Value to be assigned
|
|
510
|
+
def device_fingerprint_provider=(device_fingerprint_provider)
|
|
511
|
+
@device_fingerprint_provider = device_fingerprint_provider
|
|
512
|
+
end
|
|
513
|
+
|
|
514
|
+
# Checks equality by comparing each attribute.
|
|
515
|
+
# @param [Object] Object to be compared
|
|
516
|
+
def ==(o)
|
|
517
|
+
return true if self.equal?(o)
|
|
518
|
+
self.class == o.class &&
|
|
519
|
+
ip_address == o.ip_address &&
|
|
520
|
+
host_name == o.host_name &&
|
|
521
|
+
anonymizer_in_use_flag == o.anonymizer_in_use_flag &&
|
|
522
|
+
area_code == o.area_code &&
|
|
523
|
+
browser_type == o.browser_type &&
|
|
524
|
+
browser_version == o.browser_version &&
|
|
525
|
+
city == o.city &&
|
|
526
|
+
client_timezone == o.client_timezone &&
|
|
527
|
+
continent_code == o.continent_code &&
|
|
528
|
+
cookie_id == o.cookie_id &&
|
|
529
|
+
country_code == o.country_code &&
|
|
530
|
+
country_name == o.country_name &&
|
|
531
|
+
device_fingerprint == o.device_fingerprint &&
|
|
532
|
+
device_imei == o.device_imei &&
|
|
533
|
+
device_name == o.device_name &&
|
|
534
|
+
flash_plugin == o.flash_plugin &&
|
|
535
|
+
http_header == o.http_header &&
|
|
536
|
+
metro_code == o.metro_code &&
|
|
537
|
+
mfa_session == o.mfa_session &&
|
|
538
|
+
mime_types_present == o.mime_types_present &&
|
|
539
|
+
mobile_number_device_link == o.mobile_number_device_link &&
|
|
540
|
+
network_carrier == o.network_carrier &&
|
|
541
|
+
operating_system == o.operating_system &&
|
|
542
|
+
postal_code == o.postal_code &&
|
|
543
|
+
proxy_description == o.proxy_description &&
|
|
544
|
+
proxy_type == o.proxy_type &&
|
|
545
|
+
region == o.region &&
|
|
546
|
+
screen_resolution == o.screen_resolution &&
|
|
547
|
+
session_latitude == o.session_latitude &&
|
|
548
|
+
session_longitude == o.session_longitude &&
|
|
549
|
+
timestamp == o.timestamp &&
|
|
550
|
+
type == o.type &&
|
|
551
|
+
user_agent_string == o.user_agent_string &&
|
|
552
|
+
device_id == o.device_id &&
|
|
553
|
+
device_fingerprint_provider == o.device_fingerprint_provider &&
|
|
554
|
+
point_of_sale == o.point_of_sale &&
|
|
555
|
+
ip_address_v4 == o.ip_address_v4 &&
|
|
556
|
+
ip_address_v6 == o.ip_address_v6 &&
|
|
557
|
+
device_fingerprint_vendor == o.device_fingerprint_vendor &&
|
|
558
|
+
device_entity_id == o.device_entity_id &&
|
|
559
|
+
reference_id == o.reference_id &&
|
|
560
|
+
encrypted_device_data == o.encrypted_device_data &&
|
|
561
|
+
device_binding_status == o.device_binding_status &&
|
|
562
|
+
device_binding_status_source == o.device_binding_status_source
|
|
563
|
+
end
|
|
564
|
+
|
|
565
|
+
# @see the `==` method
|
|
566
|
+
# @param [Object] Object to be compared
|
|
567
|
+
def eql?(o)
|
|
568
|
+
self == o
|
|
569
|
+
end
|
|
570
|
+
|
|
571
|
+
# Calculates hash code according to all attributes.
|
|
572
|
+
# @return [Fixnum] Hash code
|
|
573
|
+
def hash
|
|
574
|
+
[ip_address, host_name, anonymizer_in_use_flag, area_code, browser_type, browser_version, city, client_timezone, continent_code, cookie_id, country_code, country_name, device_fingerprint, device_imei, device_name, flash_plugin, http_header, metro_code, mfa_session, mime_types_present, mobile_number_device_link, network_carrier, operating_system, postal_code, proxy_description, proxy_type, region, screen_resolution, session_latitude, session_longitude, timestamp, type, user_agent_string, device_id, device_fingerprint_provider, point_of_sale, ip_address_v4, ip_address_v6, device_fingerprint_vendor, device_entity_id, reference_id, encrypted_device_data, device_binding_status, device_binding_status_source].hash
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
# Builds the object from hash
|
|
578
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
579
|
+
# @return [Object] Returns the model itself
|
|
580
|
+
def build_from_hash(attributes)
|
|
581
|
+
return nil unless attributes.is_a?(Hash)
|
|
582
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
583
|
+
if type =~ /\AArray<(.*)>/i
|
|
584
|
+
# check to ensure the input is an array given that the the attribute
|
|
585
|
+
# is documented as an array but the input is not
|
|
586
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
587
|
+
self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
588
|
+
end
|
|
589
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
590
|
+
self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
591
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
592
|
+
end
|
|
593
|
+
|
|
594
|
+
self
|
|
595
|
+
end
|
|
596
|
+
|
|
597
|
+
# Deserializes the data based on type
|
|
598
|
+
# @param string type Data type
|
|
599
|
+
# @param string value Value to be deserialized
|
|
600
|
+
# @return [Object] Deserialized data
|
|
601
|
+
def _deserialize(type, value)
|
|
602
|
+
case type.to_sym
|
|
603
|
+
when :DateTime
|
|
604
|
+
DateTime.parse(value)
|
|
605
|
+
when :Date
|
|
606
|
+
Date.parse(value)
|
|
607
|
+
when :String
|
|
608
|
+
value.to_s
|
|
609
|
+
when :Integer
|
|
610
|
+
value.to_i
|
|
611
|
+
when :Float
|
|
612
|
+
value.to_f
|
|
613
|
+
when :BOOLEAN
|
|
614
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
615
|
+
true
|
|
616
|
+
else
|
|
617
|
+
false
|
|
618
|
+
end
|
|
619
|
+
when :Object
|
|
620
|
+
# generic object (usually a Hash), return directly
|
|
621
|
+
value
|
|
622
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
623
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
624
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
625
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
626
|
+
k_type = Regexp.last_match[:k_type]
|
|
627
|
+
v_type = Regexp.last_match[:v_type]
|
|
628
|
+
{}.tap do |hash|
|
|
629
|
+
value.each do |k, v|
|
|
630
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
631
|
+
end
|
|
632
|
+
end
|
|
633
|
+
else # model
|
|
634
|
+
temp_model = CyberSource.const_get(type).new
|
|
635
|
+
temp_model.build_from_hash(value)
|
|
636
|
+
end
|
|
637
|
+
end
|
|
638
|
+
|
|
639
|
+
# Returns the string representation of the object
|
|
640
|
+
# @return [String] String presentation of the object
|
|
641
|
+
def to_s
|
|
642
|
+
to_hash.to_s
|
|
643
|
+
end
|
|
644
|
+
|
|
645
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
646
|
+
# @return [Hash] Returns the object in the form of hash
|
|
647
|
+
def to_body
|
|
648
|
+
to_hash
|
|
649
|
+
end
|
|
650
|
+
|
|
651
|
+
# Returns the object in the form of hash
|
|
652
|
+
# @return [Hash] Returns the object in the form of hash
|
|
653
|
+
def to_hash
|
|
654
|
+
hash = {}
|
|
655
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
656
|
+
value = self.send(attr)
|
|
657
|
+
next if value.nil?
|
|
658
|
+
hash[param] = _to_hash(value)
|
|
659
|
+
end
|
|
660
|
+
hash
|
|
661
|
+
end
|
|
662
|
+
|
|
663
|
+
# Outputs non-array value in the form of hash
|
|
664
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
665
|
+
# @param [Object] value Any valid value
|
|
666
|
+
# @return [Hash] Returns the value in the form of hash
|
|
667
|
+
def _to_hash(value)
|
|
668
|
+
if value.is_a?(Array)
|
|
669
|
+
value.compact.map { |v| _to_hash(v) }
|
|
670
|
+
elsif value.is_a?(Hash)
|
|
671
|
+
{}.tap do |hash|
|
|
672
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
673
|
+
end
|
|
674
|
+
elsif value.respond_to? :to_hash
|
|
675
|
+
value.to_hash
|
|
676
|
+
else
|
|
677
|
+
value
|
|
678
|
+
end
|
|
679
|
+
end
|
|
680
|
+
end
|
|
681
|
+
end
|