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, getWarningsMethods 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:
getIpAddressin classScoreResponse- Returns:
- The
IpAddressmodel object.
-
getCreditCard
- Returns:
- The
CreditCardmodel object.
-
getDevice
- Returns:
- The
Devicemodel object.
-
getEmail
- Returns:
- The
Emailmodel object.
-
getShippingAddress
- Returns:
- The
ShippingAddressmodel object.
-
getShippingPhone
- Returns:
- The
Phonemodel object for the shipping phone number.
-
getBillingAddress
- Returns:
- The
BillingAddressmodel object.
-
getBillingPhone
- Returns:
- The
Phonemodel object for the billing phone number.
-