Class: Stripe::CustomerSessionCreateParams::Components::CustomerSheet
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CustomerSessionCreateParams::Components::CustomerSheet
- Defined in:
- lib/stripe/params/customer_session_create_params.rb
Defined Under Namespace
Classes: Features
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Whether the customer sheet is enabled.
-
#features ⇒ Object
This hash defines whether the customer sheet supports certain features.
Instance Method Summary collapse
-
#initialize(enabled: nil, features: nil) ⇒ CustomerSheet
constructor
A new instance of CustomerSheet.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, features: nil) ⇒ CustomerSheet
Returns a new instance of CustomerSheet.
37 38 39 40 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 37 def initialize(enabled: nil, features: nil) @enabled = enabled @features = features end |
Instance Attribute Details
#enabled ⇒ Object
Whether the customer sheet is enabled.
33 34 35 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 33 def enabled @enabled end |
#features ⇒ Object
This hash defines whether the customer sheet supports certain features.
35 36 37 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 35 def features @features end |