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: ActiveEntitlements, BuyButton, CustomerPortal, CustomerSheet, MobilePaymentElement, PaymentElement, PricingTable, TaxIdElement
Instance Attribute Summary collapse
-
#active_entitlements ⇒ Object
Configuration for active entitlements.
-
#buy_button ⇒ Object
Configuration for buy button.
-
#customer_portal ⇒ Object
Configuration for customer portal.
-
#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(active_entitlements: nil, buy_button: nil, customer_portal: 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, discriminator, discriminator_fields, field_encodings, new, #to_h
Constructor Details
#initialize(active_entitlements: nil, buy_button: nil, customer_portal: 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.
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 209 def initialize( active_entitlements: nil, buy_button: nil, customer_portal: nil, customer_sheet: nil, mobile_payment_element: nil, payment_element: nil, pricing_table: nil, tax_id_element: nil ) @active_entitlements = active_entitlements @buy_button = @customer_portal = customer_portal @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
#active_entitlements ⇒ Object
Configuration for active entitlements.
193 194 195 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 193 def active_entitlements @active_entitlements end |
#buy_button ⇒ Object
Configuration for buy button.
195 196 197 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 195 def @buy_button end |
#customer_portal ⇒ Object
Configuration for customer portal.
197 198 199 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 197 def customer_portal @customer_portal end |
#customer_sheet ⇒ Object
Configuration for the customer sheet.
199 200 201 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 199 def customer_sheet @customer_sheet end |
#mobile_payment_element ⇒ Object
Configuration for the mobile payment element.
201 202 203 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 201 def mobile_payment_element @mobile_payment_element end |
#payment_element ⇒ Object
Configuration for the Payment Element.
203 204 205 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 203 def payment_element @payment_element end |
#pricing_table ⇒ Object
Configuration for the pricing table.
205 206 207 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 205 def pricing_table @pricing_table end |
#tax_id_element ⇒ Object
Configuration for the Tax ID Element.
207 208 209 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 207 def tax_id_element @tax_id_element end |