Class: Stripe::CustomerSession::Components
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::CustomerSession::Components
- Defined in:
- lib/stripe/resources/customer_session.rb
Defined Under Namespace
Classes: BuyButton, CustomerSheet, MobilePaymentElement, PaymentElement, PricingTable
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#buy_button ⇒ Object
readonly
This hash contains whether the buy button is enabled.
-
#customer_sheet ⇒ Object
readonly
This hash contains whether the customer sheet is enabled and the features it supports.
-
#mobile_payment_element ⇒ Object
readonly
This hash contains whether the mobile payment element is enabled and the features it supports.
-
#payment_element ⇒ Object
readonly
This hash contains whether the Payment Element is enabled and the features it supports.
-
#pricing_table ⇒ Object
readonly
This hash contains whether the pricing table is enabled.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, 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
#buy_button ⇒ Object (readonly)
This hash contains whether the buy button is enabled.
167 168 169 |
# File 'lib/stripe/resources/customer_session.rb', line 167 def end |
#customer_sheet ⇒ Object (readonly)
This hash contains whether the customer sheet is enabled and the features it supports.
169 170 171 |
# File 'lib/stripe/resources/customer_session.rb', line 169 def customer_sheet @customer_sheet end |
#mobile_payment_element ⇒ Object (readonly)
This hash contains whether the mobile payment element is enabled and the features it supports.
171 172 173 |
# File 'lib/stripe/resources/customer_session.rb', line 171 def mobile_payment_element @mobile_payment_element end |
#payment_element ⇒ Object (readonly)
This hash contains whether the Payment Element is enabled and the features it supports.
173 174 175 |
# File 'lib/stripe/resources/customer_session.rb', line 173 def payment_element @payment_element end |
#pricing_table ⇒ Object (readonly)
This hash contains whether the pricing table is enabled.
175 176 177 |
# File 'lib/stripe/resources/customer_session.rb', line 175 def pricing_table @pricing_table end |
Class Method Details
.field_remappings ⇒ Object
187 188 189 |
# File 'lib/stripe/resources/customer_session.rb', line 187 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
177 178 179 180 181 182 183 184 185 |
# File 'lib/stripe/resources/customer_session.rb', line 177 def self.inner_class_types @inner_class_types = { buy_button: BuyButton, customer_sheet: CustomerSheet, mobile_payment_element: MobilePaymentElement, payment_element: PaymentElement, pricing_table: PricingTable, } end |