Class: Stripe::AccountSession::CreateParams::Components::Payments
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountSession::CreateParams::Components::Payments
- Defined in:
- lib/stripe/resources/account_session.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) ⇒ Payments
constructor
A new instance of Payments.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, features: nil) ⇒ Payments
Returns a new instance of Payments.
579 580 581 582 |
# File 'lib/stripe/resources/account_session.rb', line 579 def initialize(enabled: nil, features: nil) @enabled = enabled @features = features end |
Instance Attribute Details
#enabled ⇒ Object
Whether the embedded component is enabled.
575 576 577 |
# File 'lib/stripe/resources/account_session.rb', line 575 def enabled @enabled end |
#features ⇒ Object
The list of features enabled in the embedded component.
577 578 579 |
# File 'lib/stripe/resources/account_session.rb', line 577 def features @features end |