Record Class IpRiskReason
java.lang.Object
java.lang.Record
com.maxmind.minfraud.response.IpRiskReason
- Record Components:
code- This provides a machine-readable code identifying the reason. Although more codes may be added in the future, the current codes are:- ANONYMOUS_IP
- The IP address belongs to an anonymous network. See the
object at
.IPAddress.Traitsfor more details. - BILLING_POSTAL_VELOCITY
- Many different billing postal codes have been seen on this IP address.
- EMAIL_VELOCITY
- Many different email addresses have been seen on this IP address.
- HIGH_RISK_DEVICE
- A high risk device was seen on this IP address.
- HIGH_RISK_EMAIL
- A high risk email address was seen on this IP address in your past transactions.
- ISSUER_ID_NUMBER_VELOCITY
- Many different issuer ID numbers have been seen on this IP address.
- MINFRAUD_NETWORK_ACTIVITY
- Suspicious activity has been seen on this IP address across minFraud customers.
reason- This field provides a human-readable explanation of the reason. The description may change at any time and should not be matched against.
- All Implemented Interfaces:
JsonSerializable
This class represents the reason for the IP risk.
-
Constructor Summary
ConstructorsConstructorDescriptionIpRiskReason(String code, String reason) Creates an instance of aIpRiskReasonrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the value of thecoderecord component.final booleanIndicates whether some other object is "equal to" this one.getCode()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Usereason()instead.final inthashCode()Returns a hash code value for this object.reason()Returns the value of thereasonrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface JsonSerializable
toJson
-
Constructor Details
-
IpRiskReason
-
-
Method Details
-
getCode
Deprecated, for removal: This API element is subject to removal in a future version.Usecode()instead. This method will be removed in 5.0.0.This provides a machine-readable code identifying the reason. Although more codes may be added in the future, the current codes are:- ANONYMOUS_IP
- The IP address belongs to an anonymous network. See the
object at
.IPAddress.Traitsfor more details. - BILLING_POSTAL_VELOCITY
- Many different billing postal codes have been seen on this IP address.
- EMAIL_VELOCITY
- Many different email addresses have been seen on this IP address.
- HIGH_RISK_DEVICE
- A high risk device was seen on this IP address.
- HIGH_RISK_EMAIL
- A high risk email address was seen on this IP address in your past transactions.
- ISSUER_ID_NUMBER_VELOCITY
- Many different issuer ID numbers have been seen on this IP address.
- MINFRAUD_NETWORK_ACTIVITY
- Suspicious activity has been seen on this IP address across minFraud customers.
- Returns:
- The reason code.
-
getReason
Deprecated, for removal: This API element is subject to removal in a future version.Usereason()instead. This method will be removed in 5.0.0.- Returns:
- This field provides a human-readable explanation of the reason. The description may change at any time and should not be matched against.
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
code
-
reason
-
code()instead.