Class: Stripe::TestHelpers::Issuing::AuthorizationCreateParams::RiskAssessment::MerchantDisputeRisk
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::AuthorizationCreateParams::RiskAssessment::MerchantDisputeRisk
- Defined in:
- lib/stripe/params/test_helpers/issuing/authorization_create_params.rb
Instance Attribute Summary collapse
-
#dispute_rate ⇒ Object
The dispute rate observed across all Stripe Issuing authorizations for this merchant.
-
#risk_level ⇒ Object
The likelihood that authorizations from this merchant will result in a dispute based on their history on Stripe Issuing.
Instance Method Summary collapse
-
#initialize(dispute_rate: nil, risk_level: nil) ⇒ MerchantDisputeRisk
constructor
A new instance of MerchantDisputeRisk.
Methods inherited from RequestParams
Constructor Details
#initialize(dispute_rate: nil, risk_level: nil) ⇒ MerchantDisputeRisk
Returns a new instance of MerchantDisputeRisk.
218 219 220 221 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 218 def initialize(dispute_rate: nil, risk_level: nil) @dispute_rate = dispute_rate @risk_level = risk_level end |
Instance Attribute Details
#dispute_rate ⇒ Object
The dispute rate observed across all Stripe Issuing authorizations for this merchant. For example, a value of 50 means 50% of authorizations from this merchant on Stripe Issuing have resulted in a dispute. Higher values mean a higher likelihood the authorization is disputed. Takes on values between 0 and 100.
214 215 216 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 214 def dispute_rate @dispute_rate end |
#risk_level ⇒ Object
The likelihood that authorizations from this merchant will result in a dispute based on their history on Stripe Issuing.
216 217 218 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 216 def risk_level @risk_level end |