Class: Stripe::AccountSessionService::CreateParams::Components::Payments
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountSessionService::CreateParams::Components::Payments
- Defined in:
- lib/stripe/services/account_session_service.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.
326 327 328 329 |
# File 'lib/stripe/services/account_session_service.rb', line 326 def initialize(enabled: nil, features: nil) @enabled = enabled @features = features end |
Instance Attribute Details
#enabled ⇒ Object
Whether the embedded component is enabled.
322 323 324 |
# File 'lib/stripe/services/account_session_service.rb', line 322 def enabled @enabled end |
#features ⇒ Object
The list of features enabled in the embedded component.
324 325 326 |
# File 'lib/stripe/services/account_session_service.rb', line 324 def features @features end |