class Minfraud::Components::Report::Transaction
Contains the fields used in the Report
Transaction
API.
Attributes
A string which is provided by your payment processor indicating the reason for the chargeback.
@return [String, nil]
The IP address of the customer placing the order. This should be passed as a string like “152.216.7.110”.
@return [String, nil]
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.
@return [String, nil]
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.
@return [String, nil]
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.
@return [String, nil]
The transaction ID you originally passed to minFraud. This field is not required, but you are encouraged to provide it or the transaction's maxmind_id
or minfraud_id.
@return [String, nil]
Public Class Methods
@param params [Hash] Hash of parameters. Each key/value should
correspond to one of the available attributes.
# File lib/minfraud/components/report/transaction.rb, line 68 def initialize(params = {}) @ip_address = params[:ip_address] @chargeback_code = params[:chargeback_code] @maxmind_id = params[:maxmind_id] @minfraud_id = params[:minfraud_id] @notes = params[:notes] @transaction_id = params[:transaction_id] self.tag = params[:tag] end