Class: Stripe::DelegatedCheckout::RequestedSessionUpdateParams

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

Defined Under Namespace

Classes: FulfillmentDetails, LineItemDetail, PaymentMethodData

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(expand: nil, fulfillment_details: nil, line_item_details: nil, metadata: nil, payment_method: nil, payment_method_data: nil, shared_metadata: nil) ⇒ RequestedSessionUpdateParams

Returns a new instance of RequestedSessionUpdateParams.



190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 190

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

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



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

def expand
  @expand
end

#fulfillment_detailsObject

The details of the fulfillment.



178
179
180
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 178

def fulfillment_details
  @fulfillment_details
end

#line_item_detailsObject

The details of the line items.



180
181
182
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 180

def line_item_details
  @line_item_details
end

#metadataObject

The metadata for this requested session.



182
183
184
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 182

def 
  @metadata
end

#payment_methodObject

The payment method for this requested session.



184
185
186
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 184

def payment_method
  @payment_method
end

#payment_method_dataObject

The payment method data for this requested session.



186
187
188
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 186

def payment_method_data
  @payment_method_data
end

#shared_metadataObject

The shared metadata for this requested session.



188
189
190
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 188

def 
  @shared_metadata
end