Class: Stripe::AccountCreateParams::RiskControls
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountCreateParams::RiskControls
- Defined in:
- lib/stripe/params/account_create_params.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#charges ⇒ Object
Represents the risk control status of charges.
-
#payouts ⇒ Object
Represents the risk control status of payouts.
Instance Method Summary collapse
-
#initialize(charges: nil, payouts: nil) ⇒ RiskControls
constructor
A new instance of RiskControls.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(charges: nil, payouts: nil) ⇒ RiskControls
Returns a new instance of RiskControls.
2124 2125 2126 2127 |
# File 'lib/stripe/params/account_create_params.rb', line 2124 def initialize(charges: nil, payouts: nil) @charges = charges @payouts = payouts end |
Instance Attribute Details
#charges ⇒ Object
Represents the risk control status of charges. Please see [this page for more details](docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
2120 2121 2122 |
# File 'lib/stripe/params/account_create_params.rb', line 2120 def charges @charges end |
#payouts ⇒ Object
Represents the risk control status of payouts. Please see [this page for more details](docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
2122 2123 2124 |
# File 'lib/stripe/params/account_create_params.rb', line 2122 def payouts @payouts end |