java.lang.Object
com.maxmind.minfraud.request.Event.Builder
- Enclosing class:
- Event
Builder
creates instances of Event
from values set by the builder's methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
time
(ZonedDateTime date) transactionId
(String id) type
(Event.Type type)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
transactionId
- Parameters:
id
- Your internal ID for the transaction. We can use this to locate a specific transaction in our logs, and it will also show up in email alerts and notifications from us to you.- Returns:
- The builder object.
-
shopId
- Parameters:
id
- Your internal ID for the shop, affiliate, or merchant this order is coming from. Required for minFraud users who are resellers, payment providers, gateways and affiliate networks.- Returns:
- The builder object.
-
time
- Parameters:
date
- The date and time the event occurred.- Returns:
- The builder object.
-
time
- Parameters:
date
- The date and time the event occurred.- Returns:
- The builder object.
-
type
- Parameters:
type
- The type of event being scored.- Returns:
- The builder object.
-
build
- Returns:
- An instance of
Event
created from the fields set on this builder.
-