java.lang.Object
com.maxmind.minfraud.AbstractModel
com.maxmind.minfraud.response.ScoreResponse
com.maxmind.minfraud.response.InsightsResponse
com.maxmind.minfraud.response.FactorsResponse
This class provides a model for the minFraud Factors response.
-
Constructor Summary
ConstructorsConstructorDescriptionFactorsResponse
(BillingAddress billingAddress, CreditCard creditCard, Device device, Disposition disposition, Email email, Double fundsRemaining, UUID id, IpAddress ipAddress, Integer queriesRemaining, Double riskScore, ShippingAddress shippingAddress, Subscores subscores, List<Warning> warnings) Deprecated.use other constructor.FactorsResponse
(BillingAddress billingAddress, Phone billingPhone, CreditCard creditCard, Device device, Disposition disposition, Email email, Double fundsRemaining, UUID id, IpAddress ipAddress, Integer queriesRemaining, Double riskScore, ShippingAddress shippingAddress, Phone shippingPhone, Subscores subscores, List<Warning> warnings) Deprecated.use other constructor.FactorsResponse
(BillingAddress billingAddress, Phone billingPhone, CreditCard creditCard, Device device, Disposition disposition, Email email, Double fundsRemaining, UUID id, IpAddress ipAddress, Integer queriesRemaining, Double riskScore, ShippingAddress shippingAddress, Phone shippingPhone, List<RiskScoreReason> riskScoreReasons, Subscores subscores, List<Warning> warnings) Constructor forFactorsResponse
. -
Method Summary
Methods inherited from class com.maxmind.minfraud.response.InsightsResponse
getBillingAddress, getBillingPhone, getCreditCard, getDevice, getEmail, getIpAddress, getShippingAddress, getShippingPhone
Methods inherited from class com.maxmind.minfraud.response.ScoreResponse
getDisposition, getFundsRemaining, getId, getQueriesRemaining, getRiskScore, getWarnings
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
Constructor Details
-
FactorsResponse
public FactorsResponse(BillingAddress billingAddress, Phone billingPhone, CreditCard creditCard, Device device, Disposition disposition, Email email, Double fundsRemaining, UUID id, IpAddress ipAddress, Integer queriesRemaining, Double riskScore, ShippingAddress shippingAddress, Phone shippingPhone, List<RiskScoreReason> riskScoreReasons, Subscores subscores, List<Warning> warnings) Constructor forFactorsResponse
.- Parameters:
billingAddress
- TheBillingAddress
model object.creditCard
- TheCreditCard
model object.device
- TheDevice
model object.disposition
- TheDisposition
model object.email
- TheEmail
model object.fundsRemaining
- The approximate US dollar value of the funds.id
- This is a UUID that identifies the minFraud request.ipAddress
- TheIpAddress
model object.queriesRemaining
- The number of queries remaining.riskScore
- The risk score.shippingAddress
- TheShippingAddress
model object.riskScoreReasons
- A list containingRiskScoreReason
model objects that describe risk score reasons for a given transaction that change the risk score significantly. Risk score reasons are usually only returned for medium to high risk transactions. If there were no significant changes to the risk score due to these reasons, then this list will be empty.subscores
- TheSubscores
model object.warnings
- A list containing warning objects.
-
FactorsResponse
@Deprecated public FactorsResponse(BillingAddress billingAddress, CreditCard creditCard, Device device, Disposition disposition, Email email, Double fundsRemaining, UUID id, IpAddress ipAddress, Integer queriesRemaining, Double riskScore, ShippingAddress shippingAddress, Subscores subscores, List<Warning> warnings) Deprecated.use other constructor.Constructor for backwards compatibility. This will be removed in the next major release. -
FactorsResponse
@Deprecated public FactorsResponse(BillingAddress billingAddress, Phone billingPhone, CreditCard creditCard, Device device, Disposition disposition, Email email, Double fundsRemaining, UUID id, IpAddress ipAddress, Integer queriesRemaining, Double riskScore, ShippingAddress shippingAddress, Phone shippingPhone, Subscores subscores, List<Warning> warnings) Deprecated.use other constructor.Constructor for backwards compatibility. This will be removed in the next major release.
-
-
Method Details
-
getRiskScoreReasons
- Returns:
- A list containing objects that describe risk score reasons for a given transaction that change the risk score significantly.
-
getSubscores
Deprecated.replaced bygetRiskScoreReasons()
.- Returns:
- The
Subscores
model object containing the risk factor scores.
-