Class: Stripe::AccountService::CreateParams::RiskControls

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/account_service.rb

Defined Under Namespace

Classes: Charges, Payouts

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(charges: nil, payouts: nil) ⇒ RiskControls

Returns a new instance of RiskControls.



4274
4275
4276
4277
# File 'lib/stripe/services/account_service.rb', line 4274

def initialize(charges: nil, payouts: nil)
  @charges = charges
  @payouts = payouts
end

Instance Attribute Details

#chargesObject

Represents the risk control status of charges. Please see [this page for more details](stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).



4270
4271
4272
# File 'lib/stripe/services/account_service.rb', line 4270

def charges
  @charges
end

#payoutsObject

Represents the risk control status of payouts. Please see [this page for more details](stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).



4272
4273
4274
# File 'lib/stripe/services/account_service.rb', line 4272

def payouts
  @payouts
end