wallee-ruby-sdk 2.2.3 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/lib/wallee-ruby-sdk.rb +63 -8
- data/lib/wallee-ruby-sdk/api/bank_account_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/bank_transaction_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/charge_bank_transaction_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/currency_bank_account_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/external_transfer_bank_transaction_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/internal_transfer_bank_transaction_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/payment_terminal_till_service_api.rb +170 -0
- data/lib/wallee-ruby-sdk/api/refund_bank_transaction_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/refund_recovery_bank_transaction_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/shopify_subscriber_service_api.rb +62 -0
- data/lib/wallee-ruby-sdk/api/shopify_subscription_service_api.rb +124 -0
- data/lib/wallee-ruby-sdk/api/shopify_transaction_service_api.rb +213 -0
- data/lib/wallee-ruby-sdk/api/subscriber_service_api.rb +3 -3
- data/lib/wallee-ruby-sdk/api/subscription_service_api.rb +67 -0
- data/lib/wallee-ruby-sdk/api/token_service_api.rb +189 -0
- data/lib/wallee-ruby-sdk/api/transaction_terminal_service_api.rb +21 -32
- data/lib/wallee-ruby-sdk/api/web_app_service_api.rb +200 -0
- data/lib/wallee-ruby-sdk/api_client.rb +7 -4
- data/lib/wallee-ruby-sdk/configuration.rb +2 -2
- data/lib/wallee-ruby-sdk/models/abstract_account_update.rb +11 -1
- data/lib/wallee-ruby-sdk/models/abstract_payment_link_update.rb +15 -15
- data/lib/wallee-ruby-sdk/models/{abstract_shopify_subscription_product_active.rb → abstract_shopify_subscription_product_update.rb} +2 -12
- data/lib/wallee-ruby-sdk/models/abstract_space_update.rb +11 -1
- data/lib/wallee-ruby-sdk/models/abstract_subscription_product_active.rb +11 -1
- data/lib/wallee-ruby-sdk/models/abstract_transaction_pending.rb +59 -1
- data/lib/wallee-ruby-sdk/models/abstract_webhook_url_update.rb +24 -0
- data/lib/wallee-ruby-sdk/models/account.rb +31 -1
- data/lib/wallee-ruby-sdk/models/account_create.rb +11 -1
- data/lib/wallee-ruby-sdk/models/account_update.rb +11 -1
- data/lib/wallee-ruby-sdk/models/authenticated_card_data.rb +221 -0
- data/lib/wallee-ruby-sdk/models/{unencrypted_card_data.rb → authenticated_card_data_create.rb} +86 -12
- data/lib/wallee-ruby-sdk/models/bank_account.rb +291 -0
- data/lib/wallee-ruby-sdk/models/bank_account_environment.rb +35 -0
- data/lib/wallee-ruby-sdk/models/bank_account_state.rb +37 -0
- data/lib/wallee-ruby-sdk/models/bank_account_type.rb +227 -0
- data/lib/wallee-ruby-sdk/models/bank_transaction.rb +387 -0
- data/lib/wallee-ruby-sdk/models/bank_transaction_flow_direction.rb +35 -0
- data/lib/wallee-ruby-sdk/models/bank_transaction_source.rb +215 -0
- data/lib/wallee-ruby-sdk/models/bank_transaction_state.rb +35 -0
- data/lib/wallee-ruby-sdk/models/bank_transaction_type.rb +215 -0
- data/lib/wallee-ruby-sdk/models/card_authentication_response.rb +38 -0
- data/lib/wallee-ruby-sdk/models/card_authentication_version.rb +35 -0
- data/lib/wallee-ruby-sdk/models/card_cryptogram.rb +201 -0
- data/lib/wallee-ruby-sdk/models/card_cryptogram_create.rb +211 -0
- data/lib/wallee-ruby-sdk/models/card_cryptogram_type.rb +34 -0
- data/lib/wallee-ruby-sdk/models/cardholder_authentication.rb +231 -0
- data/lib/wallee-ruby-sdk/models/cardholder_authentication_create.rb +241 -0
- data/lib/wallee-ruby-sdk/models/charge_attempt.rb +11 -1
- data/lib/wallee-ruby-sdk/models/charge_bank_transaction.rb +291 -0
- data/lib/wallee-ruby-sdk/models/currency_bank_account.rb +241 -0
- data/lib/wallee-ruby-sdk/models/debt_collection_case.rb +1 -1
- data/lib/wallee-ruby-sdk/models/debt_collection_case_create.rb +1 -1
- data/lib/wallee-ruby-sdk/models/external_transfer_bank_transaction.rb +251 -0
- data/lib/wallee-ruby-sdk/models/internal_transfer_bank_transaction.rb +231 -0
- data/lib/wallee-ruby-sdk/models/payment_adjustment.rb +231 -0
- data/lib/wallee-ruby-sdk/models/payment_adjustment_type.rb +215 -0
- data/lib/wallee-ruby-sdk/models/payment_connector_configuration.rb +13 -1
- data/lib/wallee-ruby-sdk/models/payment_contract.rb +1 -25
- data/lib/wallee-ruby-sdk/models/payment_link.rb +16 -40
- data/lib/wallee-ruby-sdk/models/payment_link_active.rb +15 -15
- data/lib/wallee-ruby-sdk/models/payment_link_address_handling_mode.rb +36 -0
- data/lib/wallee-ruby-sdk/models/payment_link_create.rb +16 -44
- data/lib/wallee-ruby-sdk/models/payment_link_update.rb +15 -15
- data/lib/wallee-ruby-sdk/models/payment_terminal.rb +11 -1
- data/lib/wallee-ruby-sdk/models/payment_terminal_address.rb +0 -60
- data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_version.rb +11 -1
- data/lib/wallee-ruby-sdk/models/payment_terminal_location.rb +2 -22
- data/lib/wallee-ruby-sdk/models/payment_terminal_receipt_type.rb +215 -0
- data/lib/wallee-ruby-sdk/models/permission.rb +14 -4
- data/lib/wallee-ruby-sdk/models/recurring_indicator.rb +37 -0
- data/lib/wallee-ruby-sdk/models/refund_bank_transaction.rb +281 -0
- data/lib/wallee-ruby-sdk/models/refund_recovery_bank_transaction.rb +293 -0
- data/lib/wallee-ruby-sdk/models/rendered_terminal_receipt.rb +26 -6
- data/lib/wallee-ruby-sdk/models/role.rb +1 -1
- data/lib/wallee-ruby-sdk/models/role_state.rb +37 -0
- data/lib/wallee-ruby-sdk/models/sales_channel.rb +34 -4
- data/lib/wallee-ruby-sdk/models/shopify_additional_line_item_data.rb +35 -0
- data/lib/wallee-ruby-sdk/models/shopify_integration.rb +73 -31
- data/lib/wallee-ruby-sdk/models/shopify_integration_payment_app_version.rb +34 -0
- data/lib/wallee-ruby-sdk/models/{shopify_integration_app_version.rb → shopify_integration_subscription_app_version.rb} +3 -3
- data/lib/wallee-ruby-sdk/models/shopify_subscriber.rb +1 -1
- data/lib/wallee-ruby-sdk/models/shopify_subscriber_active.rb +241 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscriber_creation.rb +216 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription.rb +61 -7
- data/lib/wallee-ruby-sdk/models/shopify_subscription_address.rb +0 -60
- data/lib/wallee-ruby-sdk/models/{payment_terminal_contact_address.rb → shopify_subscription_address_create.rb} +152 -2
- data/lib/wallee-ruby-sdk/models/shopify_subscription_creation_request.rb +363 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_model_billing_configuration.rb +271 -0
- data/lib/wallee-ruby-sdk/models/{shopify_subscription_edit_model_item.rb → shopify_subscription_model_item.rb} +2 -2
- data/lib/wallee-ruby-sdk/models/{shopify_subscription_edit_model_tax_line.rb → shopify_subscription_model_tax_line.rb} +1 -1
- data/lib/wallee-ruby-sdk/models/shopify_subscription_product_create.rb +9 -14
- data/lib/wallee-ruby-sdk/models/{shopify_subscription_product_active.rb → shopify_subscription_product_update.rb} +2 -12
- data/lib/wallee-ruby-sdk/models/shopify_subscription_update_addresses_request.rb +211 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscription_update_request.rb +11 -81
- data/lib/wallee-ruby-sdk/models/shopify_subscription_version.rb +11 -1
- data/lib/wallee-ruby-sdk/models/space.rb +31 -1
- data/lib/wallee-ruby-sdk/models/space_create.rb +11 -1
- data/lib/wallee-ruby-sdk/models/space_update.rb +11 -1
- data/lib/wallee-ruby-sdk/models/subscriber.rb +1 -1
- data/lib/wallee-ruby-sdk/models/subscriber_create.rb +1 -1
- data/lib/wallee-ruby-sdk/models/subscription.rb +11 -1
- data/lib/wallee-ruby-sdk/models/subscription_affiliate.rb +1 -25
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_create.rb +1 -29
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_deleted.rb +1 -25
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_deleting.rb +1 -25
- data/lib/wallee-ruby-sdk/models/subscription_charge.rb +49 -1
- data/lib/wallee-ruby-sdk/models/subscription_charge_create.rb +49 -1
- data/lib/wallee-ruby-sdk/models/subscription_create_request.rb +1 -1
- data/lib/wallee-ruby-sdk/models/subscription_ledger_entry.rb +12 -2
- data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_create.rb +1 -1
- data/lib/wallee-ruby-sdk/models/subscription_product.rb +11 -1
- data/lib/wallee-ruby-sdk/models/subscription_product_active.rb +11 -1
- data/lib/wallee-ruby-sdk/models/subscription_product_component.rb +1 -1
- data/lib/wallee-ruby-sdk/models/subscription_product_component_update.rb +1 -1
- data/lib/wallee-ruby-sdk/models/subscription_product_create.rb +11 -1
- data/lib/wallee-ruby-sdk/models/subscription_product_version.rb +11 -1
- data/lib/wallee-ruby-sdk/models/subscription_product_version_pending.rb +14 -4
- data/lib/wallee-ruby-sdk/models/subscription_update_request.rb +206 -0
- data/lib/wallee-ruby-sdk/models/tax_calculation.rb +35 -0
- data/lib/wallee-ruby-sdk/models/terminal_receipt_fetch_request.rb +221 -0
- data/lib/wallee-ruby-sdk/models/terminal_receipt_format.rb +35 -0
- data/lib/wallee-ruby-sdk/models/token.rb +1 -25
- data/lib/wallee-ruby-sdk/models/token_create.rb +1 -29
- data/lib/wallee-ruby-sdk/models/tokenized_card_data.rb +211 -0
- data/lib/wallee-ruby-sdk/models/{unencrypted_card_data_create.rb → tokenized_card_data_create.rb} +60 -5
- data/lib/wallee-ruby-sdk/models/transaction.rb +132 -4
- data/lib/wallee-ruby-sdk/models/transaction_completion.rb +26 -1
- data/lib/wallee-ruby-sdk/models/transaction_completion_behavior.rb +36 -0
- data/lib/wallee-ruby-sdk/models/transaction_completion_request.rb +26 -1
- data/lib/wallee-ruby-sdk/models/transaction_create.rb +59 -1
- data/lib/wallee-ruby-sdk/models/transaction_pending.rb +59 -1
- data/lib/wallee-ruby-sdk/models/web_app_confirmation_request.rb +206 -0
- data/lib/wallee-ruby-sdk/models/web_app_confirmation_response.rb +231 -0
- data/lib/wallee-ruby-sdk/models/webhook_url.rb +35 -1
- data/lib/wallee-ruby-sdk/models/webhook_url_create.rb +24 -0
- data/lib/wallee-ruby-sdk/models/webhook_url_update.rb +24 -0
- data/lib/wallee-ruby-sdk/version.rb +1 -1
- data/test/condition_type_service_test.rb +22 -0
- data/wallee-ruby-sdk.gemspec +3 -2
- metadata +93 -17
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
The wallee API allows an easy interaction with the wallee web service.
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
|
|
16
|
+
=end
|
|
17
|
+
|
|
18
|
+
require "uri"
|
|
19
|
+
|
|
20
|
+
module Wallee
|
|
21
|
+
class ExternalTransferBankTransactionService
|
|
22
|
+
attr_accessor :api_client
|
|
23
|
+
|
|
24
|
+
def initialize(api_client = ApiClient.default)
|
|
25
|
+
@api_client = api_client
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Count
|
|
29
|
+
# Counts the number of items in the database as restricted by the given filter.
|
|
30
|
+
# @param space_id
|
|
31
|
+
# @param [Hash] opts the optional parameters
|
|
32
|
+
# @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
|
|
33
|
+
# @return [Integer]
|
|
34
|
+
def count(space_id, opts = {})
|
|
35
|
+
data, _status_code, _headers = count_with_http_info(space_id, opts)
|
|
36
|
+
return data
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Count
|
|
40
|
+
# Counts the number of items in the database as restricted by the given filter.
|
|
41
|
+
# @param space_id
|
|
42
|
+
# @param [Hash] opts the optional parameters
|
|
43
|
+
# @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
|
|
44
|
+
# @return [Array<(Integer, Fixnum, Hash)>] Integer data, response status code and response headers
|
|
45
|
+
def count_with_http_info(space_id, opts = {})
|
|
46
|
+
if @api_client.config.debugging
|
|
47
|
+
@api_client.config.logger.debug "Calling API: ExternalTransferBankTransactionService.count ..."
|
|
48
|
+
end
|
|
49
|
+
# verify the required parameter 'space_id' is set
|
|
50
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling ExternalTransferBankTransactionService.count" if space_id.nil?
|
|
51
|
+
# resource path
|
|
52
|
+
local_var_path = "/external-transfer-bank-transaction/count".sub('{format}','json')
|
|
53
|
+
|
|
54
|
+
# query parameters
|
|
55
|
+
query_params = {}
|
|
56
|
+
query_params[:'spaceId'] = space_id
|
|
57
|
+
|
|
58
|
+
# header parameters
|
|
59
|
+
header_params = {}
|
|
60
|
+
|
|
61
|
+
# HTTP header 'Accept' (if needed)
|
|
62
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
63
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
64
|
+
|
|
65
|
+
# HTTP header 'Content-Type'
|
|
66
|
+
local_header_content_type = ['application/json;charset=utf-8']
|
|
67
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
68
|
+
|
|
69
|
+
# form parameters
|
|
70
|
+
form_params = {}
|
|
71
|
+
|
|
72
|
+
# http body (model)
|
|
73
|
+
post_body = @api_client.object_to_http_body(opts[:'filter'])
|
|
74
|
+
auth_names = []
|
|
75
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
76
|
+
:header_params => header_params,
|
|
77
|
+
:query_params => query_params,
|
|
78
|
+
:form_params => form_params,
|
|
79
|
+
:body => post_body,
|
|
80
|
+
:auth_names => auth_names,
|
|
81
|
+
:return_type => 'Integer')
|
|
82
|
+
if @api_client.config.debugging
|
|
83
|
+
@api_client.config.logger.debug "API called: ExternalTransferBankTransactionService#count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
84
|
+
end
|
|
85
|
+
return data, status_code, headers
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Read
|
|
89
|
+
# Reads the entity with the given 'id' and returns it.
|
|
90
|
+
# @param space_id
|
|
91
|
+
# @param id The ID of the external transfer bank transaction which should be returned.
|
|
92
|
+
# @param [Hash] opts the optional parameters
|
|
93
|
+
# @return [ExternalTransferBankTransaction]
|
|
94
|
+
def read(space_id, id, opts = {})
|
|
95
|
+
data, _status_code, _headers = read_with_http_info(space_id, id, opts)
|
|
96
|
+
return data
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Read
|
|
100
|
+
# Reads the entity with the given 'id' and returns it.
|
|
101
|
+
# @param space_id
|
|
102
|
+
# @param id The ID of the external transfer bank transaction which should be returned.
|
|
103
|
+
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @return [Array<(ExternalTransferBankTransaction, Fixnum, Hash)>] ExternalTransferBankTransaction data, response status code and response headers
|
|
105
|
+
def read_with_http_info(space_id, id, opts = {})
|
|
106
|
+
if @api_client.config.debugging
|
|
107
|
+
@api_client.config.logger.debug "Calling API: ExternalTransferBankTransactionService.read ..."
|
|
108
|
+
end
|
|
109
|
+
# verify the required parameter 'space_id' is set
|
|
110
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling ExternalTransferBankTransactionService.read" if space_id.nil?
|
|
111
|
+
# verify the required parameter 'id' is set
|
|
112
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ExternalTransferBankTransactionService.read" if id.nil?
|
|
113
|
+
# resource path
|
|
114
|
+
local_var_path = "/external-transfer-bank-transaction/read".sub('{format}','json')
|
|
115
|
+
|
|
116
|
+
# query parameters
|
|
117
|
+
query_params = {}
|
|
118
|
+
query_params[:'spaceId'] = space_id
|
|
119
|
+
query_params[:'id'] = id
|
|
120
|
+
|
|
121
|
+
# header parameters
|
|
122
|
+
header_params = {}
|
|
123
|
+
|
|
124
|
+
# HTTP header 'Accept' (if needed)
|
|
125
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
126
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
127
|
+
|
|
128
|
+
# HTTP header 'Content-Type'
|
|
129
|
+
local_header_content_type = ['*/*']
|
|
130
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
131
|
+
|
|
132
|
+
# form parameters
|
|
133
|
+
form_params = {}
|
|
134
|
+
|
|
135
|
+
# http body (model)
|
|
136
|
+
post_body = nil
|
|
137
|
+
auth_names = []
|
|
138
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
139
|
+
:header_params => header_params,
|
|
140
|
+
:query_params => query_params,
|
|
141
|
+
:form_params => form_params,
|
|
142
|
+
:body => post_body,
|
|
143
|
+
:auth_names => auth_names,
|
|
144
|
+
:return_type => 'ExternalTransferBankTransaction')
|
|
145
|
+
if @api_client.config.debugging
|
|
146
|
+
@api_client.config.logger.debug "API called: ExternalTransferBankTransactionService#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
147
|
+
end
|
|
148
|
+
return data, status_code, headers
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Search
|
|
152
|
+
# Searches for the entities as specified by the given query.
|
|
153
|
+
# @param space_id
|
|
154
|
+
# @param query The query restricts the external transfer bank transactions which are returned by the search.
|
|
155
|
+
# @param [Hash] opts the optional parameters
|
|
156
|
+
# @return [Array<ExternalTransferBankTransaction>]
|
|
157
|
+
def search(space_id, query, opts = {})
|
|
158
|
+
data, _status_code, _headers = search_with_http_info(space_id, query, opts)
|
|
159
|
+
return data
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# Search
|
|
163
|
+
# Searches for the entities as specified by the given query.
|
|
164
|
+
# @param space_id
|
|
165
|
+
# @param query The query restricts the external transfer bank transactions which are returned by the search.
|
|
166
|
+
# @param [Hash] opts the optional parameters
|
|
167
|
+
# @return [Array<(Array<ExternalTransferBankTransaction>, Fixnum, Hash)>] Array<ExternalTransferBankTransaction> data, response status code and response headers
|
|
168
|
+
def search_with_http_info(space_id, query, opts = {})
|
|
169
|
+
if @api_client.config.debugging
|
|
170
|
+
@api_client.config.logger.debug "Calling API: ExternalTransferBankTransactionService.search ..."
|
|
171
|
+
end
|
|
172
|
+
# verify the required parameter 'space_id' is set
|
|
173
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling ExternalTransferBankTransactionService.search" if space_id.nil?
|
|
174
|
+
# verify the required parameter 'query' is set
|
|
175
|
+
fail ArgumentError, "Missing the required parameter 'query' when calling ExternalTransferBankTransactionService.search" if query.nil?
|
|
176
|
+
# resource path
|
|
177
|
+
local_var_path = "/external-transfer-bank-transaction/search".sub('{format}','json')
|
|
178
|
+
|
|
179
|
+
# query parameters
|
|
180
|
+
query_params = {}
|
|
181
|
+
query_params[:'spaceId'] = space_id
|
|
182
|
+
|
|
183
|
+
# header parameters
|
|
184
|
+
header_params = {}
|
|
185
|
+
|
|
186
|
+
# HTTP header 'Accept' (if needed)
|
|
187
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
188
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
189
|
+
|
|
190
|
+
# HTTP header 'Content-Type'
|
|
191
|
+
local_header_content_type = ['application/json;charset=utf-8']
|
|
192
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
193
|
+
|
|
194
|
+
# form parameters
|
|
195
|
+
form_params = {}
|
|
196
|
+
|
|
197
|
+
# http body (model)
|
|
198
|
+
post_body = @api_client.object_to_http_body(query)
|
|
199
|
+
auth_names = []
|
|
200
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
201
|
+
:header_params => header_params,
|
|
202
|
+
:query_params => query_params,
|
|
203
|
+
:form_params => form_params,
|
|
204
|
+
:body => post_body,
|
|
205
|
+
:auth_names => auth_names,
|
|
206
|
+
:return_type => 'Array<ExternalTransferBankTransaction>')
|
|
207
|
+
if @api_client.config.debugging
|
|
208
|
+
@api_client.config.logger.debug "API called: ExternalTransferBankTransactionService#search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
209
|
+
end
|
|
210
|
+
return data, status_code, headers
|
|
211
|
+
end
|
|
212
|
+
end
|
|
213
|
+
end
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
The wallee API allows an easy interaction with the wallee web service.
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
|
|
16
|
+
=end
|
|
17
|
+
|
|
18
|
+
require "uri"
|
|
19
|
+
|
|
20
|
+
module Wallee
|
|
21
|
+
class InternalTransferBankTransactionService
|
|
22
|
+
attr_accessor :api_client
|
|
23
|
+
|
|
24
|
+
def initialize(api_client = ApiClient.default)
|
|
25
|
+
@api_client = api_client
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Count
|
|
29
|
+
# Counts the number of items in the database as restricted by the given filter.
|
|
30
|
+
# @param space_id
|
|
31
|
+
# @param [Hash] opts the optional parameters
|
|
32
|
+
# @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
|
|
33
|
+
# @return [Integer]
|
|
34
|
+
def count(space_id, opts = {})
|
|
35
|
+
data, _status_code, _headers = count_with_http_info(space_id, opts)
|
|
36
|
+
return data
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Count
|
|
40
|
+
# Counts the number of items in the database as restricted by the given filter.
|
|
41
|
+
# @param space_id
|
|
42
|
+
# @param [Hash] opts the optional parameters
|
|
43
|
+
# @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
|
|
44
|
+
# @return [Array<(Integer, Fixnum, Hash)>] Integer data, response status code and response headers
|
|
45
|
+
def count_with_http_info(space_id, opts = {})
|
|
46
|
+
if @api_client.config.debugging
|
|
47
|
+
@api_client.config.logger.debug "Calling API: InternalTransferBankTransactionService.count ..."
|
|
48
|
+
end
|
|
49
|
+
# verify the required parameter 'space_id' is set
|
|
50
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling InternalTransferBankTransactionService.count" if space_id.nil?
|
|
51
|
+
# resource path
|
|
52
|
+
local_var_path = "/internal-transfer-bank-transaction/count".sub('{format}','json')
|
|
53
|
+
|
|
54
|
+
# query parameters
|
|
55
|
+
query_params = {}
|
|
56
|
+
query_params[:'spaceId'] = space_id
|
|
57
|
+
|
|
58
|
+
# header parameters
|
|
59
|
+
header_params = {}
|
|
60
|
+
|
|
61
|
+
# HTTP header 'Accept' (if needed)
|
|
62
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
63
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
64
|
+
|
|
65
|
+
# HTTP header 'Content-Type'
|
|
66
|
+
local_header_content_type = ['application/json;charset=utf-8']
|
|
67
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
68
|
+
|
|
69
|
+
# form parameters
|
|
70
|
+
form_params = {}
|
|
71
|
+
|
|
72
|
+
# http body (model)
|
|
73
|
+
post_body = @api_client.object_to_http_body(opts[:'filter'])
|
|
74
|
+
auth_names = []
|
|
75
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
76
|
+
:header_params => header_params,
|
|
77
|
+
:query_params => query_params,
|
|
78
|
+
:form_params => form_params,
|
|
79
|
+
:body => post_body,
|
|
80
|
+
:auth_names => auth_names,
|
|
81
|
+
:return_type => 'Integer')
|
|
82
|
+
if @api_client.config.debugging
|
|
83
|
+
@api_client.config.logger.debug "API called: InternalTransferBankTransactionService#count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
84
|
+
end
|
|
85
|
+
return data, status_code, headers
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Read
|
|
89
|
+
# Reads the entity with the given 'id' and returns it.
|
|
90
|
+
# @param space_id
|
|
91
|
+
# @param id The ID of the internal transfer bank transaction which should be returned.
|
|
92
|
+
# @param [Hash] opts the optional parameters
|
|
93
|
+
# @return [InternalTransferBankTransaction]
|
|
94
|
+
def read(space_id, id, opts = {})
|
|
95
|
+
data, _status_code, _headers = read_with_http_info(space_id, id, opts)
|
|
96
|
+
return data
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Read
|
|
100
|
+
# Reads the entity with the given 'id' and returns it.
|
|
101
|
+
# @param space_id
|
|
102
|
+
# @param id The ID of the internal transfer bank transaction which should be returned.
|
|
103
|
+
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @return [Array<(InternalTransferBankTransaction, Fixnum, Hash)>] InternalTransferBankTransaction data, response status code and response headers
|
|
105
|
+
def read_with_http_info(space_id, id, opts = {})
|
|
106
|
+
if @api_client.config.debugging
|
|
107
|
+
@api_client.config.logger.debug "Calling API: InternalTransferBankTransactionService.read ..."
|
|
108
|
+
end
|
|
109
|
+
# verify the required parameter 'space_id' is set
|
|
110
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling InternalTransferBankTransactionService.read" if space_id.nil?
|
|
111
|
+
# verify the required parameter 'id' is set
|
|
112
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InternalTransferBankTransactionService.read" if id.nil?
|
|
113
|
+
# resource path
|
|
114
|
+
local_var_path = "/internal-transfer-bank-transaction/read".sub('{format}','json')
|
|
115
|
+
|
|
116
|
+
# query parameters
|
|
117
|
+
query_params = {}
|
|
118
|
+
query_params[:'spaceId'] = space_id
|
|
119
|
+
query_params[:'id'] = id
|
|
120
|
+
|
|
121
|
+
# header parameters
|
|
122
|
+
header_params = {}
|
|
123
|
+
|
|
124
|
+
# HTTP header 'Accept' (if needed)
|
|
125
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
126
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
127
|
+
|
|
128
|
+
# HTTP header 'Content-Type'
|
|
129
|
+
local_header_content_type = ['*/*']
|
|
130
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
131
|
+
|
|
132
|
+
# form parameters
|
|
133
|
+
form_params = {}
|
|
134
|
+
|
|
135
|
+
# http body (model)
|
|
136
|
+
post_body = nil
|
|
137
|
+
auth_names = []
|
|
138
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
139
|
+
:header_params => header_params,
|
|
140
|
+
:query_params => query_params,
|
|
141
|
+
:form_params => form_params,
|
|
142
|
+
:body => post_body,
|
|
143
|
+
:auth_names => auth_names,
|
|
144
|
+
:return_type => 'InternalTransferBankTransaction')
|
|
145
|
+
if @api_client.config.debugging
|
|
146
|
+
@api_client.config.logger.debug "API called: InternalTransferBankTransactionService#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
147
|
+
end
|
|
148
|
+
return data, status_code, headers
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Search
|
|
152
|
+
# Searches for the entities as specified by the given query.
|
|
153
|
+
# @param space_id
|
|
154
|
+
# @param query The query restricts the internal transfer bank transactions which are returned by the search.
|
|
155
|
+
# @param [Hash] opts the optional parameters
|
|
156
|
+
# @return [Array<InternalTransferBankTransaction>]
|
|
157
|
+
def search(space_id, query, opts = {})
|
|
158
|
+
data, _status_code, _headers = search_with_http_info(space_id, query, opts)
|
|
159
|
+
return data
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# Search
|
|
163
|
+
# Searches for the entities as specified by the given query.
|
|
164
|
+
# @param space_id
|
|
165
|
+
# @param query The query restricts the internal transfer bank transactions which are returned by the search.
|
|
166
|
+
# @param [Hash] opts the optional parameters
|
|
167
|
+
# @return [Array<(Array<InternalTransferBankTransaction>, Fixnum, Hash)>] Array<InternalTransferBankTransaction> data, response status code and response headers
|
|
168
|
+
def search_with_http_info(space_id, query, opts = {})
|
|
169
|
+
if @api_client.config.debugging
|
|
170
|
+
@api_client.config.logger.debug "Calling API: InternalTransferBankTransactionService.search ..."
|
|
171
|
+
end
|
|
172
|
+
# verify the required parameter 'space_id' is set
|
|
173
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling InternalTransferBankTransactionService.search" if space_id.nil?
|
|
174
|
+
# verify the required parameter 'query' is set
|
|
175
|
+
fail ArgumentError, "Missing the required parameter 'query' when calling InternalTransferBankTransactionService.search" if query.nil?
|
|
176
|
+
# resource path
|
|
177
|
+
local_var_path = "/internal-transfer-bank-transaction/search".sub('{format}','json')
|
|
178
|
+
|
|
179
|
+
# query parameters
|
|
180
|
+
query_params = {}
|
|
181
|
+
query_params[:'spaceId'] = space_id
|
|
182
|
+
|
|
183
|
+
# header parameters
|
|
184
|
+
header_params = {}
|
|
185
|
+
|
|
186
|
+
# HTTP header 'Accept' (if needed)
|
|
187
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
188
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
189
|
+
|
|
190
|
+
# HTTP header 'Content-Type'
|
|
191
|
+
local_header_content_type = ['application/json;charset=utf-8']
|
|
192
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
193
|
+
|
|
194
|
+
# form parameters
|
|
195
|
+
form_params = {}
|
|
196
|
+
|
|
197
|
+
# http body (model)
|
|
198
|
+
post_body = @api_client.object_to_http_body(query)
|
|
199
|
+
auth_names = []
|
|
200
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
201
|
+
:header_params => header_params,
|
|
202
|
+
:query_params => query_params,
|
|
203
|
+
:form_params => form_params,
|
|
204
|
+
:body => post_body,
|
|
205
|
+
:auth_names => auth_names,
|
|
206
|
+
:return_type => 'Array<InternalTransferBankTransaction>')
|
|
207
|
+
if @api_client.config.debugging
|
|
208
|
+
@api_client.config.logger.debug "API called: InternalTransferBankTransactionService#search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
209
|
+
end
|
|
210
|
+
return data, status_code, headers
|
|
211
|
+
end
|
|
212
|
+
end
|
|
213
|
+
end
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
The wallee API allows an easy interaction with the wallee web service.
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
|
|
16
|
+
=end
|
|
17
|
+
|
|
18
|
+
require "uri"
|
|
19
|
+
|
|
20
|
+
module Wallee
|
|
21
|
+
class PaymentTerminalTillService
|
|
22
|
+
attr_accessor :api_client
|
|
23
|
+
|
|
24
|
+
def initialize(api_client = ApiClient.default)
|
|
25
|
+
@api_client = api_client
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Perform Payment Terminal Transaction
|
|
29
|
+
# Starts a payment terminal transaction and waits for its completion. If the call returns with a long polling timeout status, you may try again. The processing of the transaction will be picked up where it was left off.
|
|
30
|
+
# @param space_id
|
|
31
|
+
# @param transaction_id The ID of the transaction which is used to process with the terminal.
|
|
32
|
+
# @param terminal_id The ID of the terminal which should be used to process the transaction.
|
|
33
|
+
# @param [Hash] opts the optional parameters
|
|
34
|
+
# @option opts [String] :language The language in which the messages should be rendered in.
|
|
35
|
+
# @return [Transaction]
|
|
36
|
+
def perform_transaction(space_id, transaction_id, terminal_id, opts = {})
|
|
37
|
+
data, _status_code, _headers = perform_transaction_with_http_info(space_id, transaction_id, terminal_id, opts)
|
|
38
|
+
return data
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Perform Payment Terminal Transaction
|
|
42
|
+
# Starts a payment terminal transaction and waits for its completion. If the call returns with a long polling timeout status, you may try again. The processing of the transaction will be picked up where it was left off.
|
|
43
|
+
# @param space_id
|
|
44
|
+
# @param transaction_id The ID of the transaction which is used to process with the terminal.
|
|
45
|
+
# @param terminal_id The ID of the terminal which should be used to process the transaction.
|
|
46
|
+
# @param [Hash] opts the optional parameters
|
|
47
|
+
# @option opts [String] :language The language in which the messages should be rendered in.
|
|
48
|
+
# @return [Array<(Transaction, Fixnum, Hash)>] Transaction data, response status code and response headers
|
|
49
|
+
def perform_transaction_with_http_info(space_id, transaction_id, terminal_id, opts = {})
|
|
50
|
+
if @api_client.config.debugging
|
|
51
|
+
@api_client.config.logger.debug "Calling API: PaymentTerminalTillService.perform_transaction ..."
|
|
52
|
+
end
|
|
53
|
+
# verify the required parameter 'space_id' is set
|
|
54
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling PaymentTerminalTillService.perform_transaction" if space_id.nil?
|
|
55
|
+
# verify the required parameter 'transaction_id' is set
|
|
56
|
+
fail ArgumentError, "Missing the required parameter 'transaction_id' when calling PaymentTerminalTillService.perform_transaction" if transaction_id.nil?
|
|
57
|
+
# verify the required parameter 'terminal_id' is set
|
|
58
|
+
fail ArgumentError, "Missing the required parameter 'terminal_id' when calling PaymentTerminalTillService.perform_transaction" if terminal_id.nil?
|
|
59
|
+
# resource path
|
|
60
|
+
local_var_path = "/payment-terminal-till/perform-transaction".sub('{format}','json')
|
|
61
|
+
|
|
62
|
+
# query parameters
|
|
63
|
+
query_params = {}
|
|
64
|
+
query_params[:'spaceId'] = space_id
|
|
65
|
+
query_params[:'transactionId'] = transaction_id
|
|
66
|
+
query_params[:'terminalId'] = terminal_id
|
|
67
|
+
query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?
|
|
68
|
+
|
|
69
|
+
# header parameters
|
|
70
|
+
header_params = {}
|
|
71
|
+
|
|
72
|
+
# HTTP header 'Accept' (if needed)
|
|
73
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
74
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
75
|
+
|
|
76
|
+
# HTTP header 'Content-Type'
|
|
77
|
+
local_header_content_type = ['application/json;charset=utf-8']
|
|
78
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
79
|
+
|
|
80
|
+
# form parameters
|
|
81
|
+
form_params = {}
|
|
82
|
+
|
|
83
|
+
# http body (model)
|
|
84
|
+
post_body = nil
|
|
85
|
+
auth_names = []
|
|
86
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
87
|
+
:header_params => header_params,
|
|
88
|
+
:query_params => query_params,
|
|
89
|
+
:form_params => form_params,
|
|
90
|
+
:body => post_body,
|
|
91
|
+
:auth_names => auth_names,
|
|
92
|
+
:return_type => 'Transaction')
|
|
93
|
+
if @api_client.config.debugging
|
|
94
|
+
@api_client.config.logger.debug "API called: PaymentTerminalTillService#perform_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
95
|
+
end
|
|
96
|
+
return data, status_code, headers
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Perform Payment Terminal Transaction (using TID)
|
|
100
|
+
# Starts a payment terminal transaction and waits for its completion. If the call returns with a long polling timeout status, you may try again. The processing of the transaction will be picked up where it was left off.
|
|
101
|
+
# @param space_id
|
|
102
|
+
# @param transaction_id The ID of the transaction which is used to process with the terminal.
|
|
103
|
+
# @param terminal_identifier The identifier (aka TID) of the terminal which should be used to process the transaction.
|
|
104
|
+
# @param [Hash] opts the optional parameters
|
|
105
|
+
# @option opts [String] :language The language in which the messages should be rendered in.
|
|
106
|
+
# @return [Transaction]
|
|
107
|
+
def perform_transaction_by_identifier(space_id, transaction_id, terminal_identifier, opts = {})
|
|
108
|
+
data, _status_code, _headers = perform_transaction_by_identifier_with_http_info(space_id, transaction_id, terminal_identifier, opts)
|
|
109
|
+
return data
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Perform Payment Terminal Transaction (using TID)
|
|
113
|
+
# Starts a payment terminal transaction and waits for its completion. If the call returns with a long polling timeout status, you may try again. The processing of the transaction will be picked up where it was left off.
|
|
114
|
+
# @param space_id
|
|
115
|
+
# @param transaction_id The ID of the transaction which is used to process with the terminal.
|
|
116
|
+
# @param terminal_identifier The identifier (aka TID) of the terminal which should be used to process the transaction.
|
|
117
|
+
# @param [Hash] opts the optional parameters
|
|
118
|
+
# @option opts [String] :language The language in which the messages should be rendered in.
|
|
119
|
+
# @return [Array<(Transaction, Fixnum, Hash)>] Transaction data, response status code and response headers
|
|
120
|
+
def perform_transaction_by_identifier_with_http_info(space_id, transaction_id, terminal_identifier, opts = {})
|
|
121
|
+
if @api_client.config.debugging
|
|
122
|
+
@api_client.config.logger.debug "Calling API: PaymentTerminalTillService.perform_transaction_by_identifier ..."
|
|
123
|
+
end
|
|
124
|
+
# verify the required parameter 'space_id' is set
|
|
125
|
+
fail ArgumentError, "Missing the required parameter 'space_id' when calling PaymentTerminalTillService.perform_transaction_by_identifier" if space_id.nil?
|
|
126
|
+
# verify the required parameter 'transaction_id' is set
|
|
127
|
+
fail ArgumentError, "Missing the required parameter 'transaction_id' when calling PaymentTerminalTillService.perform_transaction_by_identifier" if transaction_id.nil?
|
|
128
|
+
# verify the required parameter 'terminal_identifier' is set
|
|
129
|
+
fail ArgumentError, "Missing the required parameter 'terminal_identifier' when calling PaymentTerminalTillService.perform_transaction_by_identifier" if terminal_identifier.nil?
|
|
130
|
+
# resource path
|
|
131
|
+
local_var_path = "/payment-terminal-till/perform-transaction-by-identifier".sub('{format}','json')
|
|
132
|
+
|
|
133
|
+
# query parameters
|
|
134
|
+
query_params = {}
|
|
135
|
+
query_params[:'spaceId'] = space_id
|
|
136
|
+
query_params[:'transactionId'] = transaction_id
|
|
137
|
+
query_params[:'terminalIdentifier'] = terminal_identifier
|
|
138
|
+
query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?
|
|
139
|
+
|
|
140
|
+
# header parameters
|
|
141
|
+
header_params = {}
|
|
142
|
+
|
|
143
|
+
# HTTP header 'Accept' (if needed)
|
|
144
|
+
local_header_accept = ['application/json;charset=utf-8']
|
|
145
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
146
|
+
|
|
147
|
+
# HTTP header 'Content-Type'
|
|
148
|
+
local_header_content_type = ['application/json;charset=utf-8']
|
|
149
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
150
|
+
|
|
151
|
+
# form parameters
|
|
152
|
+
form_params = {}
|
|
153
|
+
|
|
154
|
+
# http body (model)
|
|
155
|
+
post_body = nil
|
|
156
|
+
auth_names = []
|
|
157
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
158
|
+
:header_params => header_params,
|
|
159
|
+
:query_params => query_params,
|
|
160
|
+
:form_params => form_params,
|
|
161
|
+
:body => post_body,
|
|
162
|
+
:auth_names => auth_names,
|
|
163
|
+
:return_type => 'Transaction')
|
|
164
|
+
if @api_client.config.debugging
|
|
165
|
+
@api_client.config.logger.debug "API called: PaymentTerminalTillService#perform_transaction_by_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
166
|
+
end
|
|
167
|
+
return data, status_code, headers
|
|
168
|
+
end
|
|
169
|
+
end
|
|
170
|
+
end
|