Class: Stripe::CustomerSessionCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CustomerSessionCreateParams
- Defined in:
- lib/stripe/params/customer_session_create_params.rb
Defined Under Namespace
Classes: Components
Instance Attribute Summary collapse
-
#components ⇒ Object
Configuration for each component.
-
#customer ⇒ Object
The ID of an existing customer for which to create the Customer Session.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
Instance Method Summary collapse
-
#initialize(components: nil, customer: nil, expand: nil) ⇒ CustomerSessionCreateParams
constructor
A new instance of CustomerSessionCreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(components: nil, customer: nil, expand: nil) ⇒ CustomerSessionCreateParams
Returns a new instance of CustomerSessionCreateParams.
179 180 181 182 183 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 179 def initialize(components: nil, customer: nil, expand: nil) @components = components @customer = customer @expand = end |
Instance Attribute Details
#components ⇒ Object
Configuration for each component. At least 1 component must be enabled.
173 174 175 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 173 def components @components end |
#customer ⇒ Object
The ID of an existing customer for which to create the Customer Session.
175 176 177 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 175 def customer @customer end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
177 178 179 |
# File 'lib/stripe/params/customer_session_create_params.rb', line 177 def @expand end |