Class: Stripe::CustomerSession::CreateParams::Components
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CustomerSession::CreateParams::Components
- Defined in:
- lib/stripe/resources/customer_session.rb
Defined Under Namespace
Classes: BuyButton, PaymentElement, PricingTable
Instance Attribute Summary collapse
-
#buy_button ⇒ Object
Configuration for buy button.
-
#payment_element ⇒ Object
Configuration for the Payment Element.
-
#pricing_table ⇒ Object
Configuration for the pricing table.
Instance Method Summary collapse
-
#initialize(buy_button: nil, payment_element: nil, pricing_table: nil) ⇒ Components
constructor
A new instance of Components.
Methods inherited from RequestParams
Constructor Details
#initialize(buy_button: nil, payment_element: nil, pricing_table: nil) ⇒ Components
Returns a new instance of Components.
186 187 188 189 190 |
# File 'lib/stripe/resources/customer_session.rb', line 186 def initialize(buy_button: nil, payment_element: nil, pricing_table: nil) @buy_button = @payment_element = payment_element @pricing_table = pricing_table end |
Instance Attribute Details
#buy_button ⇒ Object
Configuration for buy button.
180 181 182 |
# File 'lib/stripe/resources/customer_session.rb', line 180 def @buy_button end |
#payment_element ⇒ Object
Configuration for the Payment Element.
182 183 184 |
# File 'lib/stripe/resources/customer_session.rb', line 182 def payment_element @payment_element end |
#pricing_table ⇒ Object
Configuration for the pricing table.
184 185 186 |
# File 'lib/stripe/resources/customer_session.rb', line 184 def pricing_table @pricing_table end |