wire4_client 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +28 -1
  4. data/docs/AccountReassigned.md +1 -1
  5. data/docs/AccountResponse.md +1 -0
  6. data/docs/BeneficiaryDTO.md +10 -0
  7. data/docs/CargosRecurrentesApi.md +110 -0
  8. data/docs/CepResponse.md +1 -0
  9. data/docs/CepSearchBanxico.md +1 -0
  10. data/docs/CertificateRequest.md +1 -1
  11. data/docs/CodiCodeQrResponseDTO.md +1 -0
  12. data/docs/CodiCodeRequestDTO.md +6 -3
  13. data/docs/ConfirmRecurringCharge.md +9 -0
  14. data/docs/CuentasDeBeneficiariosSPEIApi.md +4 -0
  15. data/docs/CuentasDeBeneficiariosSPIDApi.md +4 -0
  16. data/docs/Customer.md +9 -0
  17. data/docs/Deposit.md +1 -0
  18. data/docs/Depositant.md +1 -0
  19. data/docs/DepositantCountResponse.md +8 -0
  20. data/docs/DepositantesApi.md +164 -1
  21. data/docs/FailedChargesDataDTO.md +13 -0
  22. data/docs/MessageDepositReceived.md +3 -0
  23. data/docs/PaymentRequestReportDTO.md +17 -0
  24. data/docs/PaymentRequestReq.md +18 -0
  25. data/docs/PaymentRequestResponse.md +10 -0
  26. data/docs/PaymentsSpeiAndSpidOrderId.md +9 -0
  27. data/docs/PaymentsSpeiAndSpidRequestId.md +12 -0
  28. data/docs/Person.md +1 -1
  29. data/docs/Product.md +11 -0
  30. data/docs/RecurringChargeRequest.md +14 -0
  31. data/docs/ReporteDeSolicitudesDePagosApi.md +107 -0
  32. data/docs/SolicitudDePagosApi.md +59 -0
  33. data/docs/SpidBeneficiaryResponse.md +1 -0
  34. data/docs/SuccessChargesDataDTO.md +12 -0
  35. data/docs/SuccessDataDTO.md +9 -0
  36. data/docs/TransactionSpeiSpid.md +15 -0
  37. data/docs/TransactionsRegister.md +11 -0
  38. data/docs/TransferenciasSPEIApi.md +163 -0
  39. data/lib/wire4_client/api/cargos_recurrentes_api.rb +143 -0
  40. data/lib/wire4_client/api/cuentas_de_beneficiarios_spei_api.rb +6 -0
  41. data/lib/wire4_client/api/cuentas_de_beneficiarios_spid_api.rb +6 -0
  42. data/lib/wire4_client/api/depositantes_api.rb +138 -4
  43. data/lib/wire4_client/api/reporte_de_solicitudes_de_pagos_api.rb +134 -0
  44. data/lib/wire4_client/api/solicitud_de_pagos_api.rb +84 -0
  45. data/lib/wire4_client/api/transferencias_spei_api.rb +234 -4
  46. data/lib/wire4_client/models/account_reassigned.rb +11 -11
  47. data/lib/wire4_client/models/account_response.rb +11 -1
  48. data/lib/wire4_client/models/amount_request.rb +10 -10
  49. data/lib/wire4_client/models/beneficiary_dto.rb +201 -0
  50. data/lib/wire4_client/models/cep_response.rb +45 -1
  51. data/lib/wire4_client/models/cep_search_banxico.rb +48 -4
  52. data/lib/wire4_client/models/certificate_request.rb +6 -15
  53. data/lib/wire4_client/models/codi_code_qr_response_dto.rb +15 -5
  54. data/lib/wire4_client/models/codi_code_request_dto.rb +94 -20
  55. data/lib/wire4_client/models/codi_operations_filters_request_dto.rb +2 -2
  56. data/lib/wire4_client/models/confirm_recurring_charge.rb +194 -0
  57. data/lib/wire4_client/models/customer.rb +205 -0
  58. data/lib/wire4_client/models/deposit.rb +48 -4
  59. data/lib/wire4_client/models/depositant.rb +14 -4
  60. data/lib/wire4_client/models/failed_charges_data_dto.rb +228 -0
  61. data/lib/wire4_client/models/message_deposit_received.rb +31 -1
  62. data/lib/wire4_client/models/operations.rb +4 -4
  63. data/lib/wire4_client/models/payment_codi.rb +2 -2
  64. data/lib/wire4_client/models/payment_request_report_dto.rb +300 -0
  65. data/lib/wire4_client/models/payment_request_req.rb +401 -0
  66. data/lib/wire4_client/models/payment_request_response.rb +204 -0
  67. data/lib/wire4_client/models/payments_spei_and_spid_order_id.rb +199 -0
  68. data/lib/wire4_client/models/payments_spei_and_spid_request_id.rb +229 -0
  69. data/lib/wire4_client/models/person.rb +0 -5
  70. data/lib/wire4_client/models/product.rb +288 -0
  71. data/lib/wire4_client/models/recurring_charge_request.rb +278 -0
  72. data/lib/wire4_client/models/sales_point_request.rb +5 -5
  73. data/lib/wire4_client/models/spid_beneficiary_response.rb +11 -1
  74. data/lib/wire4_client/models/success_charges_data_dto.rb +219 -0
  75. data/lib/wire4_client/models/success_data_dto.rb +226 -0
  76. data/lib/wire4_client/models/transaction_outgoing.rb +5 -5
  77. data/lib/wire4_client/models/transaction_spei_spid.rb +390 -0
  78. data/lib/wire4_client/models/transactions_register.rb +229 -0
  79. data/lib/wire4_client/version.rb +1 -1
  80. data/lib/wire4_client.rb +18 -0
  81. data/spec/api/cargos_recurrentes_api_spec.rb +61 -0
  82. data/spec/api/cuentas_de_beneficiarios_spei_api_spec.rb +2 -0
  83. data/spec/api/cuentas_de_beneficiarios_spid_api_spec.rb +2 -0
  84. data/spec/api/depositantes_api_spec.rb +42 -1
  85. data/spec/api/reporte_de_solicitudes_de_pagos_api_spec.rb +59 -0
  86. data/spec/api/solicitud_de_pagos_api_spec.rb +48 -0
  87. data/spec/api/transferencias_spei_api_spec.rb +42 -0
  88. data/spec/models/account_reassigned_spec.rb +3 -3
  89. data/spec/models/account_response_spec.rb +6 -0
  90. data/spec/models/beneficiary_dto_spec.rb +53 -0
  91. data/spec/models/cep_response_spec.rb +10 -0
  92. data/spec/models/cep_search_banxico_spec.rb +10 -0
  93. data/spec/models/codi_code_qr_response_dto_spec.rb +8 -2
  94. data/spec/models/codi_code_request_dto_spec.rb +23 -1
  95. data/spec/models/codi_operations_filters_request_dto_spec.rb +1 -1
  96. data/spec/models/confirm_recurring_charge_spec.rb +47 -0
  97. data/spec/models/customer_spec.rb +47 -0
  98. data/spec/models/deposit_spec.rb +10 -0
  99. data/spec/models/depositant_count_response_spec.rb +41 -0
  100. data/spec/models/depositant_spec.rb +6 -0
  101. data/spec/models/failed_charges_data_dto_spec.rb +71 -0
  102. data/spec/models/message_deposit_received_spec.rb +18 -0
  103. data/spec/models/operations_spec.rb +2 -2
  104. data/spec/models/payment_codi_spec.rb +1 -1
  105. data/spec/models/payment_request_report_dto_spec.rb +99 -0
  106. data/spec/models/payment_request_req_spec.rb +109 -0
  107. data/spec/models/payment_request_response_spec.rb +53 -0
  108. data/spec/models/payments_spei_and_spid_order_id_spec.rb +47 -0
  109. data/spec/models/payments_spei_and_spid_request_id_spec.rb +65 -0
  110. data/spec/models/product_spec.rb +63 -0
  111. data/spec/models/recurring_charge_request_spec.rb +77 -0
  112. data/spec/models/spid_beneficiary_response_spec.rb +6 -0
  113. data/spec/models/success_charges_data_dto_spec.rb +65 -0
  114. data/spec/models/success_data_dto_spec.rb +51 -0
  115. data/spec/models/transaction_spei_spid_spec.rb +83 -0
  116. data/spec/models/transactions_register_spec.rb +59 -0
  117. data/wire4_client-1.1.3.gem +0 -0
  118. data/wire4_client.gemspec +7 -7
  119. metadata +107 -55
@@ -0,0 +1,61 @@
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 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Wire4Client::CargosRecurrentesApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CargosRecurrentesApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = Wire4Client::CargosRecurrentesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CargosRecurrentesApi' do
30
+ it 'should create an instance of CargosRecurrentesApi' do
31
+ expect(@instance).to be_instance_of(Wire4Client::CargosRecurrentesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for delete_recurring_charge_using_delete
36
+ # Cancelación/desubscripción de cargos recurrentes
37
+ # 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
38
+ # @param authorization Header para token
39
+ # @param order_id orderId
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [ConfirmRecurringCharge]
42
+ describe 'delete_recurring_charge_using_delete test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ # unit tests for register_recurring_charge_using_post
49
+ # Registro de cargos recurrentes
50
+ # 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
51
+ # @param authorization Header para token
52
+ # @param request_recurring_charge Información de la solicitud para aplicar cargos recurrentes
53
+ # @param [Hash] opts the optional parameters
54
+ # @return [ConfirmRecurringCharge]
55
+ describe 'register_recurring_charge_using_post test' do
56
+ it 'should work' do
57
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
58
+ end
59
+ end
60
+
61
+ end
@@ -98,7 +98,9 @@ describe 'CuentasDeBeneficiariosSPEIApi' do
98
98
  # @option opts [String] :beneficiary_name Es el nombre del beneficiario.
99
99
  # @option opts [String] :end_date Es la fecha de inicio del perido a filtrar en formato dd-mm-yyyy.
100
100
  # @option opts [String] :init_date Es la fºecha de inicio del perido a filtrar en formato dd-mm-yyyy.
101
+ # @option opts [String] :page Es el número de página.
101
102
  # @option opts [String] :rfc Es el Registro Federal de Controbuyentes (RFC) del beneficiario.
103
+ # @option opts [String] :size Es el tamaño de página.
102
104
  # @option opts [String] :status Es el estado (estatus) de la cuenta. Los valores pueden ser <b>PENDING</b> y <b>REGISTERED</b>.
103
105
  # @return [BeneficiariesResponse]
104
106
  describe 'get_beneficiaries_for_account_using_get test' do
@@ -43,7 +43,9 @@ describe 'CuentasDeBeneficiariosSPIDApi' do
43
43
  # @option opts [String] :beneficiary_name Es el nombre del beneficiario.
44
44
  # @option opts [String] :end_date Es la fecha de inicio del periodo a filtrar en formato dd-mm-yyyy.
45
45
  # @option opts [String] :init_date Es la fecha de inicio del periodo a filtrar en formato dd-mm-yyyy.
46
+ # @option opts [String] :page Es el número de página.
46
47
  # @option opts [String] :rfc Es el Registro Federal de Contribuyentes (RFC) del beneficiario.
48
+ # @option opts [String] :size Es el tamaño de página.
47
49
  # @option opts [String] :status Es el estado (estatus) de la cuenta, Los valores pueden ser <b>PENDING</b> y <b>REGISTERED</b>.
48
50
  # @return [SpidBeneficiariesResponse]
49
51
  describe 'get_spid_beneficiaries_for_account test' do
@@ -32,6 +32,19 @@ describe 'DepositantesApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for get_depositants_totals_using_get
36
+ # Número de depositantes por suscripción
37
+ # Obtiene la cantidad el total de depositantes asociados al contrato relacionado a la suscripción.
38
+ # @param authorization Header para token
39
+ # @param subscription Es el identificador de la suscripción a esta API.
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [DepositantCountResponse]
42
+ describe 'get_depositants_totals_using_get test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
35
48
  # unit tests for get_depositants_using_get
36
49
  # Consulta de cuentas de depositantes
37
50
  # Obtiene una lista de depositantes asociados al contrato relacionado a la suscripción.
@@ -47,7 +60,7 @@ describe 'DepositantesApi' do
47
60
 
48
61
  # unit tests for register_depositants_using_post
49
62
  # Registra un nuevo depositante
50
- # Registra un nuevo depositante en el contrato asociado a la suscripción.
63
+ # 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.
51
64
  # @param authorization Header para token
52
65
  # @param register Depositant info
53
66
  # @param subscription Es el identificador de la suscripción a esta API.
@@ -59,4 +72,32 @@ describe 'DepositantesApi' do
59
72
  end
60
73
  end
61
74
 
75
+ # unit tests for update_status_depositants_no_suscrption_using_patch
76
+ # Solicitud para actualizar el estado de un depositante sin utilizar la suscripción
77
+ # @param authorization Header para token
78
+ # @param account Es la cuenta que va a ser actualizada.
79
+ # @param action Es la cuenta que va a ser actualizada.
80
+ # @param [Hash] opts the optional parameters
81
+ # @option opts [String] :empty_value Empty value
82
+ # @return [Depositant]
83
+ describe 'update_status_depositants_no_suscrption_using_patch test' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ # unit tests for update_status_depositants_using_patch
90
+ # Solicitud para actualizar el estado de un depossitante
91
+ # @param authorization Header para token
92
+ # @param account Es la cuenta que va a ser actualizada.
93
+ # @param action Es la cuenta que va a ser actualizada.
94
+ # @param [Hash] opts the optional parameters
95
+ # @option opts [String] :empty_value Empty value
96
+ # @return [Depositant]
97
+ describe 'update_status_depositants_using_patch test' do
98
+ it 'should work' do
99
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
100
+ end
101
+ end
102
+
62
103
  end
@@ -0,0 +1,59 @@
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 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Wire4Client::ReporteDeSolicitudesDePagosApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'ReporteDeSolicitudesDePagosApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = Wire4Client::ReporteDeSolicitudesDePagosApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ReporteDeSolicitudesDePagosApi' do
30
+ it 'should create an instance of ReporteDeSolicitudesDePagosApi' do
31
+ expect(@instance).to be_instance_of(Wire4Client::ReporteDeSolicitudesDePagosApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for payment_request_id_report_by_order_id_using_get
36
+ # Consulta de solicitudes de pago por numero de orden.
37
+ # @param authorization Header para token
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :order_id Es el identificador de la orden a buscar.
40
+ # @return [PaymentRequestReportDTO]
41
+ describe 'payment_request_id_report_by_order_id_using_get test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for payment_request_id_report_using_get
48
+ # Consulta de solicitudes de pago por identificador de petición
49
+ # @param authorization Header para token
50
+ # @param request_id Identificador de la petición a buscar.
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [PaymentRequestReportDTO]
53
+ describe 'payment_request_id_report_using_get test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
@@ -0,0 +1,48 @@
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 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Wire4Client::SolicitudDePagosApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'SolicitudDePagosApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = Wire4Client::SolicitudDePagosApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of SolicitudDePagosApi' do
30
+ it 'should create an instance of SolicitudDePagosApi' do
31
+ expect(@instance).to be_instance_of(Wire4Client::SolicitudDePagosApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for register_payment_request_using_post
36
+ # Registro de solicitud de pagos
37
+ # 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.
38
+ # @param authorization Header para token
39
+ # @param payment_request_req_dto Información de la solicitud de pagos
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [PaymentRequestResponse]
42
+ describe 'register_payment_request_using_post test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ end
@@ -90,6 +90,34 @@ describe 'TransferenciasSPEIApi' do
90
90
  end
91
91
  end
92
92
 
93
+ # unit tests for out_comming_spei_spid_order_id_transaction_report_using_get
94
+ # Consulta de transferencias realizadas por order_id
95
+ # Consulta las transferencias que regresa este recuso son únicamente las transferencias recibidas en el día en el que se realiza la consulta o las transferencias identificadas con el <strong>order_id</strong> proporcionado, para este tipo de consultas no importa el día en el que se realizó la transferencia. <br> Es importante que conozca que la respuesta puede dar como resultado un objeto con una lista spei o una lista spid con el/los elementos ya que un identificador order_id solo puede pertenecer a una transacción sea spei o spid.
96
+ # @param authorization Header para token
97
+ # @param subscription Es el identificador de la suscripción a esta API.
98
+ # @param [Hash] opts the optional parameters
99
+ # @option opts [String] :order_id Es el identificador de la orden a buscar.
100
+ # @return [PaymentsSpeiAndSpidOrderId]
101
+ describe 'out_comming_spei_spid_order_id_transaction_report_using_get test' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ # unit tests for out_comming_spei_spid_request_id_transactions_report_using_get
108
+ # Consulta de transferencias de salida por identificador de petición
109
+ # Consulta las transferencias de salida registradas en una petición, las transferencias que regresa este recuso son únicamente las transferencias de salida agrupadas al identificador de la petición que se generó al hacer el registro de las transacciones el cuál se debe especificar como parte del path de este endpoint.
110
+ # @param authorization Header para token
111
+ # @param request_id Identificador de la petición a buscar.
112
+ # @param subscription Es el identificador de la suscripción a esta API.
113
+ # @param [Hash] opts the optional parameters
114
+ # @return [PaymentsSpeiAndSpidRequestId]
115
+ describe 'out_comming_spei_spid_request_id_transactions_report_using_get test' do
116
+ it 'should work' do
117
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
118
+ end
119
+ end
120
+
93
121
  # unit tests for outgoing_spei_transactions_report_using_get
94
122
  # Consulta de transferencias realizadas
95
123
  # Consulta las transferencias realizadas en la cuenta del cliente Monex relacionada a la suscripción, las transferencias que regresa este recuso son únicamente las transferencias recibidas en el día en el que se realiza la consulta.<br>Se pueden realizar consultas por <strong>order_id</strong> al realizar este tipo de consultas no importa el día en el que se realizó la transferencia
@@ -118,4 +146,18 @@ describe 'TransferenciasSPEIApi' do
118
146
  end
119
147
  end
120
148
 
149
+ # unit tests for register_spei_spid_outgoing_transactions_using_post
150
+ # Registro de transferencias SPEI y SPID
151
+ # Se registra un conjunto de transferencias (una o más) tanto SPEI como SPID en una sola petición en la cuenta del cliente Monex relacionada a la suscripción. En la respuesta se proporcionará una dirección URL que lo llevará al centro de autorización para que las transferencias sean confirmadas (autorizadas) por el cliente para que se efectúen, para ello debe ingresar la llave electrónica (Token).<br> Nota: Debe considerar que el concepto de cada una de las transacciones solo debe contener caracteres alfanuméricos por lo que en caso de que se reciban caracteres como ñ o acentos serán sustituidos por n o en su caso por la letra sin acento. Los caracteres no alfanuméricos como pueden ser caracteres especiales serán eliminados.
152
+ # @param authorization Header para token
153
+ # @param subscription Es el identificador de la suscripción a esta API.
154
+ # @param transactions Información de las transferencias SPEI y SPID de salida
155
+ # @param [Hash] opts the optional parameters
156
+ # @return [TokenRequiredResponse]
157
+ describe 'register_spei_spid_outgoing_transactions_using_post test' do
158
+ it 'should work' do
159
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
160
+ end
161
+ end
162
+
121
163
  end
@@ -38,19 +38,19 @@ describe 'AccountReassigned' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "bank"' do
41
+ describe 'test attribute "authorization_date"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "beneficiary_account"' do
47
+ describe 'test attribute "bank"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "currency_code"' do
53
+ describe 'test attribute "beneficiary_account"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -38,6 +38,12 @@ describe 'AccountResponse' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "authorization_date"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  describe 'test attribute "bank"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,53 @@
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 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Wire4Client::BeneficiaryDTO
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'BeneficiaryDTO' do
21
+ before do
22
+ # run before each test
23
+ @instance = Wire4Client::BeneficiaryDTO.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of BeneficiaryDTO' do
31
+ it 'should create an instance of BeneficiaryDTO' do
32
+ expect(@instance).to be_instance_of(Wire4Client::BeneficiaryDTO)
33
+ end
34
+ end
35
+ describe 'test attribute "account"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "account_type"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "name"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end
@@ -152,6 +152,16 @@ describe 'CepResponse' do
152
152
  end
153
153
  end
154
154
 
155
+ describe 'test attribute "type"' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SPEI", "SPID"])
159
+ # validator.allowable_values.each do |value|
160
+ # expect { @instance.type = value }.not_to raise_error
161
+ # end
162
+ end
163
+ end
164
+
155
165
  describe 'test attribute "url_zip"' do
156
166
  it 'should work' do
157
167
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -80,4 +80,14 @@ describe 'CepSearchBanxico' do
80
80
  end
81
81
  end
82
82
 
83
+ describe 'test attribute "type"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SPEI", "SPID"])
87
+ # validator.allowable_values.each do |value|
88
+ # expect { @instance.type = value }.not_to raise_error
89
+ # end
90
+ end
91
+ end
92
+
83
93
  end
@@ -80,10 +80,16 @@ describe 'CodiCodeQrResponseDTO' do
80
80
  end
81
81
  end
82
82
 
83
+ describe 'test attribute "reference"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
83
89
  describe 'test attribute "status"' do
84
90
  it 'should work' do
85
91
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["RECEIVED", "COMPLETED", "CANCELLED"])
92
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ACCEPTED", "RECEIVED", "COMPLETED", "CANCELLED", "POSTPONED", "REJECTED", "REVERSED", "PENDING"])
87
93
  # validator.allowable_values.each do |value|
88
94
  # expect { @instance.status = value }.not_to raise_error
89
95
  # end
@@ -93,7 +99,7 @@ describe 'CodiCodeQrResponseDTO' do
93
99
  describe 'test attribute "type"' do
94
100
  it 'should work' do
95
101
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
96
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PUSH_NOTIFICATION", "QR_CODE"])
102
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PUSH_NOTIFICATION", "QR_CODE", "UNKNOWN"])
97
103
  # validator.allowable_values.each do |value|
98
104
  # expect { @instance.type = value }.not_to raise_error
99
105
  # end
@@ -38,6 +38,12 @@ describe 'CodiCodeRequestDTO' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "beneficiary2"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  describe 'test attribute "concept"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,16 +68,32 @@ describe 'CodiCodeRequestDTO' do
62
68
  end
63
69
  end
64
70
 
71
+ describe 'test attribute "payment_type"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ONE_OCCASION", "RECURRENT", "RECURRENT_NO_RECURRENT", "UNKNOWN"])
75
+ # validator.allowable_values.each do |value|
76
+ # expect { @instance.payment_type = value }.not_to raise_error
77
+ # end
78
+ end
79
+ end
80
+
65
81
  describe 'test attribute "phone_number"' do
66
82
  it 'should work' do
67
83
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
84
  end
69
85
  end
70
86
 
87
+ describe 'test attribute "reference"' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
71
93
  describe 'test attribute "type"' do
72
94
  it 'should work' do
73
95
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PUSH_NOTIFICATION", "QR_CODE"])
96
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PUSH_NOTIFICATION", "QR_CODE", "UNKNOWN"])
75
97
  # validator.allowable_values.each do |value|
76
98
  # expect { @instance.type = value }.not_to raise_error
77
99
  # end
@@ -77,7 +77,7 @@ describe 'CodiOperationsFiltersRequestDTO' do
77
77
  describe 'test attribute "status"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["RECEIVED", "COMPLETED", "CANCELLED"])
80
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ACCEPTED", "RECEIVED", "COMPLETED", "CANCELLED", "POSTPONED", "REJECTED", "REVERSED", "PENDING"])
81
81
  # validator.allowable_values.each do |value|
82
82
  # expect { @instance.status = value }.not_to raise_error
83
83
  # end
@@ -0,0 +1,47 @@
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 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Wire4Client::ConfirmRecurringCharge
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'ConfirmRecurringCharge' do
21
+ before do
22
+ # run before each test
23
+ @instance = Wire4Client::ConfirmRecurringCharge.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ConfirmRecurringCharge' do
31
+ it 'should create an instance of ConfirmRecurringCharge' do
32
+ expect(@instance).to be_instance_of(Wire4Client::ConfirmRecurringCharge)
33
+ end
34
+ end
35
+ describe 'test attribute "order_id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "url"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,47 @@
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 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Wire4Client::Customer
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'Customer' do
21
+ before do
22
+ # run before each test
23
+ @instance = Wire4Client::Customer.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of Customer' do
31
+ it 'should create an instance of Customer' do
32
+ expect(@instance).to be_instance_of(Wire4Client::Customer)
33
+ end
34
+ end
35
+ describe 'test attribute "email"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "name"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -164,4 +164,14 @@ describe 'Deposit' do
164
164
  end
165
165
  end
166
166
 
167
+ describe 'test attribute "status"' do
168
+ it 'should work' do
169
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
170
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING", "COMPLETED", "FAILED", "CANCELLED", "AUTHORIZING", "REJECTED"])
171
+ # validator.allowable_values.each do |value|
172
+ # expect { @instance.status = value }.not_to raise_error
173
+ # end
174
+ end
175
+ end
176
+
167
177
  end