java.lang.Object
com.maxmind.minfraud.request.Account.Builder
- Enclosing class:
- Account
Builder
creates instances of Account
from values set by the builder's
methods.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
userId
- Parameters:
id
- A unique user ID associated with the end-user in your system. If your system allows the login name for the account to be changed, this should not be the login name for the account, but rather should be an internal ID that does not change. This is not your MaxMind user ID.- Returns:
- The builder object.
-
username
- Parameters:
username
- The username associated with the account. This is not the MD5 of username. This method automatically runsDigestUtils.md5Hex
on the string passed to it.- Returns:
- The builder object.
-
build
- Returns:
- An instance of
Account
created from the fields set on this builder.
-