Class: Stripe::DelegatedCheckout::RequestedSessionCreateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/delegated_checkout/requested_session_create_params.rb

Defined Under Namespace

Classes: FulfillmentDetails, LineItemDetail, PaymentMethodData, SellerDetails

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(currency: nil, customer: nil, expand: nil, fulfillment_details: nil, line_item_details: nil, metadata: nil, payment_method: nil, payment_method_data: nil, seller_details: nil, setup_future_usage: nil, shared_metadata: nil) ⇒ RequestedSessionCreateParams

Returns a new instance of RequestedSessionCreateParams.



178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 178

def initialize(
  currency: nil,
  customer: nil,
  expand: nil,
  fulfillment_details: nil,
  line_item_details: nil,
  metadata: nil,
  payment_method: nil,
  payment_method_data: nil,
  seller_details: nil,
  setup_future_usage: nil,
  shared_metadata: nil
)
  @currency = currency
  @customer = customer
  @expand = expand
  @fulfillment_details = fulfillment_details
  @line_item_details = line_item_details
  @metadata = 
  @payment_method = payment_method
  @payment_method_data = payment_method_data
  @seller_details = seller_details
  @setup_future_usage = setup_future_usage
  @shared_metadata = 
end

Instance Attribute Details

#currencyObject

The currency for this requested session.



156
157
158
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 156

def currency
  @currency
end

#customerObject

The customer for this requested session.



158
159
160
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 158

def customer
  @customer
end

#expandObject

Specifies which fields in the response should be expanded.



160
161
162
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 160

def expand
  @expand
end

#fulfillment_detailsObject

The details of the fulfillment.



162
163
164
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 162

def fulfillment_details
  @fulfillment_details
end

#line_item_detailsObject

The details of the line items.



164
165
166
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 164

def line_item_details
  @line_item_details
end

#metadataObject

The metadata for this requested session.



166
167
168
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 166

def 
  @metadata
end

#payment_methodObject

The payment method for this requested session.



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

def payment_method
  @payment_method
end

#payment_method_dataObject

The payment method data for this requested session.



170
171
172
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 170

def payment_method_data
  @payment_method_data
end

#seller_detailsObject

The details of the seller.



172
173
174
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 172

def seller_details
  @seller_details
end

#setup_future_usageObject

The setup future usage for this requested session.



174
175
176
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 174

def setup_future_usage
  @setup_future_usage
end

#shared_metadataObject

The shared metadata for this requested session.



176
177
178
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 176

def 
  @shared_metadata
end