Class: Stripe::CustomerSessionService::CreateParams::Components
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CustomerSessionService::CreateParams::Components
- Defined in:
- lib/stripe/services/customer_session_service.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.
82 83 84 85 86 |
# File 'lib/stripe/services/customer_session_service.rb', line 82 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.
76 77 78 |
# File 'lib/stripe/services/customer_session_service.rb', line 76 def @buy_button end |
#payment_element ⇒ Object
Configuration for the Payment Element.
78 79 80 |
# File 'lib/stripe/services/customer_session_service.rb', line 78 def payment_element @payment_element end |
#pricing_table ⇒ Object
Configuration for the pricing table.
80 81 82 |
# File 'lib/stripe/services/customer_session_service.rb', line 80 def pricing_table @pricing_table end |