Class: Stripe::CustomerSessionCreateParams::Components
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CustomerSessionCreateParams::Components
- Defined in:
- lib/stripe/params/customer_session_create_params.rb
Defined Under Namespace
Classes: BuyButton, CustomerSheet, MobilePaymentElement, PaymentElement, PricingTable, TaxIdElement
Instance Attribute Summary collapse
-
#buy_button ⇒ Object
Configuration for buy button.
-
#customer_sheet ⇒ Object
Configuration for the customer sheet.
-
#mobile_payment_element ⇒ Object
Configuration for the mobile payment element.
-
#payment_element ⇒ Object
Configuration for the Payment Element.
-
#pricing_table ⇒ Object
Configuration for the pricing table.
-
#tax_id_element ⇒ Object
Configuration for the Tax ID Element.
Instance Method Summary collapse
-
#initialize(buy_button: nil, customer_sheet: nil, mobile_payment_element: nil, payment_element: nil, pricing_table: nil, tax_id_element: nil) ⇒ Components
constructor
A new instance of Components.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(buy_button: nil, customer_sheet: nil, mobile_payment_element: nil, payment_element: nil, pricing_table: nil, tax_id_element: nil) ⇒ Components
Returns a new instance of Components.
187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 187 def initialize( buy_button: nil, customer_sheet: nil, mobile_payment_element: nil, payment_element: nil, pricing_table: nil, tax_id_element: nil ) @buy_button = @customer_sheet = customer_sheet @mobile_payment_element = mobile_payment_element @payment_element = payment_element @pricing_table = pricing_table @tax_id_element = tax_id_element end |
Instance Attribute Details
#buy_button ⇒ Object
Configuration for buy button.
175 176 177 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 175 def @buy_button end |
#customer_sheet ⇒ Object
Configuration for the customer sheet.
177 178 179 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 177 def customer_sheet @customer_sheet end |
#mobile_payment_element ⇒ Object
Configuration for the mobile payment element.
179 180 181 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 179 def mobile_payment_element @mobile_payment_element end |
#payment_element ⇒ Object
Configuration for the Payment Element.
181 182 183 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 181 def payment_element @payment_element end |
#pricing_table ⇒ Object
Configuration for the pricing table.
183 184 185 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 183 def pricing_table @pricing_table end |
#tax_id_element ⇒ Object
Configuration for the Tax ID Element.
185 186 187 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 185 def tax_id_element @tax_id_element end |