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
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.
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) ⇒ 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) ⇒ Components
Returns a new instance of Components.
180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 180 def initialize( active_entitlements: nil, buy_button: nil, customer_portal: nil, customer_sheet: nil, mobile_payment_element: nil, payment_element: nil, pricing_table: 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 end |
Instance Attribute Details
#active_entitlements ⇒ Object
Configuration for active entitlements.
166 167 168 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 166 def active_entitlements @active_entitlements end |
#buy_button ⇒ Object
Configuration for buy button.
168 169 170 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 168 def @buy_button end |
#customer_portal ⇒ Object
Configuration for customer portal.
170 171 172 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 170 def customer_portal @customer_portal end |
#customer_sheet ⇒ Object
Configuration for the customer sheet.
172 173 174 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 172 def customer_sheet @customer_sheet end |
#mobile_payment_element ⇒ Object
Configuration for the mobile payment element.
174 175 176 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 174 def mobile_payment_element @mobile_payment_element end |
#payment_element ⇒ Object
Configuration for the Payment Element.
176 177 178 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 176 def payment_element @payment_element end |
#pricing_table ⇒ Object
Configuration for the pricing table.
178 179 180 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 178 def pricing_table @pricing_table end |