Class: IntegrationApi::CardApi
- Inherits:
-
Object
- Object
- IntegrationApi::CardApi
- Defined in:
- lib/integration_api/api/card_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#create_auto_reload_using_post(request, opts = {}) ⇒ CardAutoReloadResponseVO
Card auto reload.
-
#create_auto_reload_using_post_with_http_info(request, opts = {}) ⇒ Array<(CardAutoReloadResponseVO, Fixnum, Hash)>
Card auto reload.
-
#create_card_activate_using_post(activate_request, opts = {}) ⇒ BaseResponseVO
Activate card.
-
#create_card_activate_using_post_with_http_info(activate_request, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
Activate card.
-
#create_card_business_using_post(card_business_request_co, opts = {}) ⇒ CreateBusinessResponseVO
Create a card business.
-
#create_card_business_using_post_with_http_info(card_business_request_co, opts = {}) ⇒ Array<(CreateBusinessResponseVO, Fixnum, Hash)>
Create a card business.
-
#create_card_close_using_post(close_request, opts = {}) ⇒ BaseResponseVO
close a card.
-
#create_card_close_using_post_with_http_info(close_request, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
close a card.
-
#create_card_issue_using_post(issue_request, opts = {}) ⇒ BaseResponseVO
issue a card.
-
#create_card_issue_using_post_with_http_info(issue_request, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
issue a card.
-
#create_card_load_using_post(load_request, opts = {}) ⇒ CardLoadUnloadResponseVO
Create a card load.
-
#create_card_load_using_post_with_http_info(load_request, opts = {}) ⇒ Array<(CardLoadUnloadResponseVO, Fixnum, Hash)>
Create a card load.
-
#create_card_pin_using_post(card_pin_request_co, opts = {}) ⇒ BaseResponseVO
pin card.
-
#create_card_pin_using_post_with_http_info(card_pin_request_co, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
pin card.
-
#create_card_reactivate_using_post(reactivate_request, opts = {}) ⇒ BaseResponseVO
reactivate card.
-
#create_card_reactivate_using_post_with_http_info(reactivate_request, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
reactivate card.
-
#create_card_reissue_using_post(request, opts = {}) ⇒ BaseResponseVO
Reissue a card.
-
#create_card_reissue_using_post_with_http_info(request, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
Reissue a card.
-
#create_card_replace_using_post(request, opts = {}) ⇒ CardReplaceResponseVO
Create card replace.
-
#create_card_replace_using_post_with_http_info(request, opts = {}) ⇒ Array<(CardReplaceResponseVO, Fixnum, Hash)>
Create card replace.
-
#create_card_spending_control_using_post(request, opts = {}) ⇒ CardSpendingControlResponseVO
Create card spending control.
-
#create_card_spending_control_using_post_with_http_info(request, opts = {}) ⇒ Array<(CardSpendingControlResponseVO, Fixnum, Hash)>
Create card spending control.
-
#create_card_suspend_using_post(suspend_request, opts = {}) ⇒ BaseResponseVO
suspend card.
-
#create_card_suspend_using_post_with_http_info(suspend_request, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
suspend card.
-
#create_card_token_using_post(tokenize_request, opts = {}) ⇒ CardTokenResponseVO
token card.
-
#create_card_token_using_post_with_http_info(tokenize_request, opts = {}) ⇒ Array<(CardTokenResponseVO, Fixnum, Hash)>
token card.
-
#create_card_unload_using_post(reload_request, opts = {}) ⇒ CardLoadUnloadResponseVO
Create a card upload.
-
#create_card_unload_using_post_with_http_info(reload_request, opts = {}) ⇒ Array<(CardLoadUnloadResponseVO, Fixnum, Hash)>
Create a card upload.
-
#create_client_card_using_post(card_client_request_co, opts = {}) ⇒ CreateCardClientResponseVO
Create a card client.
-
#create_client_card_using_post_with_http_info(card_client_request_co, opts = {}) ⇒ Array<(CreateCardClientResponseVO, Fixnum, Hash)>
Create a card client.
-
#get_card_balance_using_get(id, opts = {}) ⇒ CardBalanceResponseVO
Get a Card Balance.
-
#get_card_balance_using_get_with_http_info(id, opts = {}) ⇒ Array<(CardBalanceResponseVO, Fixnum, Hash)>
Get a Card Balance.
-
#get_card_image(card_id, opts = {}) ⇒ GetCardImageResponseVO
Get card image.
-
#get_card_image_with_http_info(card_id, opts = {}) ⇒ Array<(GetCardImageResponseVO, Fixnum, Hash)>
Get card image.
-
#get_card_pci_details(card_id, opts = {}) ⇒ GetCardPciDetailsResponseVO
Get card pci details.
-
#get_card_pci_details_with_http_info(card_id, opts = {}) ⇒ Array<(GetCardPciDetailsResponseVO, Fixnum, Hash)>
Get card pci details.
-
#get_card_reserve_account_details_using_get(opts = {}) ⇒ CardReserveAccountResponseVO
Card reserve account.
-
#get_card_reserve_account_details_using_get_with_http_info(opts = {}) ⇒ Array<(CardReserveAccountResponseVO, Fixnum, Hash)>
Card reserve account.
-
#get_card_statement_using_get(card_id, opts = {}) ⇒ GetCardStatementResponseVO
Get card statement.
-
#get_card_statement_using_get_with_http_info(card_id, opts = {}) ⇒ Array<(GetCardStatementResponseVO, Fixnum, Hash)>
Get card statement.
-
#get_card_token_using_token(id, opts = {}) ⇒ Array<GetCardTokenResponseVO>
Get a card token.
-
#get_card_token_using_token_with_http_info(id, opts = {}) ⇒ Array<(Array<GetCardTokenResponseVO>, Fixnum, Hash)>
Get a card token.
-
#get_card_transaction_using_get(id, opts = {}) ⇒ CardTransactionResponseVO
Get a card transaction.
-
#get_card_transaction_using_get_with_http_info(id, opts = {}) ⇒ Array<(CardTransactionResponseVO, Fixnum, Hash)>
Get a card transaction.
-
#get_card_using_get(id, opts = {}) ⇒ BaseResponseVO
Get a card information.
-
#get_card_using_get_with_http_info(id, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
Get a card information.
-
#initialize(api_client = ApiClient.default) ⇒ CardApi
constructor
A new instance of CardApi.
-
#update_card_business_using_put(nucleus_business_id, opts = {}) ⇒ UpdateBusinessResponseVO
Update a card business.
-
#update_card_business_using_put_with_http_info(nucleus_business_id, opts = {}) ⇒ Array<(UpdateBusinessResponseVO, Fixnum, Hash)>
Update a card business.
-
#update_card_pin_using_post(card_pin_request_co, id, opts = {}) ⇒ BaseResponseVO
update a pin card.
-
#update_card_pin_using_post_with_http_info(card_pin_request_co, id, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
update a pin card.
-
#update_card_spending_control_using_put(nucleus_spending_control_id, opts = {}) ⇒ CardSpendingControlResponseVO
Update a card spending control.
-
#update_card_spending_control_using_put_with_http_info(nucleus_spending_control_id, opts = {}) ⇒ Array<(CardSpendingControlResponseVO, Fixnum, Hash)>
Update a card spending control.
-
#update_card_using_put(id, opts = {}) ⇒ BaseResponseVO
Update a card information.
-
#update_card_using_put_with_http_info(id, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
Update a card information.
-
#update_client_card_using_put(id, opts = {}) ⇒ UpdateCardClientResponseVO
Update a card client.
-
#update_client_card_using_put_with_http_info(id, opts = {}) ⇒ Array<(UpdateCardClientResponseVO, Fixnum, Hash)>
Update a card client.
-
#verify_card_pin_using_post(card_pin_request_co, opts = {}) ⇒ BaseResponseVO
verify card pin.
-
#verify_card_pin_using_post_with_http_info(card_pin_request_co, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
verify card pin.
Constructor Details
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
17 18 19 |
# File 'lib/integration_api/api/card_api.rb', line 17 def api_client @api_client end |
Instance Method Details
#create_auto_reload_using_post(request, opts = {}) ⇒ CardAutoReloadResponseVO
Card auto reload
26 27 28 29 |
# File 'lib/integration_api/api/card_api.rb', line 26 def create_auto_reload_using_post(request, opts = {}) data, _status_code, _headers = create_auto_reload_using_post_with_http_info(request, opts) data end |
#create_auto_reload_using_post_with_http_info(request, opts = {}) ⇒ Array<(CardAutoReloadResponseVO, Fixnum, Hash)>
Card auto reload
35 36 37 38 39 40 41 42 43 44 45 46 47 48 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 |
# File 'lib/integration_api/api/card_api.rb', line 35 def create_auto_reload_using_post_with_http_info(request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_auto_reload_using_post ...' end # verify the required parameter 'request' is set if @api_client.config.client_side_validation && request.nil? fail ArgumentError, "Missing the required parameter 'request' when calling CardApi.create_auto_reload_using_post" end # resource path local_var_path = '/card/auto_reload' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(request) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'CardAutoReloadResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_auto_reload_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_card_activate_using_post(activate_request, opts = {}) ⇒ BaseResponseVO
Activate card
78 79 80 81 |
# File 'lib/integration_api/api/card_api.rb', line 78 def create_card_activate_using_post(activate_request, opts = {}) data, _status_code, _headers = create_card_activate_using_post_with_http_info(activate_request, opts) data end |
#create_card_activate_using_post_with_http_info(activate_request, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
Activate card
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/integration_api/api/card_api.rb', line 87 def create_card_activate_using_post_with_http_info(activate_request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_card_activate_using_post ...' end # verify the required parameter 'activate_request' is set if @api_client.config.client_side_validation && activate_request.nil? fail ArgumentError, "Missing the required parameter 'activate_request' when calling CardApi.create_card_activate_using_post" end # resource path local_var_path = '/card/activate' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(activate_request) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'BaseResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_card_activate_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_card_business_using_post(card_business_request_co, opts = {}) ⇒ CreateBusinessResponseVO
Create a card business
130 131 132 133 |
# File 'lib/integration_api/api/card_api.rb', line 130 def create_card_business_using_post(card_business_request_co, opts = {}) data, _status_code, _headers = create_card_business_using_post_with_http_info(card_business_request_co, opts) data end |
#create_card_business_using_post_with_http_info(card_business_request_co, opts = {}) ⇒ Array<(CreateBusinessResponseVO, Fixnum, Hash)>
Create a card business
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 171 172 173 174 175 176 177 |
# File 'lib/integration_api/api/card_api.rb', line 139 def create_card_business_using_post_with_http_info(card_business_request_co, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_card_business_using_post ...' end # verify the required parameter 'card_business_request_co' is set if @api_client.config.client_side_validation && card_business_request_co.nil? fail ArgumentError, "Missing the required parameter 'card_business_request_co' when calling CardApi.create_card_business_using_post" end # resource path local_var_path = '/card/business' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(card_business_request_co) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'CreateBusinessResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_card_business_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_card_close_using_post(close_request, opts = {}) ⇒ BaseResponseVO
close a card
182 183 184 185 |
# File 'lib/integration_api/api/card_api.rb', line 182 def create_card_close_using_post(close_request, opts = {}) data, _status_code, _headers = create_card_close_using_post_with_http_info(close_request, opts) data end |
#create_card_close_using_post_with_http_info(close_request, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
close a card
191 192 193 194 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 |
# File 'lib/integration_api/api/card_api.rb', line 191 def create_card_close_using_post_with_http_info(close_request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_card_close_using_post ...' end # verify the required parameter 'close_request' is set if @api_client.config.client_side_validation && close_request.nil? fail ArgumentError, "Missing the required parameter 'close_request' when calling CardApi.create_card_close_using_post" end # resource path local_var_path = '/card/close' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(close_request) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'BaseResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_card_close_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_card_issue_using_post(issue_request, opts = {}) ⇒ BaseResponseVO
issue a card
234 235 236 237 |
# File 'lib/integration_api/api/card_api.rb', line 234 def create_card_issue_using_post(issue_request, opts = {}) data, _status_code, _headers = create_card_issue_using_post_with_http_info(issue_request, opts) data end |
#create_card_issue_using_post_with_http_info(issue_request, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
issue a card
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 |
# File 'lib/integration_api/api/card_api.rb', line 243 def create_card_issue_using_post_with_http_info(issue_request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_card_issue_using_post ...' end # verify the required parameter 'issue_request' is set if @api_client.config.client_side_validation && issue_request.nil? fail ArgumentError, "Missing the required parameter 'issue_request' when calling CardApi.create_card_issue_using_post" end # resource path local_var_path = '/card/issue' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(issue_request) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'BaseResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_card_issue_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_card_load_using_post(load_request, opts = {}) ⇒ CardLoadUnloadResponseVO
Create a card load
286 287 288 289 |
# File 'lib/integration_api/api/card_api.rb', line 286 def create_card_load_using_post(load_request, opts = {}) data, _status_code, _headers = create_card_load_using_post_with_http_info(load_request, opts) data end |
#create_card_load_using_post_with_http_info(load_request, opts = {}) ⇒ Array<(CardLoadUnloadResponseVO, Fixnum, Hash)>
Create a card load
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 |
# File 'lib/integration_api/api/card_api.rb', line 295 def create_card_load_using_post_with_http_info(load_request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_card_load_using_post ...' end # verify the required parameter 'load_request' is set if @api_client.config.client_side_validation && load_request.nil? fail ArgumentError, "Missing the required parameter 'load_request' when calling CardApi.create_card_load_using_post" end # resource path local_var_path = '/card/load' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(load_request) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'CardLoadUnloadResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_card_load_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_card_pin_using_post(card_pin_request_co, opts = {}) ⇒ BaseResponseVO
pin card
338 339 340 341 |
# File 'lib/integration_api/api/card_api.rb', line 338 def create_card_pin_using_post(card_pin_request_co, opts = {}) data, _status_code, _headers = create_card_pin_using_post_with_http_info(card_pin_request_co, opts) data end |
#create_card_pin_using_post_with_http_info(card_pin_request_co, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
pin card
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 |
# File 'lib/integration_api/api/card_api.rb', line 347 def create_card_pin_using_post_with_http_info(card_pin_request_co, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_card_pin_using_post ...' end # verify the required parameter 'card_pin_request_co' is set if @api_client.config.client_side_validation && card_pin_request_co.nil? fail ArgumentError, "Missing the required parameter 'card_pin_request_co' when calling CardApi.create_card_pin_using_post" end # resource path local_var_path = '/card/pin' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(card_pin_request_co) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'BaseResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_card_pin_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_card_reactivate_using_post(reactivate_request, opts = {}) ⇒ BaseResponseVO
reactivate card
390 391 392 393 |
# File 'lib/integration_api/api/card_api.rb', line 390 def create_card_reactivate_using_post(reactivate_request, opts = {}) data, _status_code, _headers = create_card_reactivate_using_post_with_http_info(reactivate_request, opts) data end |
#create_card_reactivate_using_post_with_http_info(reactivate_request, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
reactivate card
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 424 425 426 427 428 429 430 431 432 433 434 435 436 437 |
# File 'lib/integration_api/api/card_api.rb', line 399 def create_card_reactivate_using_post_with_http_info(reactivate_request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_card_reactivate_using_post ...' end # verify the required parameter 'reactivate_request' is set if @api_client.config.client_side_validation && reactivate_request.nil? fail ArgumentError, "Missing the required parameter 'reactivate_request' when calling CardApi.create_card_reactivate_using_post" end # resource path local_var_path = '/card/reactivate' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(reactivate_request) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'BaseResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_card_reactivate_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_card_reissue_using_post(request, opts = {}) ⇒ BaseResponseVO
Reissue a card
442 443 444 445 |
# File 'lib/integration_api/api/card_api.rb', line 442 def create_card_reissue_using_post(request, opts = {}) data, _status_code, _headers = create_card_reissue_using_post_with_http_info(request, opts) data end |
#create_card_reissue_using_post_with_http_info(request, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
Reissue a card
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 |
# File 'lib/integration_api/api/card_api.rb', line 451 def create_card_reissue_using_post_with_http_info(request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_card_reissue_using_post ...' end # verify the required parameter 'request' is set if @api_client.config.client_side_validation && request.nil? fail ArgumentError, "Missing the required parameter 'request' when calling CardApi.create_card_reissue_using_post" end # resource path local_var_path = '/card/reissue' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(request) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'BaseResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_card_reissue_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_card_replace_using_post(request, opts = {}) ⇒ CardReplaceResponseVO
Create card replace
494 495 496 497 |
# File 'lib/integration_api/api/card_api.rb', line 494 def create_card_replace_using_post(request, opts = {}) data, _status_code, _headers = create_card_replace_using_post_with_http_info(request, opts) data end |
#create_card_replace_using_post_with_http_info(request, opts = {}) ⇒ Array<(CardReplaceResponseVO, Fixnum, Hash)>
Create card replace
503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 |
# File 'lib/integration_api/api/card_api.rb', line 503 def create_card_replace_using_post_with_http_info(request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_card_replace_using_post ...' end # verify the required parameter 'request' is set if @api_client.config.client_side_validation && request.nil? fail ArgumentError, "Missing the required parameter 'request' when calling CardApi.create_card_replace_using_post" end # resource path local_var_path = '/card/replace' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(request) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'CardReplaceResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_card_replace_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_card_spending_control_using_post(request, opts = {}) ⇒ CardSpendingControlResponseVO
Create card spending control
546 547 548 549 |
# File 'lib/integration_api/api/card_api.rb', line 546 def create_card_spending_control_using_post(request, opts = {}) data, _status_code, _headers = create_card_spending_control_using_post_with_http_info(request, opts) data end |
#create_card_spending_control_using_post_with_http_info(request, opts = {}) ⇒ Array<(CardSpendingControlResponseVO, Fixnum, Hash)>
Create card spending control
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 592 593 |
# File 'lib/integration_api/api/card_api.rb', line 555 def create_card_spending_control_using_post_with_http_info(request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_card_spending_control_using_post ...' end # verify the required parameter 'request' is set if @api_client.config.client_side_validation && request.nil? fail ArgumentError, "Missing the required parameter 'request' when calling CardApi.create_card_spending_control_using_post" end # resource path local_var_path = '/card/spending_control' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(request) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'CardSpendingControlResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_card_spending_control_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_card_suspend_using_post(suspend_request, opts = {}) ⇒ BaseResponseVO
suspend card
598 599 600 601 |
# File 'lib/integration_api/api/card_api.rb', line 598 def create_card_suspend_using_post(suspend_request, opts = {}) data, _status_code, _headers = create_card_suspend_using_post_with_http_info(suspend_request, opts) data end |
#create_card_suspend_using_post_with_http_info(suspend_request, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
suspend card
607 608 609 610 611 612 613 614 615 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 |
# File 'lib/integration_api/api/card_api.rb', line 607 def create_card_suspend_using_post_with_http_info(suspend_request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_card_suspend_using_post ...' end # verify the required parameter 'suspend_request' is set if @api_client.config.client_side_validation && suspend_request.nil? fail ArgumentError, "Missing the required parameter 'suspend_request' when calling CardApi.create_card_suspend_using_post" end # resource path local_var_path = '/card/suspend' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(suspend_request) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'BaseResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_card_suspend_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_card_token_using_post(tokenize_request, opts = {}) ⇒ CardTokenResponseVO
token card
650 651 652 653 |
# File 'lib/integration_api/api/card_api.rb', line 650 def create_card_token_using_post(tokenize_request, opts = {}) data, _status_code, _headers = create_card_token_using_post_with_http_info(tokenize_request, opts) data end |
#create_card_token_using_post_with_http_info(tokenize_request, opts = {}) ⇒ Array<(CardTokenResponseVO, Fixnum, Hash)>
token card
659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 |
# File 'lib/integration_api/api/card_api.rb', line 659 def create_card_token_using_post_with_http_info(tokenize_request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_card_token_using_post ...' end # verify the required parameter 'tokenize_request' is set if @api_client.config.client_side_validation && tokenize_request.nil? fail ArgumentError, "Missing the required parameter 'tokenize_request' when calling CardApi.create_card_token_using_post" end # resource path local_var_path = '/card/token' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(tokenize_request) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'CardTokenResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_card_token_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_card_unload_using_post(reload_request, opts = {}) ⇒ CardLoadUnloadResponseVO
Create a card upload
702 703 704 705 |
# File 'lib/integration_api/api/card_api.rb', line 702 def create_card_unload_using_post(reload_request, opts = {}) data, _status_code, _headers = create_card_unload_using_post_with_http_info(reload_request, opts) data end |
#create_card_unload_using_post_with_http_info(reload_request, opts = {}) ⇒ Array<(CardLoadUnloadResponseVO, Fixnum, Hash)>
Create a card upload
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 |
# File 'lib/integration_api/api/card_api.rb', line 711 def create_card_unload_using_post_with_http_info(reload_request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_card_unload_using_post ...' end # verify the required parameter 'reload_request' is set if @api_client.config.client_side_validation && reload_request.nil? fail ArgumentError, "Missing the required parameter 'reload_request' when calling CardApi.create_card_unload_using_post" end # resource path local_var_path = '/card/unload' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(reload_request) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'CardLoadUnloadResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_card_unload_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_client_card_using_post(card_client_request_co, opts = {}) ⇒ CreateCardClientResponseVO
Create a card client
754 755 756 757 |
# File 'lib/integration_api/api/card_api.rb', line 754 def create_client_card_using_post(card_client_request_co, opts = {}) data, _status_code, _headers = create_client_card_using_post_with_http_info(card_client_request_co, opts) data end |
#create_client_card_using_post_with_http_info(card_client_request_co, opts = {}) ⇒ Array<(CreateCardClientResponseVO, Fixnum, Hash)>
Create a card client
763 764 765 766 767 768 769 770 771 772 773 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 |
# File 'lib/integration_api/api/card_api.rb', line 763 def create_client_card_using_post_with_http_info(card_client_request_co, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.create_client_card_using_post ...' end # verify the required parameter 'card_client_request_co' is set if @api_client.config.client_side_validation && card_client_request_co.nil? fail ArgumentError, "Missing the required parameter 'card_client_request_co' when calling CardApi.create_client_card_using_post" end # resource path local_var_path = '/card/client' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(card_client_request_co) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'CreateCardClientResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#create_client_card_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_card_balance_using_get(id, opts = {}) ⇒ CardBalanceResponseVO
Get a Card Balance
808 809 810 811 |
# File 'lib/integration_api/api/card_api.rb', line 808 def get_card_balance_using_get(id, opts = {}) data, _status_code, _headers = get_card_balance_using_get_with_http_info(id, opts) data end |
#get_card_balance_using_get_with_http_info(id, opts = {}) ⇒ Array<(CardBalanceResponseVO, Fixnum, Hash)>
Get a Card Balance
819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 |
# File 'lib/integration_api/api/card_api.rb', line 819 def get_card_balance_using_get_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.get_card_balance_using_get ...' 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 CardApi.get_card_balance_using_get" end # resource path local_var_path = '/card/balance/{id}'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil? query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'CardBalanceResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#get_card_balance_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_card_image(card_id, opts = {}) ⇒ GetCardImageResponseVO
Get card image
862 863 864 865 |
# File 'lib/integration_api/api/card_api.rb', line 862 def get_card_image(card_id, opts = {}) data, _status_code, _headers = get_card_image_with_http_info(card_id, opts) data end |
#get_card_image_with_http_info(card_id, opts = {}) ⇒ Array<(GetCardImageResponseVO, Fixnum, Hash)>
Get card image
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 |
# File 'lib/integration_api/api/card_api.rb', line 871 def get_card_image_with_http_info(card_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.get_card_image ...' end # verify the required parameter 'card_id' is set if @api_client.config.client_side_validation && card_id.nil? fail ArgumentError, "Missing the required parameter 'card_id' when calling CardApi.get_card_image" end # resource path local_var_path = '/card/image/{card_id}'.sub('{' + 'card_id' + '}', card_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'GetCardImageResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#get_card_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_card_pci_details(card_id, opts = {}) ⇒ GetCardPciDetailsResponseVO
Get card pci details
912 913 914 915 |
# File 'lib/integration_api/api/card_api.rb', line 912 def get_card_pci_details(card_id, opts = {}) data, _status_code, _headers = get_card_pci_details_with_http_info(card_id, opts) data end |
#get_card_pci_details_with_http_info(card_id, opts = {}) ⇒ Array<(GetCardPciDetailsResponseVO, Fixnum, Hash)>
Get card pci details
921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 |
# File 'lib/integration_api/api/card_api.rb', line 921 def get_card_pci_details_with_http_info(card_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.get_card_pci_details ...' end # verify the required parameter 'card_id' is set if @api_client.config.client_side_validation && card_id.nil? fail ArgumentError, "Missing the required parameter 'card_id' when calling CardApi.get_card_pci_details" end # resource path local_var_path = '/card/pci_details/{card_id}'.sub('{' + 'card_id' + '}', card_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'GetCardPciDetailsResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#get_card_pci_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_card_reserve_account_details_using_get(opts = {}) ⇒ CardReserveAccountResponseVO
Card reserve account
961 962 963 964 |
# File 'lib/integration_api/api/card_api.rb', line 961 def get_card_reserve_account_details_using_get(opts = {}) data, _status_code, _headers = get_card_reserve_account_details_using_get_with_http_info(opts) data end |
#get_card_reserve_account_details_using_get_with_http_info(opts = {}) ⇒ Array<(CardReserveAccountResponseVO, Fixnum, Hash)>
Card reserve account
969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 |
# File 'lib/integration_api/api/card_api.rb', line 969 def get_card_reserve_account_details_using_get_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.get_card_reserve_account_details_using_get ...' end # resource path local_var_path = '/card/reserve' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'CardReserveAccountResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#get_card_reserve_account_details_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_card_statement_using_get(card_id, opts = {}) ⇒ GetCardStatementResponseVO
Get card statement
1008 1009 1010 1011 |
# File 'lib/integration_api/api/card_api.rb', line 1008 def get_card_statement_using_get(card_id, opts = {}) data, _status_code, _headers = get_card_statement_using_get_with_http_info(card_id, opts) data end |
#get_card_statement_using_get_with_http_info(card_id, opts = {}) ⇒ Array<(GetCardStatementResponseVO, Fixnum, Hash)>
Get card statement
1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 |
# File 'lib/integration_api/api/card_api.rb', line 1019 def get_card_statement_using_get_with_http_info(card_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.get_card_statement_using_get ...' end # verify the required parameter 'card_id' is set if @api_client.config.client_side_validation && card_id.nil? fail ArgumentError, "Missing the required parameter 'card_id' when calling CardApi.get_card_statement_using_get" end # resource path local_var_path = '/card/statement/{card_id}'.sub('{' + 'card_id' + '}', card_id.to_s) # query parameters query_params = {} query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil? query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'GetCardStatementResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#get_card_statement_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_card_token_using_token(id, opts = {}) ⇒ Array<GetCardTokenResponseVO>
Get a card token
1065 1066 1067 1068 |
# File 'lib/integration_api/api/card_api.rb', line 1065 def get_card_token_using_token(id, opts = {}) data, _status_code, _headers = get_card_token_using_token_with_http_info(id, opts) data end |
#get_card_token_using_token_with_http_info(id, opts = {}) ⇒ Array<(Array<GetCardTokenResponseVO>, Fixnum, Hash)>
Get a card token
1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 |
# File 'lib/integration_api/api/card_api.rb', line 1077 def get_card_token_using_token_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.get_card_token_using_token ...' 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 CardApi.get_card_token_using_token" end if @api_client.config.client_side_validation && opts[:'device_type'] && !['watch', 'mobile_phone', 'tablet', 'gaming_device', 'vehicle', 'appliance', 'laptop'].include?(opts[:'device_type']) fail ArgumentError, 'invalid value for "device_type", must be one of watch, mobile_phone, tablet, gaming_device, vehicle, appliance, laptop' end if @api_client.config.client_side_validation && opts[:'wallet'] && !['google', 'apple', 'samsung'].include?(opts[:'wallet']) fail ArgumentError, 'invalid value for "wallet", must be one of google, apple, samsung' end # resource path local_var_path = '/card/token/{id}'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} query_params[:'device_id'] = opts[:'device_id'] if !opts[:'device_id'].nil? query_params[:'device_type'] = opts[:'device_type'] if !opts[:'device_type'].nil? query_params[:'wallet'] = opts[:'wallet'] if !opts[:'wallet'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Array<GetCardTokenResponseVO>') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#get_card_token_using_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_card_transaction_using_get(id, opts = {}) ⇒ CardTransactionResponseVO
Get a card transaction
1129 1130 1131 1132 |
# File 'lib/integration_api/api/card_api.rb', line 1129 def get_card_transaction_using_get(id, opts = {}) data, _status_code, _headers = get_card_transaction_using_get_with_http_info(id, opts) data end |
#get_card_transaction_using_get_with_http_info(id, opts = {}) ⇒ Array<(CardTransactionResponseVO, Fixnum, Hash)>
Get a card transaction
1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 |
# File 'lib/integration_api/api/card_api.rb', line 1140 def get_card_transaction_using_get_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.get_card_transaction_using_get ...' 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 CardApi.get_card_transaction_using_get" end # resource path local_var_path = '/card/transaction/{id}'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil? query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'CardTransactionResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#get_card_transaction_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_card_using_get(id, opts = {}) ⇒ BaseResponseVO
Get a card information
1183 1184 1185 1186 |
# File 'lib/integration_api/api/card_api.rb', line 1183 def get_card_using_get(id, opts = {}) data, _status_code, _headers = get_card_using_get_with_http_info(id, opts) data end |
#get_card_using_get_with_http_info(id, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
Get a card information
1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 |
# File 'lib/integration_api/api/card_api.rb', line 1192 def get_card_using_get_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.get_card_using_get ...' 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 CardApi.get_card_using_get" end # resource path local_var_path = '/card/{id}'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'BaseResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#get_card_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#update_card_business_using_put(nucleus_business_id, opts = {}) ⇒ UpdateBusinessResponseVO
Update a card business
1233 1234 1235 1236 |
# File 'lib/integration_api/api/card_api.rb', line 1233 def update_card_business_using_put(nucleus_business_id, opts = {}) data, _status_code, _headers = update_card_business_using_put_with_http_info(nucleus_business_id, opts) data end |
#update_card_business_using_put_with_http_info(nucleus_business_id, opts = {}) ⇒ Array<(UpdateBusinessResponseVO, Fixnum, Hash)>
Update a card business
1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 |
# File 'lib/integration_api/api/card_api.rb', line 1242 def update_card_business_using_put_with_http_info(nucleus_business_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.update_card_business_using_put ...' end # verify the required parameter 'nucleus_business_id' is set if @api_client.config.client_side_validation && nucleus_business_id.nil? fail ArgumentError, "Missing the required parameter 'nucleus_business_id' when calling CardApi.update_card_business_using_put" end # resource path local_var_path = '/card/business/{nucleus_business_id}'.sub('{' + 'nucleus_business_id' + '}', nucleus_business_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'UpdateBusinessResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#update_card_business_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#update_card_pin_using_post(card_pin_request_co, id, opts = {}) ⇒ BaseResponseVO
update a pin card
1286 1287 1288 1289 |
# File 'lib/integration_api/api/card_api.rb', line 1286 def update_card_pin_using_post(card_pin_request_co, id, opts = {}) data, _status_code, _headers = update_card_pin_using_post_with_http_info(card_pin_request_co, id, opts) data end |
#update_card_pin_using_post_with_http_info(card_pin_request_co, id, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
update a pin card
1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 |
# File 'lib/integration_api/api/card_api.rb', line 1296 def update_card_pin_using_post_with_http_info(card_pin_request_co, id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.update_card_pin_using_post ...' end # verify the required parameter 'card_pin_request_co' is set if @api_client.config.client_side_validation && card_pin_request_co.nil? fail ArgumentError, "Missing the required parameter 'card_pin_request_co' when calling CardApi.update_card_pin_using_post" 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 CardApi.update_card_pin_using_post" end # resource path local_var_path = '/card/pin/{id}'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(card_pin_request_co) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'BaseResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#update_card_pin_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#update_card_spending_control_using_put(nucleus_spending_control_id, opts = {}) ⇒ CardSpendingControlResponseVO
Update a card spending control
1343 1344 1345 1346 |
# File 'lib/integration_api/api/card_api.rb', line 1343 def update_card_spending_control_using_put(nucleus_spending_control_id, opts = {}) data, _status_code, _headers = update_card_spending_control_using_put_with_http_info(nucleus_spending_control_id, opts) data end |
#update_card_spending_control_using_put_with_http_info(nucleus_spending_control_id, opts = {}) ⇒ Array<(CardSpendingControlResponseVO, Fixnum, Hash)>
Update a card spending control
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 |
# File 'lib/integration_api/api/card_api.rb', line 1352 def update_card_spending_control_using_put_with_http_info(nucleus_spending_control_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.update_card_spending_control_using_put ...' end # verify the required parameter 'nucleus_spending_control_id' is set if @api_client.config.client_side_validation && nucleus_spending_control_id.nil? fail ArgumentError, "Missing the required parameter 'nucleus_spending_control_id' when calling CardApi.update_card_spending_control_using_put" end # resource path local_var_path = '/card/spending_control/{nucleus_spending_control_id}'.sub('{' + 'nucleus_spending_control_id' + '}', nucleus_spending_control_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'CardSpendingControlResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#update_card_spending_control_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#update_card_using_put(id, opts = {}) ⇒ BaseResponseVO
Update a card information
1395 1396 1397 1398 |
# File 'lib/integration_api/api/card_api.rb', line 1395 def update_card_using_put(id, opts = {}) data, _status_code, _headers = update_card_using_put_with_http_info(id, opts) data end |
#update_card_using_put_with_http_info(id, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
Update a card information
1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 |
# File 'lib/integration_api/api/card_api.rb', line 1404 def update_card_using_put_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.update_card_using_put ...' 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 CardApi.update_card_using_put" end # resource path local_var_path = '/card/{id}'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'BaseResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#update_card_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#update_client_card_using_put(id, opts = {}) ⇒ UpdateCardClientResponseVO
Update a card client
1447 1448 1449 1450 |
# File 'lib/integration_api/api/card_api.rb', line 1447 def update_client_card_using_put(id, opts = {}) data, _status_code, _headers = update_client_card_using_put_with_http_info(id, opts) data end |
#update_client_card_using_put_with_http_info(id, opts = {}) ⇒ Array<(UpdateCardClientResponseVO, Fixnum, Hash)>
Update a card client
1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 |
# File 'lib/integration_api/api/card_api.rb', line 1456 def update_client_card_using_put_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.update_client_card_using_put ...' 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 CardApi.update_client_card_using_put" end # resource path local_var_path = '/card/client/{id}'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'UpdateCardClientResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#update_client_card_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#verify_card_pin_using_post(card_pin_request_co, opts = {}) ⇒ BaseResponseVO
verify card pin
1499 1500 1501 1502 |
# File 'lib/integration_api/api/card_api.rb', line 1499 def verify_card_pin_using_post(card_pin_request_co, opts = {}) data, _status_code, _headers = verify_card_pin_using_post_with_http_info(card_pin_request_co, opts) data end |
#verify_card_pin_using_post_with_http_info(card_pin_request_co, opts = {}) ⇒ Array<(BaseResponseVO, Fixnum, Hash)>
verify card pin
1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 |
# File 'lib/integration_api/api/card_api.rb', line 1508 def verify_card_pin_using_post_with_http_info(card_pin_request_co, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: CardApi.verify_card_pin_using_post ...' end # verify the required parameter 'card_pin_request_co' is set if @api_client.config.client_side_validation && card_pin_request_co.nil? fail ArgumentError, "Missing the required parameter 'card_pin_request_co' when calling CardApi.verify_card_pin_using_post" end # resource path local_var_path = '/card/pin/verify' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(card_pin_request_co) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'BaseResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: CardApi#verify_card_pin_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |