Class: Stripe::CustomerSessionCreateParams::Components::PaymentElement
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CustomerSessionCreateParams::Components::PaymentElement
- Defined in:
- lib/stripe/params/customer_session_create_params.rb
Defined Under Namespace
Classes: Features
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Whether the Payment Element is enabled.
-
#features ⇒ Object
This hash defines whether the Payment Element supports certain features.
Instance Method Summary collapse
-
#initialize(enabled: nil, features: nil) ⇒ PaymentElement
constructor
A new instance of PaymentElement.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, features: nil) ⇒ PaymentElement
Returns a new instance of PaymentElement.
133 134 135 136 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 133 def initialize(enabled: nil, features: nil) @enabled = enabled @features = features end |
Instance Attribute Details
#enabled ⇒ Object
Whether the Payment Element is enabled.
129 130 131 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 129 def enabled @enabled end |
#features ⇒ Object
This hash defines whether the Payment Element supports certain features.
131 132 133 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 131 def features @features end |