Class: Stripe::Issuing::AuthorizationCreateParams::RiskAssessment::FraudRisk
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::AuthorizationCreateParams::RiskAssessment::FraudRisk
- Defined in:
- lib/stripe/params/issuing/authorization_create_params.rb
Instance Attribute Summary collapse
-
#level ⇒ Object
Stripe’s assessment of the likelihood of fraud on an authorization.
-
#score ⇒ Object
Stripe’s numerical model score assessing the likelihood of fraudulent activity.
Instance Method Summary collapse
-
#initialize(level: nil, score: nil) ⇒ FraudRisk
constructor
A new instance of FraudRisk.
Methods inherited from RequestParams
Constructor Details
#initialize(level: nil, score: nil) ⇒ FraudRisk
Returns a new instance of FraudRisk.
217 218 219 220 |
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 217 def initialize(level: nil, score: nil) @level = level @score = score end |
Instance Attribute Details
#level ⇒ Object
Stripe’s assessment of the likelihood of fraud on an authorization.
213 214 215 |
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 213 def level @level end |
#score ⇒ Object
Stripe’s numerical model score assessing the likelihood of fraudulent activity. A higher score means a higher likelihood of fraudulent activity, and anything above 25 is considered high risk.
215 216 217 |
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 215 def score @score end |