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, TaxIdElement

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, tax_id_element: nil) ⇒ Components

Returns a new instance of Components.



209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
# File 'lib/stripe/params/customer_session_create_params.rb', line 209

def initialize(
  active_entitlements: nil,
  buy_button: nil,
  customer_portal: nil,
  customer_sheet: nil,
  mobile_payment_element: nil,
  payment_element: nil,
  pricing_table: nil,
  tax_id_element: 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
  @tax_id_element = tax_id_element
end

Instance Attribute Details

#active_entitlementsObject

Configuration for active entitlements.



193
194
195
# File 'lib/stripe/params/customer_session_create_params.rb', line 193

def active_entitlements
  @active_entitlements
end

#buy_buttonObject

Configuration for buy button.



195
196
197
# File 'lib/stripe/params/customer_session_create_params.rb', line 195

def buy_button
  @buy_button
end

#customer_portalObject

Configuration for customer portal.



197
198
199
# File 'lib/stripe/params/customer_session_create_params.rb', line 197

def customer_portal
  @customer_portal
end

#customer_sheetObject

Configuration for the customer sheet.



199
200
201
# File 'lib/stripe/params/customer_session_create_params.rb', line 199

def customer_sheet
  @customer_sheet
end

#mobile_payment_elementObject

Configuration for the mobile payment element.



201
202
203
# File 'lib/stripe/params/customer_session_create_params.rb', line 201

def mobile_payment_element
  @mobile_payment_element
end

#payment_elementObject

Configuration for the Payment Element.



203
204
205
# File 'lib/stripe/params/customer_session_create_params.rb', line 203

def payment_element
  @payment_element
end

#pricing_tableObject

Configuration for the pricing table.



205
206
207
# File 'lib/stripe/params/customer_session_create_params.rb', line 205

def pricing_table
  @pricing_table
end

#tax_id_elementObject

Configuration for the Tax ID Element.



207
208
209
# File 'lib/stripe/params/customer_session_create_params.rb', line 207

def tax_id_element
  @tax_id_element
end