public static final class TransactionReport.Builder extends Object
Builder
creates instances of TransactionReport
from values set by the builder's methods.Constructor and Description |
---|
Builder(InetAddress ipAddress,
TransactionReport.Tag tag)
The constructor for the
TransactionReport.Builder class |
Modifier and Type | Method and Description |
---|---|
TransactionReport |
build() |
TransactionReport.Builder |
chargebackCode(String chargebackCode) |
TransactionReport.Builder |
maxmindId(String maxmindId) |
TransactionReport.Builder |
minfraudId(UUID minfraudId) |
TransactionReport.Builder |
notes(String notes) |
TransactionReport.Builder |
transactionId(String transactionId) |
public Builder(InetAddress ipAddress, TransactionReport.Tag tag)
TransactionReport.Builder
classipAddress
- The IP address associated with the device used
by the customer in the transaction.tag
- A string indicating the likelihood that a transaction may be
fraudulent.public TransactionReport.Builder chargebackCode(String chargebackCode)
chargebackCode
- A string which is provided by your payment processor
indicating the reason for the chargeback.public TransactionReport.Builder maxmindId(String maxmindId)
maxmindId
- A unique eight character string identifying a minFraud
Standard or Premium request. These IDs are returned in the maxmindID field
of a response for a successful minFraud request. This field is not required,
but you are encouraged to provide it, if possible.public TransactionReport.Builder minfraudId(UUID minfraudId)
minfraudId
- A UUID that identifies a minFraud Score, minFraud Insights,
or minFraud Factors request. This ID is returned via getId() in the
Score, Insights or Factors response object. This field is not
required, but you are encouraged to provide it if the request was
made to one of these services.public TransactionReport.Builder notes(String notes)
notes
- Your notes on the fraud tag associated with the transaction.public TransactionReport.Builder transactionId(String transactionId)
transactionId
- The transaction ID you originally passed to minFraud.public TransactionReport build()
TransactionReport
created from the
fields set on this builder.Copyright © 2021 MaxMind, Inc.. All rights reserved.