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, getShippingPhoneMethods inherited from class com.maxmind.minfraud.response.ScoreResponse
getDisposition, getFundsRemaining, getId, getQueriesRemaining, getRiskScore, getWarningsMethods 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- TheBillingAddressmodel object.creditCard- TheCreditCardmodel object.device- TheDevicemodel object.disposition- TheDispositionmodel object.email- TheEmailmodel object.fundsRemaining- The approximate US dollar value of the funds.id- This is a UUID that identifies the minFraud request.ipAddress- TheIpAddressmodel object.queriesRemaining- The number of queries remaining.riskScore- The risk score.shippingAddress- TheShippingAddressmodel object.riskScoreReasons- A list containingRiskScoreReasonmodel 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- TheSubscoresmodel 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
Subscoresmodel object containing the risk factor scores.
-