Class: Stripe::CustomerSessionCreateParams::Components::MobilePaymentElement
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CustomerSessionCreateParams::Components::MobilePaymentElement
- Defined in:
- lib/stripe/params/customer_session_create_params.rb
Defined Under Namespace
Classes: Features
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Whether the mobile payment element is enabled.
-
#features ⇒ Object
This hash defines whether the mobile payment element supports certain features.
Instance Method Summary collapse
-
#initialize(enabled: nil, features: nil) ⇒ MobilePaymentElement
constructor
A new instance of MobilePaymentElement.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, features: nil) ⇒ MobilePaymentElement
Returns a new instance of MobilePaymentElement.
83 84 85 86 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 83 def initialize(enabled: nil, features: nil) @enabled = enabled @features = features end |
Instance Attribute Details
#enabled ⇒ Object
Whether the mobile payment element is enabled.
79 80 81 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 79 def enabled @enabled end |
#features ⇒ Object
This hash defines whether the mobile payment element supports certain features.
81 82 83 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 81 def features @features end |