TransactionReport Constructor |
Constructor.
Namespace:
MaxMind.MinFraud.Request
Assembly:
MaxMind.MinFraud (in MaxMind.MinFraud.dll) Version: 2.0.0
Syntaxpublic TransactionReport(
IPAddress ipAddress,
TransactionReportTag tag,
string chargebackCode = null,
string maxmindId = null,
Nullable<Guid> minfraudId = null,
string notes = null,
string transactionId = null
)
Public Sub New (
ipAddress As IPAddress,
tag As TransactionReportTag,
Optional chargebackCode As String = Nothing,
Optional maxmindId As String = Nothing,
Optional minfraudId As Nullable(Of Guid) = Nothing,
Optional notes As String = Nothing,
Optional transactionId As String = Nothing
)
public:
TransactionReport(
IPAddress^ ipAddress,
TransactionReportTag tag,
String^ chargebackCode = nullptr,
String^ maxmindId = nullptr,
Nullable<Guid> minfraudId = nullptr,
String^ notes = nullptr,
String^ transactionId = nullptr
)
new :
ipAddress : IPAddress *
tag : TransactionReportTag *
?chargebackCode : string *
?maxmindId : string *
?minfraudId : Nullable<Guid> *
?notes : string *
?transactionId : string
(* Defaults:
let _chargebackCode = defaultArg chargebackCode null
let _maxmindId = defaultArg maxmindId null
let _minfraudId = defaultArg minfraudId null
let _notes = defaultArg notes null
let _transactionId = defaultArg transactionId null
*)
-> TransactionReport
Parameters
- ipAddress
- Type: System.NetIPAddress
The IP address reported to MaxMind for the
transaction. - tag
- Type: MaxMind.MinFraud.RequestTransactionReportTag
The TransactionReportTag indicating the
type of report being made. - chargebackCode (Optional)
- Type: SystemString
A string which is provided by your
payment processor indicating
the reason for the chargeback. - maxmindId (Optional)
- Type: SystemString
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. - minfraudId (Optional)
- Type: SystemNullableGuid
A UUID that identifies a minFraud Score,
minFraud Insights, or minFraud Factors request. This ID is
returned at /id in the response. This field is not
required, but you are encouraged to provide it if the request
was made to one of these services. - notes (Optional)
- Type: SystemString
Your notes on the fraud tag associated with the
transaction. We manually review many reported transactions to
improve our scoring for you so any additional details to help
us understand context are helpful. - transactionId (Optional)
- Type: SystemString
The transaction ID you originally passed
to minFraud. This field is not required, but you are encouraged
to provide it or the transaction's >maxmindId or
minfraudId.
See Also