Class: Stripe::AccountService::UpdateParams::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.



1875
1876
1877
1878
# File 'lib/stripe/services/account_service.rb', line 1875

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).



1871
1872
1873
# File 'lib/stripe/services/account_service.rb', line 1871

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).



1873
1874
1875
# File 'lib/stripe/services/account_service.rb', line 1873

def payouts
  @payouts
end