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
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.
Instance Method Summary collapse
-
#initialize(buy_button: nil, customer_sheet: nil, mobile_payment_element: nil, payment_element: nil, pricing_table: nil) ⇒ Components
constructor
A new instance of Components.
Methods inherited from RequestParams
Constructor Details
#initialize(buy_button: nil, customer_sheet: nil, mobile_payment_element: nil, payment_element: nil, pricing_table: nil) ⇒ Components
Returns a new instance of Components.
158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 158 def initialize( buy_button: nil, customer_sheet: nil, mobile_payment_element: nil, payment_element: nil, pricing_table: nil ) = @customer_sheet = customer_sheet @mobile_payment_element = mobile_payment_element @payment_element = payment_element @pricing_table = pricing_table end |
Instance Attribute Details
#buy_button ⇒ Object
Configuration for buy button.
148 149 150 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 148 def end |
#customer_sheet ⇒ Object
Configuration for the customer sheet.
150 151 152 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 150 def customer_sheet @customer_sheet end |
#mobile_payment_element ⇒ Object
Configuration for the mobile payment element.
152 153 154 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 152 def mobile_payment_element @mobile_payment_element end |
#payment_element ⇒ Object
Configuration for the Payment Element.
154 155 156 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 154 def payment_element @payment_element end |
#pricing_table ⇒ Object
Configuration for the pricing table.
156 157 158 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 156 def pricing_table @pricing_table end |