Package com.maxmind.minfraud.request
Class Email
- java.lang.Object
-
- com.maxmind.minfraud.AbstractModel
-
- com.maxmind.minfraud.request.Email
-
public final class Email extends AbstractModel
The email information for the transaction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Email.Builder
Builder
creates instances ofEmail
from values set by the builder's methods.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getAddress()
String
getAddressMd5()
Deprecated.getAddress()
should be used instead.String
getDomain()
-
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
-
-
-
Method Detail
-
getAddress
public String getAddress()
- Returns:
- The email address field to use in the transaction. This will be
a valid email address if you used
Email.Builder.address(String)
, an MD5 hash if you usedEmail.Builder.hashAddress()
as well, or null if you did not set an email address.
-
getAddressMd5
@Deprecated public String getAddressMd5()
Deprecated.getAddress()
should be used instead.- Returns:
- The MD5 hash of the email address if you set an address using
Email.Builder.address(String)
, or null if you did not.
-
getDomain
public String getDomain()
- Returns:
- The domain of the email address used in the transaction.
-
-