Class: Minfraud::Model::Subscores
- Inherits:
-
Abstract
- Object
- Abstract
- Minfraud::Model::Subscores
- Defined in:
- lib/minfraud/model/subscores.rb
Overview
Score for risk factors that are used in calculating the riskScore.
Instance Attribute Summary collapse
-
#avs_result ⇒ Float?
readonly
The risk associated with the AVS result.
-
#billing_address ⇒ Float?
readonly
The risk associated with the billing address.
-
#billing_address_distance_to_ip_location ⇒ Float?
readonly
The risk associated with the distance between the billing address and the location for the given IP address.
-
#browser ⇒ Float?
readonly
The risk associated with the browser attributes such as the User-Agent and Accept-Language.
-
#chargeback ⇒ Float?
readonly
Individualized risk of chargeback for the given IP address given for your account and any shop ID passed.
-
#country ⇒ Float?
readonly
The risk associated with the country the transaction originated from.
-
#country_mismatch ⇒ Float?
readonly
The risk associated with the combination of IP country, card issuer country, billing country, and shipping country.
-
#cvv_result ⇒ Float?
readonly
The risk associated with the CVV result.
-
#device ⇒ Float?
readonly
The risk associated with the device.
-
#email_address ⇒ Float?
readonly
The risk associated with the particular email address.
-
#email_domain ⇒ Float?
readonly
The general risk associated with the email domain.
-
#email_local_part ⇒ Float?
readonly
The risk associated with the email address local part (the part of the email address before the @ symbol).
-
#issuer_id_number ⇒ Float?
readonly
The risk associated with the particular issuer ID number (IIN) given the billing location and the history of usage of the IIN on your account and shop ID.
-
#order_amount ⇒ Float?
readonly
The risk associated with the particular order amount for your account and shop ID.
-
#phone_number ⇒ Float?
readonly
The risk associated with the particular phone number.
-
#shipping_address ⇒ Float?
readonly
The risk associated with the shipping address.
-
#shipping_address_distance_to_ip_location ⇒ Float?
readonly
The risk associated with the distance between the shipping address and the IP location for the given IP address.
-
#time_of_day ⇒ Float?
readonly
The risk associated with the local time of day of the transaction in the IP address location.
Instance Attribute Details
#avs_result ⇒ Float? (readonly)
The risk associated with the AVS result. If present, this is a value in the range 0.01 to 99.
13 14 15 |
# File 'lib/minfraud/model/subscores.rb', line 13 def avs_result @avs_result end |
#billing_address ⇒ Float? (readonly)
The risk associated with the billing address. If present, this is a value in the range 0.01 to 99.
19 20 21 |
# File 'lib/minfraud/model/subscores.rb', line 19 def billing_address @billing_address end |
#billing_address_distance_to_ip_location ⇒ Float? (readonly)
The risk associated with the distance between the billing address and the location for the given IP address. If present, this is a value in the range 0.01 to 99.
26 27 28 |
# File 'lib/minfraud/model/subscores.rb', line 26 def billing_address_distance_to_ip_location @billing_address_distance_to_ip_location end |
#browser ⇒ Float? (readonly)
The risk associated with the browser attributes such as the User-Agent and Accept-Language. If present, this is a value in the range 0.01 to 99.
33 34 35 |
# File 'lib/minfraud/model/subscores.rb', line 33 def browser @browser end |
#chargeback ⇒ Float? (readonly)
Individualized risk of chargeback for the given IP address given for your account and any shop ID passed. This is only available to users sending chargeback data to MaxMind. If present, this is a value in the range 0.01 to 99.
41 42 43 |
# File 'lib/minfraud/model/subscores.rb', line 41 def chargeback @chargeback end |
#country ⇒ Float? (readonly)
The risk associated with the country the transaction originated from. If present, this is a value in the range 0.01 to 99.
47 48 49 |
# File 'lib/minfraud/model/subscores.rb', line 47 def country @country end |
#country_mismatch ⇒ Float? (readonly)
The risk associated with the combination of IP country, card issuer country, billing country, and shipping country. If present, this is a value in the range 0.01 to 99.
54 55 56 |
# File 'lib/minfraud/model/subscores.rb', line 54 def country_mismatch @country_mismatch end |
#cvv_result ⇒ Float? (readonly)
The risk associated with the CVV result. If present, this is a value in the range 0.01 to 99.
60 61 62 |
# File 'lib/minfraud/model/subscores.rb', line 60 def cvv_result @cvv_result end |
#device ⇒ Float? (readonly)
The risk associated with the device. If present, this is a value in the range of 0.01 to 99.
66 67 68 |
# File 'lib/minfraud/model/subscores.rb', line 66 def device @device end |
#email_address ⇒ Float? (readonly)
The risk associated with the particular email address. If present, this is a value in the range 0.01 to 99.
72 73 74 |
# File 'lib/minfraud/model/subscores.rb', line 72 def email_address @email_address end |
#email_domain ⇒ Float? (readonly)
The general risk associated with the email domain. If present, this is a value in the range 0.01 to 99.
78 79 80 |
# File 'lib/minfraud/model/subscores.rb', line 78 def email_domain @email_domain end |
#email_local_part ⇒ Float? (readonly)
The risk associated with the email address local part (the part of the email address before the @ symbol). If present, this is a value in the range 0.01 to 99.
85 86 87 |
# File 'lib/minfraud/model/subscores.rb', line 85 def email_local_part @email_local_part end |
#issuer_id_number ⇒ Float? (readonly)
The risk associated with the particular issuer ID number (IIN) given the billing location and the history of usage of the IIN on your account and shop ID. If present, this is a value in the range 0.01 to 99.
93 94 95 |
# File 'lib/minfraud/model/subscores.rb', line 93 def issuer_id_number @issuer_id_number end |
#order_amount ⇒ Float? (readonly)
The risk associated with the particular order amount for your account and shop ID. If present, this is a value in the range 0.01 to 99.
99 100 101 |
# File 'lib/minfraud/model/subscores.rb', line 99 def order_amount @order_amount end |
#phone_number ⇒ Float? (readonly)
The risk associated with the particular phone number. If present, this is a value in the range 0.01 to 99.
105 106 107 |
# File 'lib/minfraud/model/subscores.rb', line 105 def phone_number @phone_number end |
#shipping_address ⇒ Float? (readonly)
The risk associated with the shipping address. If present, this is a value in the range 0.01 to 99.
111 112 113 |
# File 'lib/minfraud/model/subscores.rb', line 111 def shipping_address @shipping_address end |
#shipping_address_distance_to_ip_location ⇒ Float? (readonly)
The risk associated with the distance between the shipping address and the IP location for the given IP address. If present, this is a value in the range 0.01 to 99.
118 119 120 |
# File 'lib/minfraud/model/subscores.rb', line 118 def shipping_address_distance_to_ip_location @shipping_address_distance_to_ip_location end |
#time_of_day ⇒ Float? (readonly)
The risk associated with the local time of day of the transaction in the IP address location. If present, this is a value in the range 0.01 to 99.
125 126 127 |
# File 'lib/minfraud/model/subscores.rb', line 125 def time_of_day @time_of_day end |