java.lang.Object
com.maxmind.minfraud.request.CustomInputs.Builder
- Enclosing class:
- CustomInputs
Builder creates instances of CustomInputs from values set by the builder's
 methods.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Add a boolean custom input.Add a numeric custom input.Add a string custom input.
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
putAdd a string custom input.- Parameters:
- key- The key for the custom input as defined on your account portal.
- value- The custom input value. Must be less than 256 characters and must not contain new lines.
- Returns:
- The builder object.
- Throws:
- IllegalArgumentException- when the key or value are invalid.
 
- 
putAdd a numeric custom input.- Parameters:
- key- The key for the custom input as defined on your account portal.
- value- The custom input value. Must be between -10^13 and 10^13 exclusive.
- Returns:
- The builder object.
- Throws:
- IllegalArgumentException- when the key or value are invalid.
 
- 
putAdd a boolean custom input.- Parameters:
- key- The key for the custom input as defined on your account portal.
- value- The custom input value.
- Returns:
- The builder object.
- Throws:
- IllegalArgumentException- when the key or value are invalid.
 
- 
build- Returns:
- An instance of CustomInputscreated from the fields set on this builder.
 
 
-