wire4_client 1.1.3 → 1.1.4
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/Gemfile +1 -1
- data/README.md +28 -1
- data/docs/AccountReassigned.md +1 -1
- data/docs/AccountResponse.md +1 -0
- data/docs/BeneficiaryDTO.md +10 -0
- data/docs/CargosRecurrentesApi.md +110 -0
- data/docs/CepResponse.md +1 -0
- data/docs/CepSearchBanxico.md +1 -0
- data/docs/CertificateRequest.md +1 -1
- data/docs/CodiCodeQrResponseDTO.md +1 -0
- data/docs/CodiCodeRequestDTO.md +6 -3
- data/docs/ConfirmRecurringCharge.md +9 -0
- data/docs/CuentasDeBeneficiariosSPEIApi.md +4 -0
- data/docs/CuentasDeBeneficiariosSPIDApi.md +4 -0
- data/docs/Customer.md +9 -0
- data/docs/Deposit.md +1 -0
- data/docs/Depositant.md +1 -0
- data/docs/DepositantCountResponse.md +8 -0
- data/docs/DepositantesApi.md +164 -1
- data/docs/FailedChargesDataDTO.md +13 -0
- data/docs/MessageDepositReceived.md +3 -0
- data/docs/PaymentRequestReportDTO.md +17 -0
- data/docs/PaymentRequestReq.md +18 -0
- data/docs/PaymentRequestResponse.md +10 -0
- data/docs/PaymentsSpeiAndSpidOrderId.md +9 -0
- data/docs/PaymentsSpeiAndSpidRequestId.md +12 -0
- data/docs/Person.md +1 -1
- data/docs/Product.md +11 -0
- data/docs/RecurringChargeRequest.md +14 -0
- data/docs/ReporteDeSolicitudesDePagosApi.md +107 -0
- data/docs/SolicitudDePagosApi.md +59 -0
- data/docs/SpidBeneficiaryResponse.md +1 -0
- data/docs/SuccessChargesDataDTO.md +12 -0
- data/docs/SuccessDataDTO.md +9 -0
- data/docs/TransactionSpeiSpid.md +15 -0
- data/docs/TransactionsRegister.md +11 -0
- data/docs/TransferenciasSPEIApi.md +163 -0
- data/lib/wire4_client/api/cargos_recurrentes_api.rb +143 -0
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spei_api.rb +6 -0
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spid_api.rb +6 -0
- data/lib/wire4_client/api/depositantes_api.rb +138 -4
- data/lib/wire4_client/api/reporte_de_solicitudes_de_pagos_api.rb +134 -0
- data/lib/wire4_client/api/solicitud_de_pagos_api.rb +84 -0
- data/lib/wire4_client/api/transferencias_spei_api.rb +234 -4
- data/lib/wire4_client/models/account_reassigned.rb +11 -11
- data/lib/wire4_client/models/account_response.rb +11 -1
- data/lib/wire4_client/models/amount_request.rb +10 -10
- data/lib/wire4_client/models/beneficiary_dto.rb +201 -0
- data/lib/wire4_client/models/cep_response.rb +45 -1
- data/lib/wire4_client/models/cep_search_banxico.rb +48 -4
- data/lib/wire4_client/models/certificate_request.rb +6 -15
- data/lib/wire4_client/models/codi_code_qr_response_dto.rb +15 -5
- data/lib/wire4_client/models/codi_code_request_dto.rb +94 -20
- data/lib/wire4_client/models/codi_operations_filters_request_dto.rb +2 -2
- data/lib/wire4_client/models/confirm_recurring_charge.rb +194 -0
- data/lib/wire4_client/models/customer.rb +205 -0
- data/lib/wire4_client/models/deposit.rb +48 -4
- data/lib/wire4_client/models/depositant.rb +14 -4
- data/lib/wire4_client/models/failed_charges_data_dto.rb +228 -0
- data/lib/wire4_client/models/message_deposit_received.rb +31 -1
- data/lib/wire4_client/models/operations.rb +4 -4
- data/lib/wire4_client/models/payment_codi.rb +2 -2
- data/lib/wire4_client/models/payment_request_report_dto.rb +300 -0
- data/lib/wire4_client/models/payment_request_req.rb +401 -0
- data/lib/wire4_client/models/payment_request_response.rb +204 -0
- data/lib/wire4_client/models/payments_spei_and_spid_order_id.rb +199 -0
- data/lib/wire4_client/models/payments_spei_and_spid_request_id.rb +229 -0
- data/lib/wire4_client/models/person.rb +0 -5
- data/lib/wire4_client/models/product.rb +288 -0
- data/lib/wire4_client/models/recurring_charge_request.rb +278 -0
- data/lib/wire4_client/models/sales_point_request.rb +5 -5
- data/lib/wire4_client/models/spid_beneficiary_response.rb +11 -1
- data/lib/wire4_client/models/success_charges_data_dto.rb +219 -0
- data/lib/wire4_client/models/success_data_dto.rb +226 -0
- data/lib/wire4_client/models/transaction_outgoing.rb +5 -5
- data/lib/wire4_client/models/transaction_spei_spid.rb +390 -0
- data/lib/wire4_client/models/transactions_register.rb +229 -0
- data/lib/wire4_client/version.rb +1 -1
- data/lib/wire4_client.rb +18 -0
- data/spec/api/cargos_recurrentes_api_spec.rb +61 -0
- data/spec/api/cuentas_de_beneficiarios_spei_api_spec.rb +2 -0
- data/spec/api/cuentas_de_beneficiarios_spid_api_spec.rb +2 -0
- data/spec/api/depositantes_api_spec.rb +42 -1
- data/spec/api/reporte_de_solicitudes_de_pagos_api_spec.rb +59 -0
- data/spec/api/solicitud_de_pagos_api_spec.rb +48 -0
- data/spec/api/transferencias_spei_api_spec.rb +42 -0
- data/spec/models/account_reassigned_spec.rb +3 -3
- data/spec/models/account_response_spec.rb +6 -0
- data/spec/models/beneficiary_dto_spec.rb +53 -0
- data/spec/models/cep_response_spec.rb +10 -0
- data/spec/models/cep_search_banxico_spec.rb +10 -0
- data/spec/models/codi_code_qr_response_dto_spec.rb +8 -2
- data/spec/models/codi_code_request_dto_spec.rb +23 -1
- data/spec/models/codi_operations_filters_request_dto_spec.rb +1 -1
- data/spec/models/confirm_recurring_charge_spec.rb +47 -0
- data/spec/models/customer_spec.rb +47 -0
- data/spec/models/deposit_spec.rb +10 -0
- data/spec/models/depositant_count_response_spec.rb +41 -0
- data/spec/models/depositant_spec.rb +6 -0
- data/spec/models/failed_charges_data_dto_spec.rb +71 -0
- data/spec/models/message_deposit_received_spec.rb +18 -0
- data/spec/models/operations_spec.rb +2 -2
- data/spec/models/payment_codi_spec.rb +1 -1
- data/spec/models/payment_request_report_dto_spec.rb +99 -0
- data/spec/models/payment_request_req_spec.rb +109 -0
- data/spec/models/payment_request_response_spec.rb +53 -0
- data/spec/models/payments_spei_and_spid_order_id_spec.rb +47 -0
- data/spec/models/payments_spei_and_spid_request_id_spec.rb +65 -0
- data/spec/models/product_spec.rb +63 -0
- data/spec/models/recurring_charge_request_spec.rb +77 -0
- data/spec/models/spid_beneficiary_response_spec.rb +6 -0
- data/spec/models/success_charges_data_dto_spec.rb +65 -0
- data/spec/models/success_data_dto_spec.rb +51 -0
- data/spec/models/transaction_spei_spid_spec.rb +83 -0
- data/spec/models/transactions_register_spec.rb +59 -0
- data/wire4_client-1.1.3.gem +0 -0
- data/wire4_client.gemspec +7 -7
- metadata +107 -55
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Wire4RestAPI
|
|
3
|
+
|
|
4
|
+
#Referencia de la API de Wire4
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.10
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'uri'
|
|
14
|
+
|
|
15
|
+
module Wire4Client
|
|
16
|
+
class CargosRecurrentesApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Cancelación/desubscripción de cargos recurrentes
|
|
23
|
+
# Se solicita la desuscripción de un cargo recurrente activo. En el request llevará el orderId que identifica el cargo recurrente a eliminar/dar de baja se deshabilitará tanto de openpay como del sistem wire4.<br> Nota: Debe considerar que para hacer uso de esta funcionalidad debe contar con un scope especial
|
|
24
|
+
# @param authorization Header para token
|
|
25
|
+
# @param order_id orderId
|
|
26
|
+
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @return [ConfirmRecurringCharge]
|
|
28
|
+
def delete_recurring_charge_using_delete(authorization, order_id, opts = {})
|
|
29
|
+
data, _status_code, _headers = delete_recurring_charge_using_delete_with_http_info(authorization, order_id, opts)
|
|
30
|
+
data
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Cancelación/desubscripción de cargos recurrentes
|
|
34
|
+
# Se solicita la desuscripción de un cargo recurrente activo. En el request llevará el orderId que identifica el cargo recurrente a eliminar/dar de baja se deshabilitará tanto de openpay como del sistem wire4.<br> Nota: Debe considerar que para hacer uso de esta funcionalidad debe contar con un scope especial
|
|
35
|
+
# @param authorization Header para token
|
|
36
|
+
# @param order_id orderId
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @return [Array<(ConfirmRecurringCharge, Fixnum, Hash)>] ConfirmRecurringCharge data, response status code and response headers
|
|
39
|
+
def delete_recurring_charge_using_delete_with_http_info(authorization, order_id, opts = {})
|
|
40
|
+
if @api_client.config.debugging
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: CargosRecurrentesApi.delete_recurring_charge_using_delete ...'
|
|
42
|
+
end
|
|
43
|
+
# verify the required parameter 'authorization' is set
|
|
44
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling CargosRecurrentesApi.delete_recurring_charge_using_delete"
|
|
46
|
+
end
|
|
47
|
+
# verify the required parameter 'order_id' is set
|
|
48
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling CargosRecurrentesApi.delete_recurring_charge_using_delete"
|
|
50
|
+
end
|
|
51
|
+
# resource path
|
|
52
|
+
local_var_path = '/recurring-charge/{orderId}'.sub('{' + 'orderId' + '}', order_id.to_s)
|
|
53
|
+
|
|
54
|
+
# query parameters
|
|
55
|
+
query_params = {}
|
|
56
|
+
|
|
57
|
+
# header parameters
|
|
58
|
+
header_params = {}
|
|
59
|
+
# HTTP header 'Accept' (if needed)
|
|
60
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
61
|
+
header_params[:'Authorization'] = authorization
|
|
62
|
+
|
|
63
|
+
# form parameters
|
|
64
|
+
form_params = {}
|
|
65
|
+
|
|
66
|
+
# http body (model)
|
|
67
|
+
post_body = nil
|
|
68
|
+
auth_names = []
|
|
69
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
70
|
+
:header_params => header_params,
|
|
71
|
+
:query_params => query_params,
|
|
72
|
+
:form_params => form_params,
|
|
73
|
+
:body => post_body,
|
|
74
|
+
:auth_names => auth_names,
|
|
75
|
+
:return_type => 'ConfirmRecurringCharge')
|
|
76
|
+
if @api_client.config.debugging
|
|
77
|
+
@api_client.config.logger.debug "API called: CargosRecurrentesApi#delete_recurring_charge_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
78
|
+
end
|
|
79
|
+
return data, status_code, headers
|
|
80
|
+
end
|
|
81
|
+
# Registro de cargos recurrentes
|
|
82
|
+
# Se registra una solicitud para generar un plan de cargos recurrentes. En la respuesta se proporcionará una dirección URL que lo llevará al sitio donde se le solicitará ingresar los datos de tarjeta a la que se aplicarán los cargos de acuerdo al plan seleccionado.<br> Nota: Debe considerar que para hacer uso de esta funcionalidad debe contar con un scope especial
|
|
83
|
+
# @param authorization Header para token
|
|
84
|
+
# @param request_recurring_charge Información de la solicitud para aplicar cargos recurrentes
|
|
85
|
+
# @param [Hash] opts the optional parameters
|
|
86
|
+
# @return [ConfirmRecurringCharge]
|
|
87
|
+
def register_recurring_charge_using_post(authorization, request_recurring_charge, opts = {})
|
|
88
|
+
data, _status_code, _headers = register_recurring_charge_using_post_with_http_info(authorization, request_recurring_charge, opts)
|
|
89
|
+
data
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Registro de cargos recurrentes
|
|
93
|
+
# Se registra una solicitud para generar un plan de cargos recurrentes. En la respuesta se proporcionará una dirección URL que lo llevará al sitio donde se le solicitará ingresar los datos de tarjeta a la que se aplicarán los cargos de acuerdo al plan seleccionado.<br> Nota: Debe considerar que para hacer uso de esta funcionalidad debe contar con un scope especial
|
|
94
|
+
# @param authorization Header para token
|
|
95
|
+
# @param request_recurring_charge Información de la solicitud para aplicar cargos recurrentes
|
|
96
|
+
# @param [Hash] opts the optional parameters
|
|
97
|
+
# @return [Array<(ConfirmRecurringCharge, Fixnum, Hash)>] ConfirmRecurringCharge data, response status code and response headers
|
|
98
|
+
def register_recurring_charge_using_post_with_http_info(authorization, request_recurring_charge, opts = {})
|
|
99
|
+
if @api_client.config.debugging
|
|
100
|
+
@api_client.config.logger.debug 'Calling API: CargosRecurrentesApi.register_recurring_charge_using_post ...'
|
|
101
|
+
end
|
|
102
|
+
# verify the required parameter 'authorization' is set
|
|
103
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
|
104
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling CargosRecurrentesApi.register_recurring_charge_using_post"
|
|
105
|
+
end
|
|
106
|
+
# verify the required parameter 'request_recurring_charge' is set
|
|
107
|
+
if @api_client.config.client_side_validation && request_recurring_charge.nil?
|
|
108
|
+
fail ArgumentError, "Missing the required parameter 'request_recurring_charge' when calling CargosRecurrentesApi.register_recurring_charge_using_post"
|
|
109
|
+
end
|
|
110
|
+
# resource path
|
|
111
|
+
local_var_path = '/recurring-charge'
|
|
112
|
+
|
|
113
|
+
# query parameters
|
|
114
|
+
query_params = {}
|
|
115
|
+
|
|
116
|
+
# header parameters
|
|
117
|
+
header_params = {}
|
|
118
|
+
# HTTP header 'Accept' (if needed)
|
|
119
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
120
|
+
# HTTP header 'Content-Type'
|
|
121
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
122
|
+
header_params[:'Authorization'] = authorization
|
|
123
|
+
|
|
124
|
+
# form parameters
|
|
125
|
+
form_params = {}
|
|
126
|
+
|
|
127
|
+
# http body (model)
|
|
128
|
+
post_body = @api_client.object_to_http_body(request_recurring_charge)
|
|
129
|
+
auth_names = []
|
|
130
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
131
|
+
:header_params => header_params,
|
|
132
|
+
:query_params => query_params,
|
|
133
|
+
:form_params => form_params,
|
|
134
|
+
:body => post_body,
|
|
135
|
+
:auth_names => auth_names,
|
|
136
|
+
:return_type => 'ConfirmRecurringCharge')
|
|
137
|
+
if @api_client.config.debugging
|
|
138
|
+
@api_client.config.logger.debug "API called: CargosRecurrentesApi#register_recurring_charge_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
139
|
+
end
|
|
140
|
+
return data, status_code, headers
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
end
|
|
@@ -352,7 +352,9 @@ module Wire4Client
|
|
|
352
352
|
# @option opts [String] :beneficiary_name Es el nombre del beneficiario.
|
|
353
353
|
# @option opts [String] :end_date Es la fecha de inicio del perido a filtrar en formato dd-mm-yyyy.
|
|
354
354
|
# @option opts [String] :init_date Es la fºecha de inicio del perido a filtrar en formato dd-mm-yyyy.
|
|
355
|
+
# @option opts [String] :page Es el número de página. (default to 0)
|
|
355
356
|
# @option opts [String] :rfc Es el Registro Federal de Controbuyentes (RFC) del beneficiario.
|
|
357
|
+
# @option opts [String] :size Es el tamaño de página. (default to 20)
|
|
356
358
|
# @option opts [String] :status Es el estado (estatus) de la cuenta. Los valores pueden ser <b>PENDING</b> y <b>REGISTERED</b>.
|
|
357
359
|
# @return [BeneficiariesResponse]
|
|
358
360
|
def get_beneficiaries_for_account_using_get(authorization, subscription, opts = {})
|
|
@@ -370,7 +372,9 @@ module Wire4Client
|
|
|
370
372
|
# @option opts [String] :beneficiary_name Es el nombre del beneficiario.
|
|
371
373
|
# @option opts [String] :end_date Es la fecha de inicio del perido a filtrar en formato dd-mm-yyyy.
|
|
372
374
|
# @option opts [String] :init_date Es la fºecha de inicio del perido a filtrar en formato dd-mm-yyyy.
|
|
375
|
+
# @option opts [String] :page Es el número de página.
|
|
373
376
|
# @option opts [String] :rfc Es el Registro Federal de Controbuyentes (RFC) del beneficiario.
|
|
377
|
+
# @option opts [String] :size Es el tamaño de página.
|
|
374
378
|
# @option opts [String] :status Es el estado (estatus) de la cuenta. Los valores pueden ser <b>PENDING</b> y <b>REGISTERED</b>.
|
|
375
379
|
# @return [Array<(BeneficiariesResponse, Fixnum, Hash)>] BeneficiariesResponse data, response status code and response headers
|
|
376
380
|
def get_beneficiaries_for_account_using_get_with_http_info(authorization, subscription, opts = {})
|
|
@@ -407,7 +411,9 @@ module Wire4Client
|
|
|
407
411
|
query_params[:'beneficiary_name'] = opts[:'beneficiary_name'] if !opts[:'beneficiary_name'].nil?
|
|
408
412
|
query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
|
409
413
|
query_params[:'init_date'] = opts[:'init_date'] if !opts[:'init_date'].nil?
|
|
414
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
410
415
|
query_params[:'rfc'] = opts[:'rfc'] if !opts[:'rfc'].nil?
|
|
416
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
411
417
|
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
|
412
418
|
|
|
413
419
|
# header parameters
|
|
@@ -29,7 +29,9 @@ module Wire4Client
|
|
|
29
29
|
# @option opts [String] :beneficiary_name Es el nombre del beneficiario.
|
|
30
30
|
# @option opts [String] :end_date Es la fecha de inicio del periodo a filtrar en formato dd-mm-yyyy.
|
|
31
31
|
# @option opts [String] :init_date Es la fecha de inicio del periodo a filtrar en formato dd-mm-yyyy.
|
|
32
|
+
# @option opts [String] :page Es el número de página. (default to 0)
|
|
32
33
|
# @option opts [String] :rfc Es el Registro Federal de Contribuyentes (RFC) del beneficiario.
|
|
34
|
+
# @option opts [String] :size Es el tamaño de página. (default to 20)
|
|
33
35
|
# @option opts [String] :status Es el estado (estatus) de la cuenta, Los valores pueden ser <b>PENDING</b> y <b>REGISTERED</b>.
|
|
34
36
|
# @return [SpidBeneficiariesResponse]
|
|
35
37
|
def get_spid_beneficiaries_for_account(authorization, subscription, opts = {})
|
|
@@ -47,7 +49,9 @@ module Wire4Client
|
|
|
47
49
|
# @option opts [String] :beneficiary_name Es el nombre del beneficiario.
|
|
48
50
|
# @option opts [String] :end_date Es la fecha de inicio del periodo a filtrar en formato dd-mm-yyyy.
|
|
49
51
|
# @option opts [String] :init_date Es la fecha de inicio del periodo a filtrar en formato dd-mm-yyyy.
|
|
52
|
+
# @option opts [String] :page Es el número de página.
|
|
50
53
|
# @option opts [String] :rfc Es el Registro Federal de Contribuyentes (RFC) del beneficiario.
|
|
54
|
+
# @option opts [String] :size Es el tamaño de página.
|
|
51
55
|
# @option opts [String] :status Es el estado (estatus) de la cuenta, Los valores pueden ser <b>PENDING</b> y <b>REGISTERED</b>.
|
|
52
56
|
# @return [Array<(SpidBeneficiariesResponse, Fixnum, Hash)>] SpidBeneficiariesResponse data, response status code and response headers
|
|
53
57
|
def get_spid_beneficiaries_for_account_with_http_info(authorization, subscription, opts = {})
|
|
@@ -84,7 +88,9 @@ module Wire4Client
|
|
|
84
88
|
query_params[:'beneficiary_name'] = opts[:'beneficiary_name'] if !opts[:'beneficiary_name'].nil?
|
|
85
89
|
query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
|
86
90
|
query_params[:'init_date'] = opts[:'init_date'] if !opts[:'init_date'].nil?
|
|
91
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
87
92
|
query_params[:'rfc'] = opts[:'rfc'] if !opts[:'rfc'].nil?
|
|
93
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
88
94
|
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
|
89
95
|
|
|
90
96
|
# header parameters
|
|
@@ -19,7 +19,7 @@ module Wire4Client
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
#
|
|
22
|
+
# Número de depositantes por suscripción
|
|
23
23
|
# Obtiene la cantidad el total de depositantes asociados al contrato relacionado a la suscripción.
|
|
24
24
|
# @param authorization Header para token
|
|
25
25
|
# @param subscription Es el identificador de la suscripción a esta API.
|
|
@@ -30,7 +30,7 @@ module Wire4Client
|
|
|
30
30
|
data
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
-
#
|
|
33
|
+
# Número de depositantes por suscripción
|
|
34
34
|
# Obtiene la cantidad el total de depositantes asociados al contrato relacionado a la suscripción.
|
|
35
35
|
# @param authorization Header para token
|
|
36
36
|
# @param subscription Es el identificador de la suscripción a esta API.
|
|
@@ -162,7 +162,7 @@ module Wire4Client
|
|
|
162
162
|
return data, status_code, headers
|
|
163
163
|
end
|
|
164
164
|
# Registra un nuevo depositante
|
|
165
|
-
# Registra un nuevo depositante en el contrato asociado a la suscripción.
|
|
165
|
+
# Registra un nuevo depositante en el contrato asociado a la suscripción. Si intenta registrar un depositante que previamente se había registrado, se devolverá la cuenta clabe asociada al Álias que está intentando registrar. Queda bajo responsabilidad del cliente verificar que los álias sean únicos en sus sistemas.
|
|
166
166
|
# @param authorization Header para token
|
|
167
167
|
# @param register Depositant info
|
|
168
168
|
# @param subscription Es el identificador de la suscripción a esta API.
|
|
@@ -174,7 +174,7 @@ module Wire4Client
|
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
# Registra un nuevo depositante
|
|
177
|
-
# Registra un nuevo depositante en el contrato asociado a la suscripción.
|
|
177
|
+
# Registra un nuevo depositante en el contrato asociado a la suscripción. Si intenta registrar un depositante que previamente se había registrado, se devolverá la cuenta clabe asociada al Álias que está intentando registrar. Queda bajo responsabilidad del cliente verificar que los álias sean únicos en sus sistemas.
|
|
178
178
|
# @param authorization Header para token
|
|
179
179
|
# @param register Depositant info
|
|
180
180
|
# @param subscription Es el identificador de la suscripción a esta API.
|
|
@@ -240,5 +240,139 @@ module Wire4Client
|
|
|
240
240
|
end
|
|
241
241
|
return data, status_code, headers
|
|
242
242
|
end
|
|
243
|
+
# Solicitud para actualizar el estado de un depositante sin utilizar la suscripción
|
|
244
|
+
# @param authorization Header para token
|
|
245
|
+
# @param account Es la cuenta que va a ser actualizada.
|
|
246
|
+
# @param action Es la cuenta que va a ser actualizada.
|
|
247
|
+
# @param [Hash] opts the optional parameters
|
|
248
|
+
# @option opts [String] :empty_value Empty value
|
|
249
|
+
# @return [Depositant]
|
|
250
|
+
def update_status_depositants_no_suscrption_using_patch(authorization, account, action, opts = {})
|
|
251
|
+
data, _status_code, _headers = update_status_depositants_no_suscrption_using_patch_with_http_info(authorization, account, action, opts)
|
|
252
|
+
data
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
# Solicitud para actualizar el estado de un depositante sin utilizar la suscripción
|
|
256
|
+
# @param authorization Header para token
|
|
257
|
+
# @param account Es la cuenta que va a ser actualizada.
|
|
258
|
+
# @param action Es la cuenta que va a ser actualizada.
|
|
259
|
+
# @param [Hash] opts the optional parameters
|
|
260
|
+
# @option opts [String] :empty_value Empty value
|
|
261
|
+
# @return [Array<(Depositant, Fixnum, Hash)>] Depositant data, response status code and response headers
|
|
262
|
+
def update_status_depositants_no_suscrption_using_patch_with_http_info(authorization, account, action, opts = {})
|
|
263
|
+
if @api_client.config.debugging
|
|
264
|
+
@api_client.config.logger.debug 'Calling API: DepositantesApi.update_status_depositants_no_suscrption_using_patch ...'
|
|
265
|
+
end
|
|
266
|
+
# verify the required parameter 'authorization' is set
|
|
267
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
|
268
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling DepositantesApi.update_status_depositants_no_suscrption_using_patch"
|
|
269
|
+
end
|
|
270
|
+
# verify the required parameter 'account' is set
|
|
271
|
+
if @api_client.config.client_side_validation && account.nil?
|
|
272
|
+
fail ArgumentError, "Missing the required parameter 'account' when calling DepositantesApi.update_status_depositants_no_suscrption_using_patch"
|
|
273
|
+
end
|
|
274
|
+
# verify the required parameter 'action' is set
|
|
275
|
+
if @api_client.config.client_side_validation && action.nil?
|
|
276
|
+
fail ArgumentError, "Missing the required parameter 'action' when calling DepositantesApi.update_status_depositants_no_suscrption_using_patch"
|
|
277
|
+
end
|
|
278
|
+
# resource path
|
|
279
|
+
local_var_path = '/depositants/{account}/{action}'.sub('{' + 'account' + '}', account.to_s).sub('{' + 'action' + '}', action.to_s)
|
|
280
|
+
|
|
281
|
+
# query parameters
|
|
282
|
+
query_params = {}
|
|
283
|
+
|
|
284
|
+
# header parameters
|
|
285
|
+
header_params = {}
|
|
286
|
+
# HTTP header 'Accept' (if needed)
|
|
287
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
288
|
+
# HTTP header 'Content-Type'
|
|
289
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
290
|
+
header_params[:'Authorization'] = authorization
|
|
291
|
+
|
|
292
|
+
# form parameters
|
|
293
|
+
form_params = {}
|
|
294
|
+
|
|
295
|
+
# http body (model)
|
|
296
|
+
post_body = @api_client.object_to_http_body(opts[:'empty_value'])
|
|
297
|
+
auth_names = []
|
|
298
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
299
|
+
:header_params => header_params,
|
|
300
|
+
:query_params => query_params,
|
|
301
|
+
:form_params => form_params,
|
|
302
|
+
:body => post_body,
|
|
303
|
+
:auth_names => auth_names,
|
|
304
|
+
:return_type => 'Depositant')
|
|
305
|
+
if @api_client.config.debugging
|
|
306
|
+
@api_client.config.logger.debug "API called: DepositantesApi#update_status_depositants_no_suscrption_using_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
307
|
+
end
|
|
308
|
+
return data, status_code, headers
|
|
309
|
+
end
|
|
310
|
+
# Solicitud para actualizar el estado de un depossitante
|
|
311
|
+
# @param authorization Header para token
|
|
312
|
+
# @param account Es la cuenta que va a ser actualizada.
|
|
313
|
+
# @param action Es la cuenta que va a ser actualizada.
|
|
314
|
+
# @param [Hash] opts the optional parameters
|
|
315
|
+
# @option opts [String] :empty_value Empty value
|
|
316
|
+
# @return [Depositant]
|
|
317
|
+
def update_status_depositants_using_patch(authorization, account, action, opts = {})
|
|
318
|
+
data, _status_code, _headers = update_status_depositants_using_patch_with_http_info(authorization, account, action, opts)
|
|
319
|
+
data
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
# Solicitud para actualizar el estado de un depossitante
|
|
323
|
+
# @param authorization Header para token
|
|
324
|
+
# @param account Es la cuenta que va a ser actualizada.
|
|
325
|
+
# @param action Es la cuenta que va a ser actualizada.
|
|
326
|
+
# @param [Hash] opts the optional parameters
|
|
327
|
+
# @option opts [String] :empty_value Empty value
|
|
328
|
+
# @return [Array<(Depositant, Fixnum, Hash)>] Depositant data, response status code and response headers
|
|
329
|
+
def update_status_depositants_using_patch_with_http_info(authorization, account, action, opts = {})
|
|
330
|
+
if @api_client.config.debugging
|
|
331
|
+
@api_client.config.logger.debug 'Calling API: DepositantesApi.update_status_depositants_using_patch ...'
|
|
332
|
+
end
|
|
333
|
+
# verify the required parameter 'authorization' is set
|
|
334
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
|
335
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling DepositantesApi.update_status_depositants_using_patch"
|
|
336
|
+
end
|
|
337
|
+
# verify the required parameter 'account' is set
|
|
338
|
+
if @api_client.config.client_side_validation && account.nil?
|
|
339
|
+
fail ArgumentError, "Missing the required parameter 'account' when calling DepositantesApi.update_status_depositants_using_patch"
|
|
340
|
+
end
|
|
341
|
+
# verify the required parameter 'action' is set
|
|
342
|
+
if @api_client.config.client_side_validation && action.nil?
|
|
343
|
+
fail ArgumentError, "Missing the required parameter 'action' when calling DepositantesApi.update_status_depositants_using_patch"
|
|
344
|
+
end
|
|
345
|
+
# resource path
|
|
346
|
+
local_var_path = '/subscriptions/{subscription}/depositants/{account}/{action}'.sub('{' + 'account' + '}', account.to_s).sub('{' + 'action' + '}', action.to_s)
|
|
347
|
+
|
|
348
|
+
# query parameters
|
|
349
|
+
query_params = {}
|
|
350
|
+
|
|
351
|
+
# header parameters
|
|
352
|
+
header_params = {}
|
|
353
|
+
# HTTP header 'Accept' (if needed)
|
|
354
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
355
|
+
# HTTP header 'Content-Type'
|
|
356
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
357
|
+
header_params[:'Authorization'] = authorization
|
|
358
|
+
|
|
359
|
+
# form parameters
|
|
360
|
+
form_params = {}
|
|
361
|
+
|
|
362
|
+
# http body (model)
|
|
363
|
+
post_body = @api_client.object_to_http_body(opts[:'empty_value'])
|
|
364
|
+
auth_names = []
|
|
365
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
366
|
+
:header_params => header_params,
|
|
367
|
+
:query_params => query_params,
|
|
368
|
+
:form_params => form_params,
|
|
369
|
+
:body => post_body,
|
|
370
|
+
:auth_names => auth_names,
|
|
371
|
+
:return_type => 'Depositant')
|
|
372
|
+
if @api_client.config.debugging
|
|
373
|
+
@api_client.config.logger.debug "API called: DepositantesApi#update_status_depositants_using_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
374
|
+
end
|
|
375
|
+
return data, status_code, headers
|
|
376
|
+
end
|
|
243
377
|
end
|
|
244
378
|
end
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Wire4RestAPI
|
|
3
|
+
|
|
4
|
+
#Referencia de la API de Wire4
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.10
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'uri'
|
|
14
|
+
|
|
15
|
+
module Wire4Client
|
|
16
|
+
class ReporteDeSolicitudesDePagosApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Consulta de solicitudes de pago por numero de orden.
|
|
23
|
+
# @param authorization Header para token
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [String] :order_id Es el identificador de la orden a buscar.
|
|
26
|
+
# @return [PaymentRequestReportDTO]
|
|
27
|
+
def payment_request_id_report_by_order_id_using_get(authorization, opts = {})
|
|
28
|
+
data, _status_code, _headers = payment_request_id_report_by_order_id_using_get_with_http_info(authorization, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Consulta de solicitudes de pago por numero de orden.
|
|
33
|
+
# @param authorization Header para token
|
|
34
|
+
# @param [Hash] opts the optional parameters
|
|
35
|
+
# @option opts [String] :order_id Es el identificador de la orden a buscar.
|
|
36
|
+
# @return [Array<(PaymentRequestReportDTO, Fixnum, Hash)>] PaymentRequestReportDTO data, response status code and response headers
|
|
37
|
+
def payment_request_id_report_by_order_id_using_get_with_http_info(authorization, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: ReporteDeSolicitudesDePagosApi.payment_request_id_report_by_order_id_using_get ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'authorization' is set
|
|
42
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling ReporteDeSolicitudesDePagosApi.payment_request_id_report_by_order_id_using_get"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/payment-request'
|
|
47
|
+
|
|
48
|
+
# query parameters
|
|
49
|
+
query_params = {}
|
|
50
|
+
query_params[:'order_id'] = opts[:'order_id'] if !opts[:'order_id'].nil?
|
|
51
|
+
|
|
52
|
+
# header parameters
|
|
53
|
+
header_params = {}
|
|
54
|
+
# HTTP header 'Accept' (if needed)
|
|
55
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
56
|
+
header_params[:'Authorization'] = authorization
|
|
57
|
+
|
|
58
|
+
# form parameters
|
|
59
|
+
form_params = {}
|
|
60
|
+
|
|
61
|
+
# http body (model)
|
|
62
|
+
post_body = nil
|
|
63
|
+
auth_names = []
|
|
64
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
65
|
+
:header_params => header_params,
|
|
66
|
+
:query_params => query_params,
|
|
67
|
+
:form_params => form_params,
|
|
68
|
+
:body => post_body,
|
|
69
|
+
:auth_names => auth_names,
|
|
70
|
+
:return_type => 'PaymentRequestReportDTO')
|
|
71
|
+
if @api_client.config.debugging
|
|
72
|
+
@api_client.config.logger.debug "API called: ReporteDeSolicitudesDePagosApi#payment_request_id_report_by_order_id_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
73
|
+
end
|
|
74
|
+
return data, status_code, headers
|
|
75
|
+
end
|
|
76
|
+
# Consulta de solicitudes de pago por identificador de petición
|
|
77
|
+
# @param authorization Header para token
|
|
78
|
+
# @param request_id Identificador de la petición a buscar.
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @return [PaymentRequestReportDTO]
|
|
81
|
+
def payment_request_id_report_using_get(authorization, request_id, opts = {})
|
|
82
|
+
data, _status_code, _headers = payment_request_id_report_using_get_with_http_info(authorization, request_id, opts)
|
|
83
|
+
data
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Consulta de solicitudes de pago por identificador de petición
|
|
87
|
+
# @param authorization Header para token
|
|
88
|
+
# @param request_id Identificador de la petición a buscar.
|
|
89
|
+
# @param [Hash] opts the optional parameters
|
|
90
|
+
# @return [Array<(PaymentRequestReportDTO, Fixnum, Hash)>] PaymentRequestReportDTO data, response status code and response headers
|
|
91
|
+
def payment_request_id_report_using_get_with_http_info(authorization, request_id, opts = {})
|
|
92
|
+
if @api_client.config.debugging
|
|
93
|
+
@api_client.config.logger.debug 'Calling API: ReporteDeSolicitudesDePagosApi.payment_request_id_report_using_get ...'
|
|
94
|
+
end
|
|
95
|
+
# verify the required parameter 'authorization' is set
|
|
96
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
|
97
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling ReporteDeSolicitudesDePagosApi.payment_request_id_report_using_get"
|
|
98
|
+
end
|
|
99
|
+
# verify the required parameter 'request_id' is set
|
|
100
|
+
if @api_client.config.client_side_validation && request_id.nil?
|
|
101
|
+
fail ArgumentError, "Missing the required parameter 'request_id' when calling ReporteDeSolicitudesDePagosApi.payment_request_id_report_using_get"
|
|
102
|
+
end
|
|
103
|
+
# resource path
|
|
104
|
+
local_var_path = '/payment-request/{requestId}'.sub('{' + 'requestId' + '}', request_id.to_s)
|
|
105
|
+
|
|
106
|
+
# query parameters
|
|
107
|
+
query_params = {}
|
|
108
|
+
|
|
109
|
+
# header parameters
|
|
110
|
+
header_params = {}
|
|
111
|
+
# HTTP header 'Accept' (if needed)
|
|
112
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
113
|
+
header_params[:'Authorization'] = authorization
|
|
114
|
+
|
|
115
|
+
# form parameters
|
|
116
|
+
form_params = {}
|
|
117
|
+
|
|
118
|
+
# http body (model)
|
|
119
|
+
post_body = nil
|
|
120
|
+
auth_names = []
|
|
121
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
122
|
+
:header_params => header_params,
|
|
123
|
+
:query_params => query_params,
|
|
124
|
+
:form_params => form_params,
|
|
125
|
+
:body => post_body,
|
|
126
|
+
:auth_names => auth_names,
|
|
127
|
+
:return_type => 'PaymentRequestReportDTO')
|
|
128
|
+
if @api_client.config.debugging
|
|
129
|
+
@api_client.config.logger.debug "API called: ReporteDeSolicitudesDePagosApi#payment_request_id_report_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
130
|
+
end
|
|
131
|
+
return data, status_code, headers
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
end
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Wire4RestAPI
|
|
3
|
+
|
|
4
|
+
#Referencia de la API de Wire4
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.10
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'uri'
|
|
14
|
+
|
|
15
|
+
module Wire4Client
|
|
16
|
+
class SolicitudDePagosApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Registro de solicitud de pagos
|
|
23
|
+
# Se registra una solicitud de pagos. En la respuesta se proporcionará una dirección URL que lo llevará al sitio donde se le solicitará ingresar los datos de tarjeta a la que se aplicarán los cargos.
|
|
24
|
+
# @param authorization Header para token
|
|
25
|
+
# @param payment_request_req_dto Información de la solicitud de pagos
|
|
26
|
+
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @return [PaymentRequestResponse]
|
|
28
|
+
def register_payment_request_using_post(authorization, payment_request_req_dto, opts = {})
|
|
29
|
+
data, _status_code, _headers = register_payment_request_using_post_with_http_info(authorization, payment_request_req_dto, opts)
|
|
30
|
+
data
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Registro de solicitud de pagos
|
|
34
|
+
# Se registra una solicitud de pagos. En la respuesta se proporcionará una dirección URL que lo llevará al sitio donde se le solicitará ingresar los datos de tarjeta a la que se aplicarán los cargos.
|
|
35
|
+
# @param authorization Header para token
|
|
36
|
+
# @param payment_request_req_dto Información de la solicitud de pagos
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @return [Array<(PaymentRequestResponse, Fixnum, Hash)>] PaymentRequestResponse data, response status code and response headers
|
|
39
|
+
def register_payment_request_using_post_with_http_info(authorization, payment_request_req_dto, opts = {})
|
|
40
|
+
if @api_client.config.debugging
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: SolicitudDePagosApi.register_payment_request_using_post ...'
|
|
42
|
+
end
|
|
43
|
+
# verify the required parameter 'authorization' is set
|
|
44
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling SolicitudDePagosApi.register_payment_request_using_post"
|
|
46
|
+
end
|
|
47
|
+
# verify the required parameter 'payment_request_req_dto' is set
|
|
48
|
+
if @api_client.config.client_side_validation && payment_request_req_dto.nil?
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'payment_request_req_dto' when calling SolicitudDePagosApi.register_payment_request_using_post"
|
|
50
|
+
end
|
|
51
|
+
# resource path
|
|
52
|
+
local_var_path = '/payment-request'
|
|
53
|
+
|
|
54
|
+
# query parameters
|
|
55
|
+
query_params = {}
|
|
56
|
+
|
|
57
|
+
# header parameters
|
|
58
|
+
header_params = {}
|
|
59
|
+
# HTTP header 'Accept' (if needed)
|
|
60
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
61
|
+
# HTTP header 'Content-Type'
|
|
62
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
63
|
+
header_params[:'Authorization'] = authorization
|
|
64
|
+
|
|
65
|
+
# form parameters
|
|
66
|
+
form_params = {}
|
|
67
|
+
|
|
68
|
+
# http body (model)
|
|
69
|
+
post_body = @api_client.object_to_http_body(payment_request_req_dto)
|
|
70
|
+
auth_names = []
|
|
71
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
72
|
+
:header_params => header_params,
|
|
73
|
+
:query_params => query_params,
|
|
74
|
+
:form_params => form_params,
|
|
75
|
+
:body => post_body,
|
|
76
|
+
:auth_names => auth_names,
|
|
77
|
+
:return_type => 'PaymentRequestResponse')
|
|
78
|
+
if @api_client.config.debugging
|
|
79
|
+
@api_client.config.logger.debug "API called: SolicitudDePagosApi#register_payment_request_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
80
|
+
end
|
|
81
|
+
return data, status_code, headers
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|