Class: Minfraud::Model::Factors

Inherits:
Insights show all
Defined in:
lib/minfraud/model/factors.rb

Overview

Model representing the Factors response.

Instance Attribute Summary collapse

Attributes inherited from Insights

#billing_address, #billing_phone, #credit_card, #device, #email, #ip_address, #shipping_address, #shipping_phone

Attributes inherited from Score

#disposition, #funds_remaining, #id, #ip_address, #queries_remaining, #risk_score, #warnings

Instance Attribute Details

#risk_score_reasonsArray<Minfraud::Model::RiskScoreReason> (readonly)

This field contains RiskScoreReason objects that describe risk score reasons for a given transaction that change the risk score significantly. Risk score reasons are usually only returned for medium to high risk transactions. If there were no significant changes to the risk score due to these reasons, then this array will be empty.



18
19
20
# File 'lib/minfraud/model/factors.rb', line 18

def risk_score_reasons
  @risk_score_reasons
end

#subscoresMinfraud::Model::Subscores (readonly)

Deprecated.

Use risk_score_reasons instead.

An object containing scores for many of the individual risk factors that are used to calculate the overall risk score.



25
26
27
# File 'lib/minfraud/model/factors.rb', line 25

def subscores
  @subscores
end