Class: Stripe::CustomerSessionCreateParams::Components

Inherits:
RequestParams
  • Object
show all
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

Instance Method Summary collapse

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 = 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_entitlementsObject

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_buttonObject

Configuration for buy button.



168
169
170
# File 'lib/stripe/params/customer_session_create_params.rb', line 168

def buy_button
  @buy_button
end

#customer_portalObject

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_sheetObject

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_elementObject

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_elementObject

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_tableObject

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