Class: Stripe::TestHelpers::Issuing::AuthorizationCreateParams::RiskAssessment::FraudRisk
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::AuthorizationCreateParams::RiskAssessment::FraudRisk
- Defined in:
- lib/stripe/params/test_helpers/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.
218 219 220 221 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 218 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.
214 215 216 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 214 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.
216 217 218 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 216 def score @score end |