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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(enabled: nil, features: nil) ⇒ InstantPayoutsPromotion
Returns a new instance of InstantPayoutsPromotion.
229 230 231 232 |
# File 'lib/stripe/params/account_session_create_params.rb', line 229 def initialize(enabled: nil, features: nil) @enabled = enabled @features = features end |
Instance Attribute Details
#enabled ⇒ Object
Whether the embedded component is enabled.
225 226 227 |
# File 'lib/stripe/params/account_session_create_params.rb', line 225 def enabled @enabled end |
#features ⇒ Object
The list of features enabled in the embedded component.
227 228 229 |
# File 'lib/stripe/params/account_session_create_params.rb', line 227 def features @features end |