Class: Minfraud::Model::Factors
- Defined in:
- lib/minfraud/model/factors.rb
Overview
Model representing the Factors response.
Instance Attribute Summary collapse
-
#risk_score_reasons ⇒ Array<Minfraud::Model::RiskScoreReason>
readonly
This field contains RiskScoreReason objects that describe risk score reasons for a given transaction that change the risk score significantly.
-
#subscores ⇒ Minfraud::Model::Subscores
readonly
deprecated
Deprecated.
Use risk_score_reasons instead.
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_reasons ⇒ Array<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 |
#subscores ⇒ Minfraud::Model::Subscores (readonly)
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 |