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.
60 61 62 63 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 60 def initialize(enabled: nil, features: nil) @enabled = enabled @features = features end |
Instance Attribute Details
#enabled ⇒ Object
Whether the Payment Element is enabled.
56 57 58 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 56 def enabled @enabled end |
#features ⇒ Object
This hash defines whether the Payment Element supports certain features.
58 59 60 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 58 def features @features end |