Class: Stripe::CustomerSession::Components::PaymentElement
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::CustomerSession::Components::PaymentElement
- Defined in:
- lib/stripe/resources/customer_session.rb
Defined Under Namespace
Classes: Features
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#enabled ⇒ Object
readonly
Whether the Payment Element is enabled.
-
#features ⇒ Object
readonly
This hash defines whether the Payment Element supports certain features.
Attributes inherited from StripeObject
Method Summary
Methods inherited from StripeObject
#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#enabled ⇒ Object (readonly)
Whether the Payment Element is enabled.
49 50 51 |
# File 'lib/stripe/resources/customer_session.rb', line 49 def enabled @enabled end |
#features ⇒ Object (readonly)
This hash defines whether the Payment Element supports certain features.
51 52 53 |
# File 'lib/stripe/resources/customer_session.rb', line 51 def features @features end |