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

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/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.



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

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.



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

def card_testing_risk
  @card_testing_risk
end

#fraud_riskObject

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



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

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.



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

def merchant_dispute_risk
  @merchant_dispute_risk
end