Class: Stripe::CustomerSessionCreateParams::Components::CustomerPortal
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CustomerSessionCreateParams::Components::CustomerPortal
- Defined in:
- lib/stripe/params/customer_session_create_params.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Whether the customer portal is enabled.
Instance Method Summary collapse
-
#initialize(enabled: nil) ⇒ CustomerPortal
constructor
A new instance of CustomerPortal.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, discriminator, discriminator_fields, field_encodings, new, #to_h
Constructor Details
#initialize(enabled: nil) ⇒ CustomerPortal
Returns a new instance of CustomerPortal.
29 30 31 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 29 def initialize(enabled: nil) @enabled = enabled end |
Instance Attribute Details
#enabled ⇒ Object
Whether the customer portal is enabled.
27 28 29 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 27 def enabled @enabled end |