Class: Stripe::AccountSessionCreateParams::Components::InstantPayoutsPromotion
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountSessionCreateParams::Components::InstantPayoutsPromotion
- Defined in:
- lib/stripe/params/account_session_create_params.rb
Defined Under Namespace
Classes: Features
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Whether the embedded component is enabled.
-
#features ⇒ Object
The list of features enabled in the embedded component.
Instance Method Summary collapse
-
#initialize(enabled: nil, features: nil) ⇒ InstantPayoutsPromotion
constructor
A new instance of InstantPayoutsPromotion.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, features: nil) ⇒ InstantPayoutsPromotion
Returns a new instance of InstantPayoutsPromotion.
216 217 218 219 |
# File 'lib/stripe/params/account_session_create_params.rb', line 216 def initialize(enabled: nil, features: nil) @enabled = enabled @features = features end |
Instance Attribute Details
#enabled ⇒ Object
Whether the embedded component is enabled.
212 213 214 |
# File 'lib/stripe/params/account_session_create_params.rb', line 212 def enabled @enabled end |
#features ⇒ Object
The list of features enabled in the embedded component.
214 215 216 |
# File 'lib/stripe/params/account_session_create_params.rb', line 214 def features @features end |