Class: WalleeRubySdk::PaymentWebAppsService

Inherits:
Object
  • Object
show all
Defined in:
lib/wallee-ruby-sdk/service/payment_web_apps_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_client = ApiClient.default) ⇒ PaymentWebAppsService

Returns a new instance of PaymentWebAppsService.



28
29
30
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 28

def initialize(api_client = ApiClient.default)
  @api_client = api_client
end

Instance Attribute Details

#api_clientObject

Returns the value of attribute api_client.



25
26
27
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 25

def api_client
  @api_client
end

Instance Method Details

#delete_payment_web_apps_connectors_connector_external_id(connector_external_id, space, opts = {}) ⇒ nil

Delete a connector Permanently deletes a connector. It cannot be undone.

Parameters:

  • connector_external_id (String)

    The unique identifier assigned during connector's creation.

  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (nil)


37
38
39
40
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 37

def delete_payment_web_apps_connectors_connector_external_id(connector_external_id, space, opts = {})
  delete_payment_web_apps_connectors_connector_external_id_with_http_info(connector_external_id, space, opts)
  nil
end

#delete_payment_web_apps_connectors_connector_external_id_with_http_info(connector_external_id, space, opts = {}) ⇒ Array<(nil, Integer, Hash)>

Returns nil, response status code and response headers.

Parameters:

  • connector_external_id (String)

    The unique identifier assigned during connector&#39;s creation.

  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(nil, Integer, Hash)>)

    nil, response status code and response headers



49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 49

def delete_payment_web_apps_connectors_connector_external_id_with_http_info(connector_external_id, space, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: PaymentWebAppsService.delete_payment_web_apps_connectors_connector_external_id ...'
  end
  # verify the required parameter 'connector_external_id' is set
  if @api_client.config.client_side_validation && connector_external_id.nil?
    fail ArgumentError, "Missing the required parameter 'connector_external_id' when calling PaymentWebAppsService.delete_payment_web_apps_connectors_connector_external_id"
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling PaymentWebAppsService.delete_payment_web_apps_connectors_connector_external_id"
  end
  # resource path
  local_var_path = '/payment/web-apps/connectors/{connectorExternalId}'.sub('{' + 'connectorExternalId' + '}', CGI.escape(connector_external_id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body]

  # return_type
  return_type = opts[:debug_return_type]

  new_options = opts.merge(
    :operation => :"PaymentWebAppsService.delete_payment_web_apps_connectors_connector_external_id",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:DELETE.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: PaymentWebAppsService#delete_payment_web_apps_connectors_connector_external_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#delete_payment_web_apps_processors_external_id(external_id, space, opts = {}) ⇒ nil

Delete a processor Permanently deletes a processor. It cannot be undone.

Parameters:

  • external_id (String)

    The unique identifier assigned during processor&#39;s creation.

  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (nil)


108
109
110
111
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 108

def delete_payment_web_apps_processors_external_id(external_id, space, opts = {})
  delete_payment_web_apps_processors_external_id_with_http_info(external_id, space, opts)
  nil
end

#delete_payment_web_apps_processors_external_id_with_http_info(external_id, space, opts = {}) ⇒ Array<(nil, Integer, Hash)>

Returns nil, response status code and response headers.

Parameters:

  • external_id (String)

    The unique identifier assigned during processor&#39;s creation.

  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(nil, Integer, Hash)>)

    nil, response status code and response headers



120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 120

def delete_payment_web_apps_processors_external_id_with_http_info(external_id, space, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: PaymentWebAppsService.delete_payment_web_apps_processors_external_id ...'
  end
  # verify the required parameter 'external_id' is set
  if @api_client.config.client_side_validation && external_id.nil?
    fail ArgumentError, "Missing the required parameter 'external_id' when calling PaymentWebAppsService.delete_payment_web_apps_processors_external_id"
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling PaymentWebAppsService.delete_payment_web_apps_processors_external_id"
  end
  # resource path
  local_var_path = '/payment/web-apps/processors/{externalId}'.sub('{' + 'externalId' + '}', CGI.escape(external_id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body]

  # return_type
  return_type = opts[:debug_return_type]

  new_options = opts.merge(
    :operation => :"PaymentWebAppsService.delete_payment_web_apps_processors_external_id",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:DELETE.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: PaymentWebAppsService#delete_payment_web_apps_processors_external_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#patch_payment_web_apps_charge_attempts_id(id, space, payment_app_charge_attempt_update, opts = {}) ⇒ ChargeAttempt

Update a charge attempt Updates the state of a charge attempt for transactions created with a processor linked to the invoking web app, returning the specified charge attempt.

Parameters:

  • id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_charge_attempt_update (PaymentAppChargeAttemptUpdate)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:



181
182
183
184
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 181

def patch_payment_web_apps_charge_attempts_id(id, space, payment_app_charge_attempt_update, opts = {})
  data, _status_code, _headers = patch_payment_web_apps_charge_attempts_id_with_http_info(id, space, payment_app_charge_attempt_update, opts)
  data
end

#patch_payment_web_apps_charge_attempts_id_with_http_info(id, space, payment_app_charge_attempt_update, opts = {}) ⇒ Array<(ChargeAttempt, Integer, Hash)>

Returns ChargeAttempt data, response status code and response headers.

Parameters:

  • id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_charge_attempt_update (PaymentAppChargeAttemptUpdate)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:

  • (Array<(ChargeAttempt, Integer, Hash)>)

    ChargeAttempt data, response status code and response headers



195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 195

def patch_payment_web_apps_charge_attempts_id_with_http_info(id, space, payment_app_charge_attempt_update, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: PaymentWebAppsService.patch_payment_web_apps_charge_attempts_id ...'
  end
  # verify the required parameter 'id' is set
  if @api_client.config.client_side_validation && id.nil?
    fail ArgumentError, "Missing the required parameter 'id' when calling PaymentWebAppsService.patch_payment_web_apps_charge_attempts_id"
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling PaymentWebAppsService.patch_payment_web_apps_charge_attempts_id"
  end
  # verify the required parameter 'payment_app_charge_attempt_update' is set
  if @api_client.config.client_side_validation && payment_app_charge_attempt_update.nil?
    fail ArgumentError, "Missing the required parameter 'payment_app_charge_attempt_update' when calling PaymentWebAppsService.patch_payment_web_apps_charge_attempts_id"
  end
  # resource path
  local_var_path = '/payment/web-apps/charge-attempts/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  # HTTP header 'Content-Type'
  content_type = @api_client.select_header_content_type(['application/json'])
  unless content_type.nil?
    header_params['Content-Type'] = content_type
  end
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body] || @api_client.object_to_http_body(payment_app_charge_attempt_update)

  # return_type
  return_type = opts[:debug_return_type] || 'ChargeAttempt'

  new_options = opts.merge(
    :operation => :"PaymentWebAppsService.patch_payment_web_apps_charge_attempts_id",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:PATCH.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: PaymentWebAppsService#patch_payment_web_apps_charge_attempts_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#patch_payment_web_apps_completions_id(id, space, payment_app_completion_update, opts = {}) ⇒ TransactionCompletion

Update a completion Updates the state of a completion for transactions created with a processor linked to the invoking web app, returning the specified completion.

Parameters:

  • id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_completion_update (PaymentAppCompletionUpdate)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:



266
267
268
269
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 266

def patch_payment_web_apps_completions_id(id, space, payment_app_completion_update, opts = {})
  data, _status_code, _headers = patch_payment_web_apps_completions_id_with_http_info(id, space, payment_app_completion_update, opts)
  data
end

#patch_payment_web_apps_completions_id_with_http_info(id, space, payment_app_completion_update, opts = {}) ⇒ Array<(TransactionCompletion, Integer, Hash)>

Returns TransactionCompletion data, response status code and response headers.

Parameters:

  • id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_completion_update (PaymentAppCompletionUpdate)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:

  • (Array<(TransactionCompletion, Integer, Hash)>)

    TransactionCompletion data, response status code and response headers



280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 280

def patch_payment_web_apps_completions_id_with_http_info(id, space, payment_app_completion_update, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: PaymentWebAppsService.patch_payment_web_apps_completions_id ...'
  end
  # verify the required parameter 'id' is set
  if @api_client.config.client_side_validation && id.nil?
    fail ArgumentError, "Missing the required parameter 'id' when calling PaymentWebAppsService.patch_payment_web_apps_completions_id"
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling PaymentWebAppsService.patch_payment_web_apps_completions_id"
  end
  # verify the required parameter 'payment_app_completion_update' is set
  if @api_client.config.client_side_validation && payment_app_completion_update.nil?
    fail ArgumentError, "Missing the required parameter 'payment_app_completion_update' when calling PaymentWebAppsService.patch_payment_web_apps_completions_id"
  end
  # resource path
  local_var_path = '/payment/web-apps/completions/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  # HTTP header 'Content-Type'
  content_type = @api_client.select_header_content_type(['application/json'])
  unless content_type.nil?
    header_params['Content-Type'] = content_type
  end
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body] || @api_client.object_to_http_body(payment_app_completion_update)

  # return_type
  return_type = opts[:debug_return_type] || 'TransactionCompletion'

  new_options = opts.merge(
    :operation => :"PaymentWebAppsService.patch_payment_web_apps_completions_id",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:PATCH.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: PaymentWebAppsService#patch_payment_web_apps_completions_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#patch_payment_web_apps_connectors_connector_external_id(connector_external_id, space, payment_app_connector_details, opts = {}) ⇒ PaymentAppConnector

Update a connector

Parameters:

  • connector_external_id (String)

    The unique identifier assigned during connector&#39;s creation.

  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_connector_details (PaymentAppConnectorDetails)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:



350
351
352
353
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 350

def patch_payment_web_apps_connectors_connector_external_id(connector_external_id, space, payment_app_connector_details, opts = {})
  data, _status_code, _headers = patch_payment_web_apps_connectors_connector_external_id_with_http_info(connector_external_id, space, payment_app_connector_details, opts)
  data
end

#patch_payment_web_apps_connectors_connector_external_id_with_http_info(connector_external_id, space, payment_app_connector_details, opts = {}) ⇒ Array<(PaymentAppConnector, Integer, Hash)>

Returns PaymentAppConnector data, response status code and response headers.

Parameters:

  • connector_external_id (String)

    The unique identifier assigned during connector&#39;s creation.

  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_connector_details (PaymentAppConnectorDetails)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:

  • (Array<(PaymentAppConnector, Integer, Hash)>)

    PaymentAppConnector data, response status code and response headers



363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 363

def patch_payment_web_apps_connectors_connector_external_id_with_http_info(connector_external_id, space, payment_app_connector_details, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: PaymentWebAppsService.patch_payment_web_apps_connectors_connector_external_id ...'
  end
  # verify the required parameter 'connector_external_id' is set
  if @api_client.config.client_side_validation && connector_external_id.nil?
    fail ArgumentError, "Missing the required parameter 'connector_external_id' when calling PaymentWebAppsService.patch_payment_web_apps_connectors_connector_external_id"
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling PaymentWebAppsService.patch_payment_web_apps_connectors_connector_external_id"
  end
  # verify the required parameter 'payment_app_connector_details' is set
  if @api_client.config.client_side_validation && payment_app_connector_details.nil?
    fail ArgumentError, "Missing the required parameter 'payment_app_connector_details' when calling PaymentWebAppsService.patch_payment_web_apps_connectors_connector_external_id"
  end
  # resource path
  local_var_path = '/payment/web-apps/connectors/{connectorExternalId}'.sub('{' + 'connectorExternalId' + '}', CGI.escape(connector_external_id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  # HTTP header 'Content-Type'
  content_type = @api_client.select_header_content_type(['application/json'])
  unless content_type.nil?
    header_params['Content-Type'] = content_type
  end
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body] || @api_client.object_to_http_body(payment_app_connector_details)

  # return_type
  return_type = opts[:debug_return_type] || 'PaymentAppConnector'

  new_options = opts.merge(
    :operation => :"PaymentWebAppsService.patch_payment_web_apps_connectors_connector_external_id",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:PATCH.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: PaymentWebAppsService#patch_payment_web_apps_connectors_connector_external_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#patch_payment_web_apps_processors_external_id(external_id, space, payment_app_processor_details, opts = {}) ⇒ PaymentAppProcessor

Update a processor

Parameters:

  • external_id (String)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_processor_details (PaymentAppProcessorDetails)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:



433
434
435
436
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 433

def patch_payment_web_apps_processors_external_id(external_id, space, payment_app_processor_details, opts = {})
  data, _status_code, _headers = patch_payment_web_apps_processors_external_id_with_http_info(external_id, space, payment_app_processor_details, opts)
  data
end

#patch_payment_web_apps_processors_external_id_with_http_info(external_id, space, payment_app_processor_details, opts = {}) ⇒ Array<(PaymentAppProcessor, Integer, Hash)>

Returns PaymentAppProcessor data, response status code and response headers.

Parameters:

  • external_id (String)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_processor_details (PaymentAppProcessorDetails)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:

  • (Array<(PaymentAppProcessor, Integer, Hash)>)

    PaymentAppProcessor data, response status code and response headers



446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 446

def patch_payment_web_apps_processors_external_id_with_http_info(external_id, space, payment_app_processor_details, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: PaymentWebAppsService.patch_payment_web_apps_processors_external_id ...'
  end
  # verify the required parameter 'external_id' is set
  if @api_client.config.client_side_validation && external_id.nil?
    fail ArgumentError, "Missing the required parameter 'external_id' when calling PaymentWebAppsService.patch_payment_web_apps_processors_external_id"
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling PaymentWebAppsService.patch_payment_web_apps_processors_external_id"
  end
  # verify the required parameter 'payment_app_processor_details' is set
  if @api_client.config.client_side_validation && payment_app_processor_details.nil?
    fail ArgumentError, "Missing the required parameter 'payment_app_processor_details' when calling PaymentWebAppsService.patch_payment_web_apps_processors_external_id"
  end
  # resource path
  local_var_path = '/payment/web-apps/processors/{externalId}'.sub('{' + 'externalId' + '}', CGI.escape(external_id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  # HTTP header 'Content-Type'
  content_type = @api_client.select_header_content_type(['application/json'])
  unless content_type.nil?
    header_params['Content-Type'] = content_type
  end
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body] || @api_client.object_to_http_body(payment_app_processor_details)

  # return_type
  return_type = opts[:debug_return_type] || 'PaymentAppProcessor'

  new_options = opts.merge(
    :operation => :"PaymentWebAppsService.patch_payment_web_apps_processors_external_id",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:PATCH.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: PaymentWebAppsService#patch_payment_web_apps_processors_external_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#patch_payment_web_apps_refunds_id(id, space, payment_app_refund_update, opts = {}) ⇒ Refund

Update a refund Updates the state of a refund for transactions created with a processor linked to the invoking web app, returning the specified refund.

Parameters:

  • id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_refund_update (PaymentAppRefundUpdate)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:



517
518
519
520
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 517

def patch_payment_web_apps_refunds_id(id, space, payment_app_refund_update, opts = {})
  data, _status_code, _headers = patch_payment_web_apps_refunds_id_with_http_info(id, space, payment_app_refund_update, opts)
  data
end

#patch_payment_web_apps_refunds_id_with_http_info(id, space, payment_app_refund_update, opts = {}) ⇒ Array<(Refund, Integer, Hash)>

Returns Refund data, response status code and response headers.

Parameters:

  • id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_refund_update (PaymentAppRefundUpdate)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:

  • (Array<(Refund, Integer, Hash)>)

    Refund data, response status code and response headers



531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 531

def patch_payment_web_apps_refunds_id_with_http_info(id, space, payment_app_refund_update, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: PaymentWebAppsService.patch_payment_web_apps_refunds_id ...'
  end
  # verify the required parameter 'id' is set
  if @api_client.config.client_side_validation && id.nil?
    fail ArgumentError, "Missing the required parameter 'id' when calling PaymentWebAppsService.patch_payment_web_apps_refunds_id"
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling PaymentWebAppsService.patch_payment_web_apps_refunds_id"
  end
  # verify the required parameter 'payment_app_refund_update' is set
  if @api_client.config.client_side_validation && payment_app_refund_update.nil?
    fail ArgumentError, "Missing the required parameter 'payment_app_refund_update' when calling PaymentWebAppsService.patch_payment_web_apps_refunds_id"
  end
  # resource path
  local_var_path = '/payment/web-apps/refunds/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  # HTTP header 'Content-Type'
  content_type = @api_client.select_header_content_type(['application/json'])
  unless content_type.nil?
    header_params['Content-Type'] = content_type
  end
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body] || @api_client.object_to_http_body(payment_app_refund_update)

  # return_type
  return_type = opts[:debug_return_type] || 'Refund'

  new_options = opts.merge(
    :operation => :"PaymentWebAppsService.patch_payment_web_apps_refunds_id",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:PATCH.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: PaymentWebAppsService#patch_payment_web_apps_refunds_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#patch_payment_web_apps_voids_id(id, space, payment_app_void_update, opts = {}) ⇒ TransactionVoid

Update a void Updates the state of a void for transactions created with a processor linked to the invoking web app, returning the specified void.

Parameters:

  • id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_void_update (PaymentAppVoidUpdate)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:



602
603
604
605
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 602

def patch_payment_web_apps_voids_id(id, space, payment_app_void_update, opts = {})
  data, _status_code, _headers = patch_payment_web_apps_voids_id_with_http_info(id, space, payment_app_void_update, opts)
  data
end

#patch_payment_web_apps_voids_id_with_http_info(id, space, payment_app_void_update, opts = {}) ⇒ Array<(TransactionVoid, Integer, Hash)>

Returns TransactionVoid data, response status code and response headers.

Parameters:

  • id (Integer)
  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_void_update (PaymentAppVoidUpdate)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:

  • (Array<(TransactionVoid, Integer, Hash)>)

    TransactionVoid data, response status code and response headers



616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 616

def patch_payment_web_apps_voids_id_with_http_info(id, space, payment_app_void_update, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: PaymentWebAppsService.patch_payment_web_apps_voids_id ...'
  end
  # verify the required parameter 'id' is set
  if @api_client.config.client_side_validation && id.nil?
    fail ArgumentError, "Missing the required parameter 'id' when calling PaymentWebAppsService.patch_payment_web_apps_voids_id"
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling PaymentWebAppsService.patch_payment_web_apps_voids_id"
  end
  # verify the required parameter 'payment_app_void_update' is set
  if @api_client.config.client_side_validation && payment_app_void_update.nil?
    fail ArgumentError, "Missing the required parameter 'payment_app_void_update' when calling PaymentWebAppsService.patch_payment_web_apps_voids_id"
  end
  # resource path
  local_var_path = '/payment/web-apps/voids/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  # HTTP header 'Content-Type'
  content_type = @api_client.select_header_content_type(['application/json'])
  unless content_type.nil?
    header_params['Content-Type'] = content_type
  end
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body] || @api_client.object_to_http_body(payment_app_void_update)

  # return_type
  return_type = opts[:debug_return_type] || 'TransactionVoid'

  new_options = opts.merge(
    :operation => :"PaymentWebAppsService.patch_payment_web_apps_voids_id",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:PATCH.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: PaymentWebAppsService#patch_payment_web_apps_voids_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#post_payment_web_apps_processors(space, payment_app_processor_details_create, opts = {}) ⇒ PaymentAppProcessor

Create a processor

Parameters:

  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_processor_details_create (PaymentAppProcessorDetailsCreate)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:



685
686
687
688
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 685

def post_payment_web_apps_processors(space, payment_app_processor_details_create, opts = {})
  data, _status_code, _headers = post_payment_web_apps_processors_with_http_info(space, payment_app_processor_details_create, opts)
  data
end

#post_payment_web_apps_processors_external_id_activate_for_production(external_id, space, opts = {}) ⇒ PaymentAppProcessor

Activate a processor for production

Parameters:

  • external_id (String)

    The unique identifier assigned during processor&#39;s creation.

  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:



762
763
764
765
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 762

def post_payment_web_apps_processors_external_id_activate_for_production(external_id, space, opts = {})
  data, _status_code, _headers = post_payment_web_apps_processors_external_id_activate_for_production_with_http_info(external_id, space, opts)
  data
end

#post_payment_web_apps_processors_external_id_activate_for_production_with_http_info(external_id, space, opts = {}) ⇒ Array<(PaymentAppProcessor, Integer, Hash)>

Returns PaymentAppProcessor data, response status code and response headers.

Parameters:

  • external_id (String)

    The unique identifier assigned during processor&#39;s creation.

  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:

  • (Array<(PaymentAppProcessor, Integer, Hash)>)

    PaymentAppProcessor data, response status code and response headers



774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 774

def post_payment_web_apps_processors_external_id_activate_for_production_with_http_info(external_id, space, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: PaymentWebAppsService.post_payment_web_apps_processors_external_id_activate_for_production ...'
  end
  # verify the required parameter 'external_id' is set
  if @api_client.config.client_side_validation && external_id.nil?
    fail ArgumentError, "Missing the required parameter 'external_id' when calling PaymentWebAppsService.post_payment_web_apps_processors_external_id_activate_for_production"
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling PaymentWebAppsService.post_payment_web_apps_processors_external_id_activate_for_production"
  end
  # resource path
  local_var_path = '/payment/web-apps/processors/{externalId}/activate-for-production'.sub('{' + 'externalId' + '}', CGI.escape(external_id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body]

  # return_type
  return_type = opts[:debug_return_type] || 'PaymentAppProcessor'

  new_options = opts.merge(
    :operation => :"PaymentWebAppsService.post_payment_web_apps_processors_external_id_activate_for_production",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: PaymentWebAppsService#post_payment_web_apps_processors_external_id_activate_for_production\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#post_payment_web_apps_processors_external_id_connectors(external_id, space, payment_app_connector_details_create, opts = {}) ⇒ PaymentAppConnector

Create a connector

Parameters:

  • external_id (String)

    The unique identifier assigned during processor&#39;s creation.

  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_connector_details_create (PaymentAppConnectorDetailsCreate)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:



835
836
837
838
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 835

def post_payment_web_apps_processors_external_id_connectors(external_id, space, payment_app_connector_details_create, opts = {})
  data, _status_code, _headers = post_payment_web_apps_processors_external_id_connectors_with_http_info(external_id, space, payment_app_connector_details_create, opts)
  data
end

#post_payment_web_apps_processors_external_id_connectors_with_http_info(external_id, space, payment_app_connector_details_create, opts = {}) ⇒ Array<(PaymentAppConnector, Integer, Hash)>

Returns PaymentAppConnector data, response status code and response headers.

Parameters:

  • external_id (String)

    The unique identifier assigned during processor&#39;s creation.

  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_connector_details_create (PaymentAppConnectorDetailsCreate)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:

  • (Array<(PaymentAppConnector, Integer, Hash)>)

    PaymentAppConnector data, response status code and response headers



848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 848

def post_payment_web_apps_processors_external_id_connectors_with_http_info(external_id, space, payment_app_connector_details_create, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: PaymentWebAppsService.post_payment_web_apps_processors_external_id_connectors ...'
  end
  # verify the required parameter 'external_id' is set
  if @api_client.config.client_side_validation && external_id.nil?
    fail ArgumentError, "Missing the required parameter 'external_id' when calling PaymentWebAppsService.post_payment_web_apps_processors_external_id_connectors"
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling PaymentWebAppsService.post_payment_web_apps_processors_external_id_connectors"
  end
  # verify the required parameter 'payment_app_connector_details_create' is set
  if @api_client.config.client_side_validation && payment_app_connector_details_create.nil?
    fail ArgumentError, "Missing the required parameter 'payment_app_connector_details_create' when calling PaymentWebAppsService.post_payment_web_apps_processors_external_id_connectors"
  end
  # resource path
  local_var_path = '/payment/web-apps/processors/{externalId}/connectors'.sub('{' + 'externalId' + '}', CGI.escape(external_id.to_s))

  # query parameters
  query_params = opts[:query_params] || {}
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  # HTTP header 'Content-Type'
  content_type = @api_client.select_header_content_type(['application/json'])
  unless content_type.nil?
    header_params['Content-Type'] = content_type
  end
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body] || @api_client.object_to_http_body(payment_app_connector_details_create)

  # return_type
  return_type = opts[:debug_return_type] || 'PaymentAppConnector'

  new_options = opts.merge(
    :operation => :"PaymentWebAppsService.post_payment_web_apps_processors_external_id_connectors",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: PaymentWebAppsService#post_payment_web_apps_processors_external_id_connectors\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end

#post_payment_web_apps_processors_with_http_info(space, payment_app_processor_details_create, opts = {}) ⇒ Array<(PaymentAppProcessor, Integer, Hash)>

Returns PaymentAppProcessor data, response status code and response headers.

Parameters:

  • space (Integer)

    Specifies the ID of the space the operation should be executed in.

  • payment_app_processor_details_create (PaymentAppProcessorDetailsCreate)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

Returns:

  • (Array<(PaymentAppProcessor, Integer, Hash)>)

    PaymentAppProcessor data, response status code and response headers



697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
# File 'lib/wallee-ruby-sdk/service/payment_web_apps_service.rb', line 697

def post_payment_web_apps_processors_with_http_info(space, payment_app_processor_details_create, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: PaymentWebAppsService.post_payment_web_apps_processors ...'
  end
  # verify the required parameter 'space' is set
  if @api_client.config.client_side_validation && space.nil?
    fail ArgumentError, "Missing the required parameter 'space' when calling PaymentWebAppsService.post_payment_web_apps_processors"
  end
  # verify the required parameter 'payment_app_processor_details_create' is set
  if @api_client.config.client_side_validation && payment_app_processor_details_create.nil?
    fail ArgumentError, "Missing the required parameter 'payment_app_processor_details_create' when calling PaymentWebAppsService.post_payment_web_apps_processors"
  end
  # resource path
  local_var_path = '/payment/web-apps/processors'

  # query parameters
  query_params = opts[:query_params] || {}
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) unless opts[:'expand'].nil?

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
  # HTTP header 'Content-Type'
  content_type = @api_client.select_header_content_type(['application/json'])
  unless content_type.nil?
    header_params['Content-Type'] = content_type
  end
  header_params[:'Space'] = space

  # form parameters
  form_params = opts[:form_params] || {}

  # connection timeout
  connection_timeout = @api_client.config.timeout

  # http body (model)
  post_body = opts[:debug_body] || @api_client.object_to_http_body(payment_app_processor_details_create)

  # return_type
  return_type = opts[:debug_return_type] || 'PaymentAppProcessor'

  new_options = opts.merge(
    :operation => :"PaymentWebAppsService.post_payment_web_apps_processors",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:POST.to_sym.downcase, local_var_path, new_options, connection_timeout)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: PaymentWebAppsService#post_payment_web_apps_processors\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}\nConnection Timeout: #{connection_timeout}"
  end
  return data, status_code, headers
end