java.lang.Object
com.maxmind.minfraud.AbstractModel
com.maxmind.minfraud.response.ScoreResponse
com.maxmind.minfraud.response.InsightsResponse
- Direct Known Subclasses:
FactorsResponse
This class provides a model for the minFraud Insights response.
-
Constructor Summary
ConstructorsConstructorDescriptionInsightsResponse
(BillingAddress billingAddress, CreditCard creditCard, Device device, Disposition disposition, Email email, Double fundsRemaining, UUID id, IpAddress ipAddress, Integer queriesRemaining, Double riskScore, ShippingAddress shippingAddress, List<Warning> warnings) Deprecated.use other constructor.InsightsResponse
(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<Warning> warnings) Constructor forInsightsResponse
. -
Method Summary
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
-
InsightsResponse
public InsightsResponse(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<Warning> warnings) Constructor forInsightsResponse
.- Parameters:
billingAddress
- billing addressbillingPhone
- billing phonecreditCard
- credit carddevice
- devicedisposition
- dispositionemail
- emailfundsRemaining
- funds remainingid
- idipAddress
- ip addressqueriesRemaining
- queries remainingriskScore
- risk scoreshippingAddress
- shipping addressshippingPhone
- shipping phonewarnings
- warnings
-
InsightsResponse
@Deprecated public InsightsResponse(BillingAddress billingAddress, CreditCard creditCard, Device device, Disposition disposition, Email email, Double fundsRemaining, UUID id, IpAddress ipAddress, Integer queriesRemaining, Double riskScore, ShippingAddress shippingAddress, List<Warning> warnings) Deprecated.use other constructor.Constructor for backwards compatibility. This will be removed in the next major release.
-
-
Method Details
-
getIpAddress
- Overrides:
getIpAddress
in classScoreResponse
- Returns:
- The
IpAddress
model object.
-
getCreditCard
- Returns:
- The
CreditCard
model object.
-
getDevice
- Returns:
- The
Device
model object.
-
getEmail
- Returns:
- The
Email
model object.
-
getShippingAddress
- Returns:
- The
ShippingAddress
model object.
-
getShippingPhone
- Returns:
- The
Phone
model object for the shipping phone number.
-
getBillingAddress
- Returns:
- The
BillingAddress
model object.
-
getBillingPhone
- Returns:
- The
Phone
model object for the billing phone number.
-