Class: Stripe::AccountCapabilityUpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountCapabilityUpdateParams
- Defined in:
- lib/stripe/params/account_capability_update_params.rb
Instance Attribute Summary collapse
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#requested ⇒ Object
To request a new capability for an account, pass true.
Instance Method Summary collapse
-
#initialize(expand: nil, requested: nil) ⇒ AccountCapabilityUpdateParams
constructor
A new instance of AccountCapabilityUpdateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(expand: nil, requested: nil) ⇒ AccountCapabilityUpdateParams
Returns a new instance of AccountCapabilityUpdateParams.
13 14 15 16 |
# File 'lib/stripe/params/account_capability_update_params.rb', line 13 def initialize(expand: nil, requested: nil) @expand = @requested = requested end |
Instance Attribute Details
#expand ⇒ Object
Specifies which fields in the response should be expanded.
7 8 9 |
# File 'lib/stripe/params/account_capability_update_params.rb', line 7 def @expand end |
#requested ⇒ Object
To request a new capability for an account, pass true. There can be a delay before the requested capability becomes active. If the capability has any activation requirements, the response includes them in the ‘requirements` arrays.
If a capability isn’t permanent, you can remove it from the account by passing false. Some capabilities are permanent after they’ve been requested. Attempting to remove a permanent capability returns an error.
11 12 13 |
# File 'lib/stripe/params/account_capability_update_params.rb', line 11 def requested @requested end |