Package com.maxmind.minfraud.response
Class Subscores
- java.lang.Object
-
- com.maxmind.minfraud.response.Subscores
-
public final class Subscores extends Object
This class contains subscores for many of the individual components that are used to calculate the overall risk score.
-
-
Constructor Summary
Constructors Constructor Description Subscores()
Subscores(Double avsResult, Double billingAddress, Double billingAddressDistanceToIpLocation, Double browser, Double chargeback, Double country, Double countryMismatch, Double cvvResult, Double emailAddress, Double emailDomain, Double emailTenure, Double ipTenure, Double issuerIdNumber, Double orderAmount, Double phoneNumber, Double shippingAddressDistanceToIpLocation, Double timeOfDay)
Subscores(Double avsResult, Double billingAddress, Double billingAddressDistanceToIpLocation, Double browser, Double chargeback, Double country, Double countryMismatch, Double cvvResult, Double device, Double emailAddress, Double emailDomain, Double emailLocalPart, Double emailTenure, Double ipTenure, Double issuerIdNumber, Double orderAmount, Double phoneNumber, Double shippingAddress, Double shippingAddressDistanceToIpLocation, Double timeOfDay)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Double
getAvsResult()
Double
getBillingAddress()
Double
getBillingAddressDistanceToIpLocation()
Double
getBrowser()
Double
getChargeback()
Double
getCountry()
Double
getCountryMismatch()
Double
getCvvResult()
Double
getDevice()
Double
getEmailAddress()
Double
getEmailDomain()
Double
getEmailLocalPart()
Double
getEmailTenure()
Deprecated.Deprecated effective August 29, 2019.Double
getIpTenure()
Deprecated.Deprecated effective August 29, 2019.Double
getIssuerIdNumber()
Double
getOrderAmount()
Double
getPhoneNumber()
Double
getShippingAddress()
Double
getShippingAddressDistanceToIpLocation()
Double
getTimeOfDay()
-
-
-
Constructor Detail
-
Subscores
public Subscores(Double avsResult, Double billingAddress, Double billingAddressDistanceToIpLocation, Double browser, Double chargeback, Double country, Double countryMismatch, Double cvvResult, Double device, Double emailAddress, Double emailDomain, Double emailLocalPart, Double emailTenure, Double ipTenure, Double issuerIdNumber, Double orderAmount, Double phoneNumber, Double shippingAddress, Double shippingAddressDistanceToIpLocation, Double timeOfDay)
-
Subscores
public Subscores(Double avsResult, Double billingAddress, Double billingAddressDistanceToIpLocation, Double browser, Double chargeback, Double country, Double countryMismatch, Double cvvResult, Double emailAddress, Double emailDomain, Double emailTenure, Double ipTenure, Double issuerIdNumber, Double orderAmount, Double phoneNumber, Double shippingAddressDistanceToIpLocation, Double timeOfDay)
-
Subscores
public Subscores()
-
-
Method Detail
-
getAvsResult
public Double getAvsResult()
- Returns:
- The risk associated with the AVS result. If present, this is a value in the range 0.01 to 99.
-
getBillingAddress
public Double getBillingAddress()
- Returns:
- The risk associated with the billing address. If present, this is a value in the range 0.01 to 99.
-
getBillingAddressDistanceToIpLocation
public Double getBillingAddressDistanceToIpLocation()
- Returns:
- 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.
-
getBrowser
public Double getBrowser()
- Returns:
- 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.
-
getChargeback
public Double getChargeback()
- Returns:
- Individualized risk of chargeback for the given IP address on your account and shop ID. This is only available to users sending chargeback data to MaxMind. If present, this is a value in the range 0.01 to 99.
-
getCountry
public Double getCountry()
- Returns:
- The risk associated with the country the transaction originated from. If present, this is a value in the range 0.01 to 99.
-
getCountryMismatch
public Double getCountryMismatch()
- Returns:
- 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.
-
getCvvResult
public Double getCvvResult()
- Returns:
- The risk associated with the CVV result. If present, this is a value in the range 0.01 to 99.
-
getDevice
public Double getDevice()
- Returns:
- The risk associated with the device. If present, this is a value in the range 0.01 to 99.
-
getEmailAddress
public Double getEmailAddress()
- Returns:
- The risk associated with the particular email address. If present, this is a value in the range 0.01 to 99.
-
getEmailDomain
public Double getEmailDomain()
- Returns:
- The general risk associated with the email domain. If present, this is a value in the range 0.01 to 99.
-
getEmailLocalPart
public Double getEmailLocalPart()
- Returns:
- 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.
-
getEmailTenure
@Deprecated public Double getEmailTenure()
Deprecated.Deprecated effective August 29, 2019. This subscore will default to 1 and will be removed in a future release. The user tenure on email is reflected in the email address subscore.getEmailAddress()
.- Returns:
- The risk associated with the issuer ID number on the email domain. If present, this is a value in the range 0.01 to 99.
-
getIpTenure
@Deprecated public Double getIpTenure()
Deprecated.Deprecated effective August 29, 2019. This subscore will default to 1 and will be removed in a future release. The IP tenure is reflected in the overall risk score.ScoreResponse.getRiskScore()
- Returns:
- The risk associated with the issuer ID number on the IP address. If present, this is a value in the range 0.01 to 99.
-
getIssuerIdNumber
public Double getIssuerIdNumber()
- Returns:
- 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.
-
getOrderAmount
public Double getOrderAmount()
- Returns:
- 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.
-
getPhoneNumber
public Double getPhoneNumber()
- Returns:
- The risk associated with the particular phone number. If present, this is a value in the range 0.01 to 99.
-
getShippingAddress
public Double getShippingAddress()
- Returns:
- The risk associated with the shipping address. If present, this is a value in the range 0.01 to 99.
-
getShippingAddressDistanceToIpLocation
public Double getShippingAddressDistanceToIpLocation()
- Returns:
- 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.
-
getTimeOfDay
public Double getTimeOfDay()
- Returns:
- 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.
-
-