Class: Minfraud::Model::Subscores

Inherits:
Abstract
  • Object
show all
Defined in:
lib/minfraud/model/subscores.rb

Overview

Score for risk factors that are used in calculating the riskScore.

Instance Attribute Summary collapse

Instance Attribute Details

#avs_resultFloat? (readonly)

The risk associated with the AVS result. If present, this is a value in the range 0.01 to 99.

Returns:

  • (Float, nil)


13
14
15
# File 'lib/minfraud/model/subscores.rb', line 13

def avs_result
  @avs_result
end

#billing_addressFloat? (readonly)

The risk associated with the billing address. If present, this is a value in the range 0.01 to 99.

Returns:

  • (Float, nil)


19
20
21
# File 'lib/minfraud/model/subscores.rb', line 19

def billing_address
  @billing_address
end

#billing_address_distance_to_ip_locationFloat? (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.

Returns:

  • (Float, nil)


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

#browserFloat? (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.

Returns:

  • (Float, nil)


33
34
35
# File 'lib/minfraud/model/subscores.rb', line 33

def browser
  @browser
end

#chargebackFloat? (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.

Returns:

  • (Float, nil)


41
42
43
# File 'lib/minfraud/model/subscores.rb', line 41

def chargeback
  @chargeback
end

#countryFloat? (readonly)

The risk associated with the country the transaction originated from. If present, this is a value in the range 0.01 to 99.

Returns:

  • (Float, nil)


47
48
49
# File 'lib/minfraud/model/subscores.rb', line 47

def country
  @country
end

#country_mismatchFloat? (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.

Returns:

  • (Float, nil)


54
55
56
# File 'lib/minfraud/model/subscores.rb', line 54

def country_mismatch
  @country_mismatch
end

#cvv_resultFloat? (readonly)

The risk associated with the CVV result. If present, this is a value in the range 0.01 to 99.

Returns:

  • (Float, nil)


60
61
62
# File 'lib/minfraud/model/subscores.rb', line 60

def cvv_result
  @cvv_result
end

#deviceFloat? (readonly)

The risk associated with the device. If present, this is a value in the range of 0.01 to 99.

Returns:

  • (Float, nil)


66
67
68
# File 'lib/minfraud/model/subscores.rb', line 66

def device
  @device
end

#email_addressFloat? (readonly)

The risk associated with the particular email address. If present, this is a value in the range 0.01 to 99.

Returns:

  • (Float, nil)


72
73
74
# File 'lib/minfraud/model/subscores.rb', line 72

def email_address
  @email_address
end

#email_domainFloat? (readonly)

The general risk associated with the email domain. If present, this is a value in the range 0.01 to 99.

Returns:

  • (Float, nil)


78
79
80
# File 'lib/minfraud/model/subscores.rb', line 78

def email_domain
  @email_domain
end

#email_local_partFloat? (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.

Returns:

  • (Float, nil)


85
86
87
# File 'lib/minfraud/model/subscores.rb', line 85

def email_local_part
  @email_local_part
end

#issuer_id_numberFloat? (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.

Returns:

  • (Float, nil)


93
94
95
# File 'lib/minfraud/model/subscores.rb', line 93

def issuer_id_number
  @issuer_id_number
end

#order_amountFloat? (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.

Returns:

  • (Float, nil)


99
100
101
# File 'lib/minfraud/model/subscores.rb', line 99

def order_amount
  @order_amount
end

#phone_numberFloat? (readonly)

The risk associated with the particular phone number. If present, this is a value in the range 0.01 to 99.

Returns:

  • (Float, nil)


105
106
107
# File 'lib/minfraud/model/subscores.rb', line 105

def phone_number
  @phone_number
end

#shipping_addressFloat? (readonly)

The risk associated with the shipping address. If present, this is a value in the range 0.01 to 99.

Returns:

  • (Float, nil)


111
112
113
# File 'lib/minfraud/model/subscores.rb', line 111

def shipping_address
  @shipping_address
end

#shipping_address_distance_to_ip_locationFloat? (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.

Returns:

  • (Float, nil)


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_dayFloat? (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.

Returns:

  • (Float, nil)


125
126
127
# File 'lib/minfraud/model/subscores.rb', line 125

def time_of_day
  @time_of_day
end