Package com.maxmind.minfraud.request
Class Transaction.Builder
java.lang.Object
com.maxmind.minfraud.request.Transaction.Builder
- Enclosing class:
- Transaction
Builder creates instances of the parent class from values set
by the builder's methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd aShoppingCartItemto the shopping cart.build()creditCard(CreditCard val) customInputs(CustomInputs val)
-
Constructor Details
-
Builder
public Builder()Constructor forBuilder -
Builder
Constructor forBuilder- Parameters:
device- TheDevicemodel for the request
-
-
Method Details
-
account
- Parameters:
val- The Account object.- Returns:
- The builder object.
-
billing
- Parameters:
val- The Billing object.- Returns:
- The builder object.
-
creditCard
- Parameters:
val- The CreditCard object.- Returns:
- The builder object.
-
customInputs
- Parameters:
val- The CustomInputs object.- Returns:
- The builder object.
-
device
- Parameters:
val- The Device object.- Returns:
- The builder object.
-
email
- Parameters:
val- The Email object.- Returns:
- The builder object.
-
event
- Parameters:
val- The Event object.- Returns:
- The builder object.
-
order
- Parameters:
val- The Order object.- Returns:
- The builder object.
-
payment
- Parameters:
val- The Payment object.- Returns:
- The builder object.
-
shipping
- Parameters:
val- The Shipping object.- Returns:
- The builder object.
-
addShoppingCartItem
Add aShoppingCartItemto the shopping cart.- Parameters:
val- A ShoppingCartItem object.- Returns:
- The builder object.
-
build
- Returns:
- An instance of
Transactioncreated from the fields set on this builder.
-