Class: Stripe::TestHelpers::Issuing::AuthorizationCreateParams::RiskAssessment

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/test_helpers/issuing/authorization_create_params.rb

Defined Under Namespace

Classes: CardTestingRisk, FraudRisk, MerchantDisputeRisk

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(card_testing_risk: nil, fraud_risk: nil, merchant_dispute_risk: nil) ⇒ RiskAssessment

Returns a new instance of RiskAssessment.



242
243
244
245
246
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 242

def initialize(card_testing_risk: nil, fraud_risk: nil, merchant_dispute_risk: nil)
  @card_testing_risk = card_testing_risk
  @fraud_risk = fraud_risk
  @merchant_dispute_risk = merchant_dispute_risk
end

Instance Attribute Details

#card_testing_riskObject

Stripe’s assessment of this authorization’s likelihood of being card testing activity.



236
237
238
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 236

def card_testing_risk
  @card_testing_risk
end

#fraud_riskObject

Stripe’s assessment of this authorization’s likelihood to be fraudulent.



238
239
240
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 238

def fraud_risk
  @fraud_risk
end

#merchant_dispute_riskObject

The dispute risk of the merchant (the seller on a purchase) on an authorization based on all Stripe Issuing activity.



240
241
242
# File 'lib/stripe/params/test_helpers/issuing/authorization_create_params.rb', line 240

def merchant_dispute_risk
  @merchant_dispute_risk
end