wire4_client 0.0.9.pre.TEST → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +69 -0
- data/README.md +15 -77
- data/docs/Account.md +3 -3
- data/docs/AccountResponse.md +3 -6
- data/docs/AmountRequest.md +0 -2
- data/docs/BillingTransaction.md +1 -1
- data/docs/CuentasDeBeneficiariosSPEIApi.md +8 -127
- data/docs/CuentasDeBeneficiariosSPIDApi.md +1 -11
- data/docs/Deposit.md +0 -1
- data/docs/MessageAccountBeneficiary.md +2 -2
- data/docs/MessageCEP.md +9 -9
- data/docs/MessageDepositReceived.md +0 -1
- data/docs/MessagePayment.md +1 -3
- data/docs/MessageSubscription.md +6 -6
- data/docs/MessageWebHook.md +2 -2
- data/docs/Payment.md +1 -3
- data/docs/SpidBeneficiaryResponse.md +0 -3
- data/docs/SuscripcionesApi.md +14 -14
- data/docs/Timestamp.md +17 -0
- data/docs/TransactionOutgoing.md +1 -2
- data/docs/TransferenciasSPEIApi.md +3 -61
- data/lib/wire4_client/api/comprobante_electrnico_de_pago_cep_api.rb +1 -1
- data/lib/wire4_client/api/contacto_api.rb +1 -1
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spei_api.rb +10 -194
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spid_api.rb +1 -16
- data/lib/wire4_client/api/depositantes_api.rb +1 -1
- data/lib/wire4_client/api/facturas_api.rb +1 -1
- data/lib/wire4_client/api/instituciones_api.rb +1 -1
- data/lib/wire4_client/api/saldo_api.rb +1 -1
- data/lib/wire4_client/api/suscripciones_api.rb +15 -15
- data/lib/wire4_client/api/transferencias_spei_api.rb +3 -85
- data/lib/wire4_client/api/transferencias_spid_api.rb +1 -1
- data/lib/wire4_client/api/webhooks_api.rb +1 -1
- data/lib/wire4_client/api_client.rb +1 -1
- data/lib/wire4_client/api_error.rb +1 -1
- data/lib/wire4_client/configuration.rb +1 -1
- data/lib/wire4_client/models/account.rb +4 -4
- data/lib/wire4_client/models/account_request.rb +1 -1
- data/lib/wire4_client/models/account_response.rb +8 -38
- data/lib/wire4_client/models/account_spid.rb +1 -1
- data/lib/wire4_client/models/amount_request.rb +5 -91
- data/lib/wire4_client/models/balance.rb +1 -1
- data/lib/wire4_client/models/balance_list_response.rb +1 -1
- data/lib/wire4_client/models/beneficiaries_response.rb +1 -1
- data/lib/wire4_client/models/beneficiary_institution.rb +1 -1
- data/lib/wire4_client/models/billing.rb +1 -1
- data/lib/wire4_client/models/billing_transaction.rb +2 -2
- data/lib/wire4_client/models/cep_response.rb +1 -1
- data/lib/wire4_client/models/cep_search_banxico.rb +1 -1
- data/lib/wire4_client/models/contact_request.rb +1 -1
- data/lib/wire4_client/models/deposit.rb +2 -12
- data/lib/wire4_client/models/depositant.rb +1 -1
- data/lib/wire4_client/models/depositants_register.rb +1 -1
- data/lib/wire4_client/models/depositants_response.rb +1 -1
- data/lib/wire4_client/models/error_response.rb +1 -1
- data/lib/wire4_client/models/get_depositants.rb +1 -1
- data/lib/wire4_client/models/institution.rb +1 -1
- data/lib/wire4_client/models/institutions_list.rb +1 -1
- data/lib/wire4_client/models/message_account_beneficiary.rb +3 -3
- data/lib/wire4_client/models/message_cep.rb +11 -11
- data/lib/wire4_client/models/message_deposit_received.rb +3 -13
- data/lib/wire4_client/models/message_institution.rb +1 -1
- data/lib/wire4_client/models/message_payment.rb +3 -24
- data/lib/wire4_client/models/message_subscription.rb +8 -8
- data/lib/wire4_client/models/message_web_hook.rb +3 -3
- data/lib/wire4_client/models/payment.rb +3 -23
- data/lib/wire4_client/models/payments_request_id.rb +1 -1
- data/lib/wire4_client/models/person.rb +1 -1
- data/lib/wire4_client/models/pre_enrollment_data.rb +1 -1
- data/lib/wire4_client/models/pre_enrollment_response.rb +1 -1
- data/lib/wire4_client/models/relationship.rb +1 -1
- data/lib/wire4_client/models/relationships_response.rb +1 -1
- data/lib/wire4_client/models/spid_beneficiaries_response.rb +1 -1
- data/lib/wire4_client/models/spid_beneficiary_response.rb +5 -35
- data/lib/wire4_client/models/spid_classification_dto.rb +1 -1
- data/lib/wire4_client/models/spid_classifications_response_dto.rb +1 -1
- data/lib/wire4_client/models/{codi_operation_response_dto.rb → timestamp.rb} +72 -53
- data/lib/wire4_client/models/token_required_response.rb +1 -1
- data/lib/wire4_client/models/transaction_outgoing.rb +3 -13
- data/lib/wire4_client/models/transaction_outgoing_spid.rb +1 -1
- data/lib/wire4_client/models/transactions_outgoing_register.rb +1 -1
- data/lib/wire4_client/models/webhook_request.rb +1 -1
- data/lib/wire4_client/models/webhook_response.rb +1 -1
- data/lib/wire4_client/models/webhooks_list.rb +1 -1
- data/lib/wire4_client/version.rb +2 -2
- data/lib/wire4_client.rb +2 -53
- data/spec/api/comprobante_electrnico_de_pago_cep_api_spec.rb +1 -1
- data/spec/api/contacto_api_spec.rb +1 -1
- data/spec/api/cuentas_de_beneficiarios_spei_api_spec.rb +4 -37
- data/spec/api/cuentas_de_beneficiarios_spid_api_spec.rb +1 -6
- data/spec/api/depositantes_api_spec.rb +1 -1
- data/spec/api/facturas_api_spec.rb +1 -1
- data/spec/api/instituciones_api_spec.rb +1 -1
- data/spec/api/saldo_api_spec.rb +1 -1
- data/spec/api/suscripciones_api_spec.rb +8 -8
- data/spec/api/transferencias_spei_api_spec.rb +2 -17
- data/spec/api/transferencias_spid_api_spec.rb +1 -1
- data/spec/api/webhooks_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_request_spec.rb +1 -1
- data/spec/models/account_response_spec.rb +1 -19
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/account_spid_spec.rb +1 -1
- data/spec/models/amount_request_spec.rb +1 -13
- data/spec/models/balance_list_response_spec.rb +1 -1
- data/spec/models/balance_spec.rb +1 -1
- data/spec/models/beneficiaries_response_spec.rb +1 -1
- data/spec/models/beneficiary_institution_spec.rb +1 -1
- data/spec/models/billing_spec.rb +1 -1
- data/spec/models/billing_transaction_spec.rb +1 -1
- data/spec/models/cep_response_spec.rb +1 -1
- data/spec/models/cep_search_banxico_spec.rb +1 -1
- data/spec/models/contact_request_spec.rb +1 -1
- data/spec/models/deposit_spec.rb +1 -7
- data/spec/models/depositant_spec.rb +1 -1
- data/spec/models/depositants_register_spec.rb +1 -1
- data/spec/models/depositants_response_spec.rb +1 -1
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/get_depositants_spec.rb +1 -1
- data/spec/models/institution_spec.rb +1 -1
- data/spec/models/institutions_list_spec.rb +1 -1
- data/spec/models/message_account_beneficiary_spec.rb +1 -1
- data/spec/models/message_cep_spec.rb +1 -1
- data/spec/models/message_deposit_received_spec.rb +1 -7
- data/spec/models/message_institution_spec.rb +1 -1
- data/spec/models/message_payment_spec.rb +1 -13
- data/spec/models/message_subscription_spec.rb +1 -1
- data/spec/models/message_web_hook_spec.rb +1 -1
- data/spec/models/payment_spec.rb +1 -13
- data/spec/models/payments_request_id_spec.rb +1 -1
- data/spec/models/person_spec.rb +1 -1
- data/spec/models/pre_enrollment_data_spec.rb +1 -1
- data/spec/models/pre_enrollment_response_spec.rb +1 -1
- data/spec/models/relationship_spec.rb +1 -1
- data/spec/models/relationships_response_spec.rb +1 -1
- data/spec/models/spid_beneficiaries_response_spec.rb +1 -1
- data/spec/models/spid_beneficiary_response_spec.rb +1 -19
- data/spec/models/spid_classification_dto_spec.rb +1 -1
- data/spec/models/spid_classifications_response_dto_spec.rb +1 -1
- data/spec/models/{address_company_spec.rb → timestamp_spec.rb} +17 -17
- data/spec/models/token_required_response_spec.rb +1 -1
- data/spec/models/transaction_outgoing_spec.rb +1 -7
- data/spec/models/transaction_outgoing_spid_spec.rb +1 -1
- data/spec/models/transactions_outgoing_register_spec.rb +1 -1
- data/spec/models/webhook_request_spec.rb +1 -1
- data/spec/models/webhook_response_spec.rb +1 -1
- data/spec/models/webhooks_list_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/wire4_client.gemspec +2 -2
- metadata +10 -214
- data/docs/AccountDetail.md +0 -13
- data/docs/AccountReassigned.md +0 -22
- data/docs/AddressCompany.md +0 -17
- data/docs/AuthorizationTransactionGroup.md +0 -9
- data/docs/AuthorizedBeneficiariesResponse.md +0 -10
- data/docs/AuthorizedUsers.md +0 -13
- data/docs/AutorizacinDeDepsitosApi.md +0 -113
- data/docs/BeneficiariesQueryRegisterStatus.md +0 -13
- data/docs/CertificateRequest.md +0 -11
- data/docs/CodiCodeQrResponseDTO.md +0 -17
- data/docs/CodiCodeRequestDTO.md +0 -14
- data/docs/CodiOperationResponseDTO.md +0 -14
- data/docs/CodiOperationsFiltersRequestDTO.md +0 -15
- data/docs/CompanyRegistered.md +0 -13
- data/docs/CompanyRequested.md +0 -11
- data/docs/Compay.md +0 -11
- data/docs/ConfigurationsLimits.md +0 -9
- data/docs/ContractDetailRequest.md +0 -11
- data/docs/ContractDetailResponse.md +0 -9
- data/docs/ContractsDetailsApi.md +0 -222
- data/docs/DepositAuthorizationRequest.md +0 -10
- data/docs/DepositsAuthorizationResponse.md +0 -10
- data/docs/DetailedErrorResponse.md +0 -10
- data/docs/EmpresasCoDiApi.md +0 -107
- data/docs/Item.md +0 -10
- data/docs/LmitesDeMontosApi.md +0 -112
- data/docs/MessageCodiAction.md +0 -19
- data/docs/MessageConfigurationsLimits.md +0 -8
- data/docs/MessageDepositAuthorizationRequest.md +0 -27
- data/docs/MessagePaymentStatePending.md +0 -23
- data/docs/MessageRequestChanged.md +0 -9
- data/docs/MessageSalesPoint.md +0 -10
- data/docs/MessageUserAuthorized.md +0 -14
- data/docs/OperacionesCoDiApi.md +0 -68
- data/docs/Operations.md +0 -17
- data/docs/PagerResponseDto.md +0 -13
- data/docs/PaymentCODI.md +0 -13
- data/docs/PaymentRequestCodiResponseDTO.md +0 -18
- data/docs/PeticionesDePagoPorCoDiApi.md +0 -116
- data/docs/PreMonexAuthorization.md +0 -11
- data/docs/PuntosDeVentaCoDiApi.md +0 -113
- data/docs/SalesPoint.md +0 -10
- data/docs/SalesPointFound.md +0 -14
- data/docs/SalesPointRequest.md +0 -11
- data/docs/SalesPointRespose.md +0 -11
- data/docs/TransactionErrorCode.md +0 -10
- data/docs/UpdateConfigurationsRequestDTO.md +0 -8
- data/docs/UrlsRedirect.md +0 -9
- data/docs/UserCompany.md +0 -16
- data/docs/WebHookDepositAuthorizationRequest.md +0 -9
- data/docs/WebHookDepositAuthorizationResponse.md +0 -13
- data/docs/Webhook.md +0 -13
- data/lib/wire4_client/api/autorizacin_de_depsitos_api.rb +0 -173
- data/lib/wire4_client/api/contracts_details_api.rb +0 -301
- data/lib/wire4_client/api/empresas_co_di_api.rb +0 -137
- data/lib/wire4_client/api/lmites_de_montos_api.rb +0 -160
- data/lib/wire4_client/api/operaciones_co_di_api.rb +0 -92
- data/lib/wire4_client/api/peticiones_de_pago_por_co_di_api.rb +0 -178
- data/lib/wire4_client/api/puntos_de_venta_co_di_api.rb +0 -151
- data/lib/wire4_client/models/account_detail.rb +0 -239
- data/lib/wire4_client/models/account_reassigned.rb +0 -385
- data/lib/wire4_client/models/address_company.rb +0 -275
- data/lib/wire4_client/models/authorization_transaction_group.rb +0 -207
- data/lib/wire4_client/models/authorized_beneficiaries_response.rb +0 -206
- data/lib/wire4_client/models/authorized_users.rb +0 -235
- data/lib/wire4_client/models/beneficiaries_query_register_status.rb +0 -270
- data/lib/wire4_client/models/certificate_request.rb +0 -248
- data/lib/wire4_client/models/codi_code_qr_response_dto.rb +0 -320
- data/lib/wire4_client/models/codi_code_request_dto.rb +0 -402
- data/lib/wire4_client/models/codi_operations_filters_request_dto.rb +0 -336
- data/lib/wire4_client/models/company_registered.rb +0 -235
- data/lib/wire4_client/models/company_requested.rb +0 -215
- data/lib/wire4_client/models/compay.rb +0 -215
- data/lib/wire4_client/models/configurations_limits.rb +0 -197
- data/lib/wire4_client/models/contract_detail_request.rb +0 -247
- data/lib/wire4_client/models/contract_detail_response.rb +0 -194
- data/lib/wire4_client/models/deposit_authorization_request.rb +0 -205
- data/lib/wire4_client/models/deposits_authorization_response.rb +0 -205
- data/lib/wire4_client/models/detailed_error_response.rb +0 -203
- data/lib/wire4_client/models/item.rb +0 -205
- data/lib/wire4_client/models/message_codi_action.rb +0 -295
- data/lib/wire4_client/models/message_configurations_limits.rb +0 -187
- data/lib/wire4_client/models/message_deposit_authorization_request.rb +0 -375
- data/lib/wire4_client/models/message_payment_state_pending.rb +0 -335
- data/lib/wire4_client/models/message_request_changed.rb +0 -229
- data/lib/wire4_client/models/message_sales_point.rb +0 -205
- data/lib/wire4_client/models/message_user_authorized.rb +0 -245
- data/lib/wire4_client/models/operations.rb +0 -321
- data/lib/wire4_client/models/pager_response_dto.rb +0 -236
- data/lib/wire4_client/models/payment_codi.rb +0 -269
- data/lib/wire4_client/models/payment_request_codi_response_dto.rb +0 -287
- data/lib/wire4_client/models/pre_monex_authorization.rb +0 -291
- data/lib/wire4_client/models/sales_point.rb +0 -205
- data/lib/wire4_client/models/sales_point_found.rb +0 -279
- data/lib/wire4_client/models/sales_point_request.rb +0 -254
- data/lib/wire4_client/models/sales_point_respose.rb +0 -215
- data/lib/wire4_client/models/transaction_error_code.rb +0 -201
- data/lib/wire4_client/models/update_configurations_request_dto.rb +0 -192
- data/lib/wire4_client/models/urls_redirect.rb +0 -205
- data/lib/wire4_client/models/user_company.rb +0 -269
- data/lib/wire4_client/models/web_hook_deposit_authorization_request.rb +0 -195
- data/lib/wire4_client/models/web_hook_deposit_authorization_response.rb +0 -237
- data/lib/wire4_client/models/webhook.rb +0 -271
- data/spec/api/autorizacin_de_depsitos_api_spec.rb +0 -62
- data/spec/api/contracts_details_api_spec.rb +0 -90
- data/spec/api/empresas_co_di_api_spec.rb +0 -60
- data/spec/api/lmites_de_montos_api_spec.rb +0 -62
- data/spec/api/operaciones_co_di_api_spec.rb +0 -52
- data/spec/api/peticiones_de_pago_por_co_di_api_spec.rb +0 -63
- data/spec/api/puntos_de_venta_co_di_api_spec.rb +0 -62
- data/spec/models/account_detail_spec.rb +0 -71
- data/spec/models/account_reassigned_spec.rb +0 -125
- data/spec/models/authorization_transaction_group_spec.rb +0 -47
- data/spec/models/authorized_beneficiaries_response_spec.rb +0 -53
- data/spec/models/authorized_users_spec.rb +0 -71
- data/spec/models/beneficiaries_query_register_status_spec.rb +0 -75
- data/spec/models/certificate_request_spec.rb +0 -59
- data/spec/models/codi_code_qr_response_dto_spec.rb +0 -103
- data/spec/models/codi_code_request_dto_spec.rb +0 -81
- data/spec/models/codi_operation_response_dto_spec.rb +0 -77
- data/spec/models/codi_operations_filters_request_dto_spec.rb +0 -87
- data/spec/models/company_registered_spec.rb +0 -71
- data/spec/models/company_requested_spec.rb +0 -59
- data/spec/models/compay_spec.rb +0 -59
- data/spec/models/configurations_limits_spec.rb +0 -47
- data/spec/models/contract_detail_request_spec.rb +0 -59
- data/spec/models/contract_detail_response_spec.rb +0 -47
- data/spec/models/deposit_authorization_request_spec.rb +0 -53
- data/spec/models/deposits_authorization_response_spec.rb +0 -53
- data/spec/models/detailed_error_response_spec.rb +0 -53
- data/spec/models/item_spec.rb +0 -53
- data/spec/models/message_codi_action_spec.rb +0 -107
- data/spec/models/message_configurations_limits_spec.rb +0 -41
- data/spec/models/message_deposit_authorization_request_spec.rb +0 -155
- data/spec/models/message_payment_state_pending_spec.rb +0 -131
- data/spec/models/message_request_changed_spec.rb +0 -51
- data/spec/models/message_sales_point_spec.rb +0 -53
- data/spec/models/message_user_authorized_spec.rb +0 -77
- data/spec/models/operations_spec.rb +0 -103
- data/spec/models/pager_response_dto_spec.rb +0 -71
- data/spec/models/payment_codi_spec.rb +0 -75
- data/spec/models/payment_request_codi_response_dto_spec.rb +0 -101
- data/spec/models/pre_monex_authorization_spec.rb +0 -59
- data/spec/models/sales_point_found_spec.rb +0 -81
- data/spec/models/sales_point_request_spec.rb +0 -59
- data/spec/models/sales_point_respose_spec.rb +0 -59
- data/spec/models/sales_point_spec.rb +0 -53
- data/spec/models/transaction_error_code_spec.rb +0 -53
- data/spec/models/update_configurations_request_dto_spec.rb +0 -41
- data/spec/models/urls_redirect_spec.rb +0 -47
- data/spec/models/user_company_spec.rb +0 -89
- data/spec/models/web_hook_deposit_authorization_request_spec.rb +0 -47
- data/spec/models/web_hook_deposit_authorization_response_spec.rb +0 -71
- data/spec/models/webhook_spec.rb +0 -75
- data/wire4_client-1.0.9.gem +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#
|
4
|
+
#Referencia de la API de Wire4
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -13,52 +13,56 @@ Swagger Codegen version: 2.4.10
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module Wire4Client
|
16
|
-
|
17
|
-
|
18
|
-
# Monto de la operacion.
|
19
|
-
attr_accessor :amount
|
16
|
+
class Timestamp
|
17
|
+
attr_accessor :date
|
20
18
|
|
21
|
-
|
22
|
-
attr_accessor :concept
|
19
|
+
attr_accessor :day
|
23
20
|
|
24
|
-
|
25
|
-
attr_accessor :id
|
21
|
+
attr_accessor :hours
|
26
22
|
|
27
|
-
|
28
|
-
attr_accessor :operation_date
|
23
|
+
attr_accessor :minutes
|
29
24
|
|
30
|
-
|
31
|
-
attr_accessor :payment_type
|
25
|
+
attr_accessor :month
|
32
26
|
|
33
|
-
|
34
|
-
attr_accessor :status
|
27
|
+
attr_accessor :nanos
|
35
28
|
|
36
|
-
|
37
|
-
|
29
|
+
attr_accessor :seconds
|
30
|
+
|
31
|
+
attr_accessor :time
|
32
|
+
|
33
|
+
attr_accessor :timezone_offset
|
34
|
+
|
35
|
+
attr_accessor :year
|
38
36
|
|
39
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
40
38
|
def self.attribute_map
|
41
39
|
{
|
42
|
-
:'
|
43
|
-
:'
|
44
|
-
:'
|
45
|
-
:'
|
46
|
-
:'
|
47
|
-
:'
|
48
|
-
:'
|
40
|
+
:'date' => :'date',
|
41
|
+
:'day' => :'day',
|
42
|
+
:'hours' => :'hours',
|
43
|
+
:'minutes' => :'minutes',
|
44
|
+
:'month' => :'month',
|
45
|
+
:'nanos' => :'nanos',
|
46
|
+
:'seconds' => :'seconds',
|
47
|
+
:'time' => :'time',
|
48
|
+
:'timezone_offset' => :'timezone_offset',
|
49
|
+
:'year' => :'year'
|
49
50
|
}
|
50
51
|
end
|
51
52
|
|
52
53
|
# Attribute type mapping.
|
53
54
|
def self.swagger_types
|
54
55
|
{
|
55
|
-
:'
|
56
|
-
:'
|
57
|
-
:'
|
58
|
-
:'
|
59
|
-
:'
|
60
|
-
:'
|
61
|
-
:'
|
56
|
+
:'date' => :'Integer',
|
57
|
+
:'day' => :'Integer',
|
58
|
+
:'hours' => :'Integer',
|
59
|
+
:'minutes' => :'Integer',
|
60
|
+
:'month' => :'Integer',
|
61
|
+
:'nanos' => :'Integer',
|
62
|
+
:'seconds' => :'Integer',
|
63
|
+
:'time' => :'Integer',
|
64
|
+
:'timezone_offset' => :'Integer',
|
65
|
+
:'year' => :'Integer'
|
62
66
|
}
|
63
67
|
end
|
64
68
|
|
@@ -70,32 +74,44 @@ module Wire4Client
|
|
70
74
|
# convert string to symbol for hash key
|
71
75
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
72
76
|
|
73
|
-
if attributes.has_key?(:'
|
74
|
-
self.
|
77
|
+
if attributes.has_key?(:'date')
|
78
|
+
self.date = attributes[:'date']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.has_key?(:'day')
|
82
|
+
self.day = attributes[:'day']
|
83
|
+
end
|
84
|
+
|
85
|
+
if attributes.has_key?(:'hours')
|
86
|
+
self.hours = attributes[:'hours']
|
87
|
+
end
|
88
|
+
|
89
|
+
if attributes.has_key?(:'minutes')
|
90
|
+
self.minutes = attributes[:'minutes']
|
75
91
|
end
|
76
92
|
|
77
|
-
if attributes.has_key?(:'
|
78
|
-
self.
|
93
|
+
if attributes.has_key?(:'month')
|
94
|
+
self.month = attributes[:'month']
|
79
95
|
end
|
80
96
|
|
81
|
-
if attributes.has_key?(:'
|
82
|
-
self.
|
97
|
+
if attributes.has_key?(:'nanos')
|
98
|
+
self.nanos = attributes[:'nanos']
|
83
99
|
end
|
84
100
|
|
85
|
-
if attributes.has_key?(:'
|
86
|
-
self.
|
101
|
+
if attributes.has_key?(:'seconds')
|
102
|
+
self.seconds = attributes[:'seconds']
|
87
103
|
end
|
88
104
|
|
89
|
-
if attributes.has_key?(:'
|
90
|
-
self.
|
105
|
+
if attributes.has_key?(:'time')
|
106
|
+
self.time = attributes[:'time']
|
91
107
|
end
|
92
108
|
|
93
|
-
if attributes.has_key?(:'
|
94
|
-
self.
|
109
|
+
if attributes.has_key?(:'timezone_offset')
|
110
|
+
self.timezone_offset = attributes[:'timezone_offset']
|
95
111
|
end
|
96
112
|
|
97
|
-
if attributes.has_key?(:'
|
98
|
-
self.
|
113
|
+
if attributes.has_key?(:'year')
|
114
|
+
self.year = attributes[:'year']
|
99
115
|
end
|
100
116
|
end
|
101
117
|
|
@@ -117,13 +133,16 @@ module Wire4Client
|
|
117
133
|
def ==(o)
|
118
134
|
return true if self.equal?(o)
|
119
135
|
self.class == o.class &&
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
136
|
+
date == o.date &&
|
137
|
+
day == o.day &&
|
138
|
+
hours == o.hours &&
|
139
|
+
minutes == o.minutes &&
|
140
|
+
month == o.month &&
|
141
|
+
nanos == o.nanos &&
|
142
|
+
seconds == o.seconds &&
|
143
|
+
time == o.time &&
|
144
|
+
timezone_offset == o.timezone_offset &&
|
145
|
+
year == o.year
|
127
146
|
end
|
128
147
|
|
129
148
|
# @see the `==` method
|
@@ -135,7 +154,7 @@ module Wire4Client
|
|
135
154
|
# Calculates hash code according to all attributes.
|
136
155
|
# @return [Fixnum] Hash code
|
137
156
|
def hash
|
138
|
-
[
|
157
|
+
[date, day, hours, minutes, month, nanos, seconds, time, timezone_offset, year].hash
|
139
158
|
end
|
140
159
|
|
141
160
|
# Builds the object from hash
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#
|
4
|
+
#Referencia de la API de Wire4
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -18,12 +18,9 @@ module Wire4Client
|
|
18
18
|
# Monto de la transferencia
|
19
19
|
attr_accessor :amount
|
20
20
|
|
21
|
-
# Cuenta del beneficiario, podría ser un
|
21
|
+
# Cuenta del beneficiario, podría ser un numero celular, TDD o Cuenta CLABE interbancaria
|
22
22
|
attr_accessor :beneficiary_account
|
23
23
|
|
24
|
-
# La clave del banco beneficiario, proprocionada por BANXICO, este campo solo es obligatario cuando la cuenta beneficiaria es un número celular (*).
|
25
|
-
attr_accessor :beneficiary_bank_key
|
26
|
-
|
27
24
|
# Concepto de la transferencia
|
28
25
|
attr_accessor :concept
|
29
26
|
|
@@ -44,7 +41,6 @@ module Wire4Client
|
|
44
41
|
{
|
45
42
|
:'amount' => :'amount',
|
46
43
|
:'beneficiary_account' => :'beneficiary_account',
|
47
|
-
:'beneficiary_bank_key' => :'beneficiary_bank_key',
|
48
44
|
:'concept' => :'concept',
|
49
45
|
:'currency_code' => :'currency_code',
|
50
46
|
:'email' => :'email',
|
@@ -58,7 +54,6 @@ module Wire4Client
|
|
58
54
|
{
|
59
55
|
:'amount' => :'Float',
|
60
56
|
:'beneficiary_account' => :'String',
|
61
|
-
:'beneficiary_bank_key' => :'String',
|
62
57
|
:'concept' => :'String',
|
63
58
|
:'currency_code' => :'String',
|
64
59
|
:'email' => :'Array<String>',
|
@@ -83,10 +78,6 @@ module Wire4Client
|
|
83
78
|
self.beneficiary_account = attributes[:'beneficiary_account']
|
84
79
|
end
|
85
80
|
|
86
|
-
if attributes.has_key?(:'beneficiary_bank_key')
|
87
|
-
self.beneficiary_bank_key = attributes[:'beneficiary_bank_key']
|
88
|
-
end
|
89
|
-
|
90
81
|
if attributes.has_key?(:'concept')
|
91
82
|
self.concept = attributes[:'concept']
|
92
83
|
end
|
@@ -263,7 +254,6 @@ module Wire4Client
|
|
263
254
|
self.class == o.class &&
|
264
255
|
amount == o.amount &&
|
265
256
|
beneficiary_account == o.beneficiary_account &&
|
266
|
-
beneficiary_bank_key == o.beneficiary_bank_key &&
|
267
257
|
concept == o.concept &&
|
268
258
|
currency_code == o.currency_code &&
|
269
259
|
email == o.email &&
|
@@ -280,7 +270,7 @@ module Wire4Client
|
|
280
270
|
# Calculates hash code according to all attributes.
|
281
271
|
# @return [Fixnum] Hash code
|
282
272
|
def hash
|
283
|
-
[amount, beneficiary_account,
|
273
|
+
[amount, beneficiary_account, concept, currency_code, email, order_id, reference].hash
|
284
274
|
end
|
285
275
|
|
286
276
|
# Builds the object from hash
|
data/lib/wire4_client/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#
|
4
|
+
#Referencia de la API de Wire4
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module Wire4Client
|
14
|
-
VERSION = '0.0
|
14
|
+
VERSION = '1.0.0'
|
15
15
|
end
|
data/lib/wire4_client.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#
|
4
|
+
#Referencia de la API de Wire4
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -18,113 +18,62 @@ require 'wire4_client/configuration'
|
|
18
18
|
|
19
19
|
# Models
|
20
20
|
require 'wire4_client/models/account'
|
21
|
-
require 'wire4_client/models/account_detail'
|
22
|
-
require 'wire4_client/models/account_reassigned'
|
23
21
|
require 'wire4_client/models/account_request'
|
24
22
|
require 'wire4_client/models/account_response'
|
25
23
|
require 'wire4_client/models/account_spid'
|
26
|
-
require 'wire4_client/models/address_company'
|
27
24
|
require 'wire4_client/models/amount_request'
|
28
|
-
require 'wire4_client/models/authorization_transaction_group'
|
29
|
-
require 'wire4_client/models/authorized_beneficiaries_response'
|
30
|
-
require 'wire4_client/models/authorized_users'
|
31
25
|
require 'wire4_client/models/balance'
|
32
26
|
require 'wire4_client/models/balance_list_response'
|
33
|
-
require 'wire4_client/models/beneficiaries_query_register_status'
|
34
27
|
require 'wire4_client/models/beneficiaries_response'
|
35
28
|
require 'wire4_client/models/beneficiary_institution'
|
36
29
|
require 'wire4_client/models/billing'
|
37
30
|
require 'wire4_client/models/billing_transaction'
|
38
31
|
require 'wire4_client/models/cep_response'
|
39
32
|
require 'wire4_client/models/cep_search_banxico'
|
40
|
-
require 'wire4_client/models/certificate_request'
|
41
|
-
require 'wire4_client/models/codi_code_qr_response_dto'
|
42
|
-
require 'wire4_client/models/codi_code_request_dto'
|
43
|
-
require 'wire4_client/models/codi_operation_response_dto'
|
44
|
-
require 'wire4_client/models/codi_operations_filters_request_dto'
|
45
|
-
require 'wire4_client/models/company_registered'
|
46
|
-
require 'wire4_client/models/company_requested'
|
47
|
-
require 'wire4_client/models/compay'
|
48
|
-
require 'wire4_client/models/configurations_limits'
|
49
33
|
require 'wire4_client/models/contact_request'
|
50
|
-
require 'wire4_client/models/contract_detail_request'
|
51
|
-
require 'wire4_client/models/contract_detail_response'
|
52
34
|
require 'wire4_client/models/deposit'
|
53
|
-
require 'wire4_client/models/deposit_authorization_request'
|
54
35
|
require 'wire4_client/models/depositant'
|
55
36
|
require 'wire4_client/models/depositants_register'
|
56
37
|
require 'wire4_client/models/depositants_response'
|
57
|
-
require 'wire4_client/models/deposits_authorization_response'
|
58
|
-
require 'wire4_client/models/detailed_error_response'
|
59
38
|
require 'wire4_client/models/error_response'
|
60
39
|
require 'wire4_client/models/get_depositants'
|
61
40
|
require 'wire4_client/models/institution'
|
62
41
|
require 'wire4_client/models/institutions_list'
|
63
|
-
require 'wire4_client/models/item'
|
64
42
|
require 'wire4_client/models/message_account_beneficiary'
|
65
43
|
require 'wire4_client/models/message_cep'
|
66
|
-
require 'wire4_client/models/message_codi_action'
|
67
|
-
require 'wire4_client/models/message_configurations_limits'
|
68
|
-
require 'wire4_client/models/message_deposit_authorization_request'
|
69
44
|
require 'wire4_client/models/message_deposit_received'
|
70
45
|
require 'wire4_client/models/message_institution'
|
71
46
|
require 'wire4_client/models/message_payment'
|
72
|
-
require 'wire4_client/models/message_payment_state_pending'
|
73
|
-
require 'wire4_client/models/message_request_changed'
|
74
|
-
require 'wire4_client/models/message_sales_point'
|
75
47
|
require 'wire4_client/models/message_subscription'
|
76
|
-
require 'wire4_client/models/message_user_authorized'
|
77
48
|
require 'wire4_client/models/message_web_hook'
|
78
|
-
require 'wire4_client/models/operations'
|
79
|
-
require 'wire4_client/models/pager_response_dto'
|
80
49
|
require 'wire4_client/models/payment'
|
81
|
-
require 'wire4_client/models/payment_codi'
|
82
|
-
require 'wire4_client/models/payment_request_codi_response_dto'
|
83
50
|
require 'wire4_client/models/payments_request_id'
|
84
51
|
require 'wire4_client/models/person'
|
85
52
|
require 'wire4_client/models/pre_enrollment_data'
|
86
53
|
require 'wire4_client/models/pre_enrollment_response'
|
87
|
-
require 'wire4_client/models/pre_monex_authorization'
|
88
54
|
require 'wire4_client/models/relationship'
|
89
55
|
require 'wire4_client/models/relationships_response'
|
90
|
-
require 'wire4_client/models/sales_point'
|
91
|
-
require 'wire4_client/models/sales_point_found'
|
92
|
-
require 'wire4_client/models/sales_point_request'
|
93
|
-
require 'wire4_client/models/sales_point_respose'
|
94
56
|
require 'wire4_client/models/spid_beneficiaries_response'
|
95
57
|
require 'wire4_client/models/spid_beneficiary_response'
|
96
58
|
require 'wire4_client/models/spid_classification_dto'
|
97
59
|
require 'wire4_client/models/spid_classifications_response_dto'
|
60
|
+
require 'wire4_client/models/timestamp'
|
98
61
|
require 'wire4_client/models/token_required_response'
|
99
|
-
require 'wire4_client/models/transaction_error_code'
|
100
62
|
require 'wire4_client/models/transaction_outgoing'
|
101
63
|
require 'wire4_client/models/transaction_outgoing_spid'
|
102
64
|
require 'wire4_client/models/transactions_outgoing_register'
|
103
|
-
require 'wire4_client/models/update_configurations_request_dto'
|
104
|
-
require 'wire4_client/models/urls_redirect'
|
105
|
-
require 'wire4_client/models/user_company'
|
106
|
-
require 'wire4_client/models/web_hook_deposit_authorization_request'
|
107
|
-
require 'wire4_client/models/web_hook_deposit_authorization_response'
|
108
|
-
require 'wire4_client/models/webhook'
|
109
65
|
require 'wire4_client/models/webhook_request'
|
110
66
|
require 'wire4_client/models/webhook_response'
|
111
67
|
require 'wire4_client/models/webhooks_list'
|
112
68
|
|
113
69
|
# APIs
|
114
|
-
require 'wire4_client/api/autorizacin_de_depsitos_api'
|
115
70
|
require 'wire4_client/api/comprobante_electrnico_de_pago_cep_api'
|
116
71
|
require 'wire4_client/api/contacto_api'
|
117
|
-
require 'wire4_client/api/contracts_details_api'
|
118
72
|
require 'wire4_client/api/cuentas_de_beneficiarios_spei_api'
|
119
73
|
require 'wire4_client/api/cuentas_de_beneficiarios_spid_api'
|
120
74
|
require 'wire4_client/api/depositantes_api'
|
121
|
-
require 'wire4_client/api/empresas_co_di_api'
|
122
75
|
require 'wire4_client/api/facturas_api'
|
123
76
|
require 'wire4_client/api/instituciones_api'
|
124
|
-
require 'wire4_client/api/lmites_de_montos_api'
|
125
|
-
require 'wire4_client/api/operaciones_co_di_api'
|
126
|
-
require 'wire4_client/api/peticiones_de_pago_por_co_di_api'
|
127
|
-
require 'wire4_client/api/puntos_de_venta_co_di_api'
|
128
77
|
require 'wire4_client/api/saldo_api'
|
129
78
|
require 'wire4_client/api/suscripciones_api'
|
130
79
|
require 'wire4_client/api/transferencias_spei_api'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#
|
4
|
+
#Referencia de la API de Wire4
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -32,20 +32,6 @@ describe 'CuentasDeBeneficiariosSPEIApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for authorize_accounts_pending_put
|
36
|
-
# Recibe la solicitud para agrupar las cuentas SPEI/SPID de beneficiarios en estado pendiente que deben ser autorizadas
|
37
|
-
# Solicta autorizar las cuentas de beneficiarios en estado pendiente agrupandolas en un set de cuentas que pueden incluir tanto cuentas de SPI como de SPID, debe indicar las urls de redireccion en caso de error y en caso de exito<br/>
|
38
|
-
# @param authorization Header para token
|
39
|
-
# @param subscription El identificador de la suscripción a esta API
|
40
|
-
# @param urls_redirect_dto Información de la cuenta del beneficiario
|
41
|
-
# @param [Hash] opts the optional parameters
|
42
|
-
# @return [AuthorizedBeneficiariesResponse]
|
43
|
-
describe 'authorize_accounts_pending_put test' do
|
44
|
-
it 'should work' do
|
45
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
35
|
# unit tests for delete_account_using_delete
|
50
36
|
# Elimina la cuenta del beneficiario
|
51
37
|
# Borra la cuenta de beneficiario proporcionada relacionada al contrato perteneciente a la subscripción. La cuenta a borrar debe ser una cuenta que opere con SPEI.
|
@@ -73,20 +59,6 @@ describe 'CuentasDeBeneficiariosSPEIApi' do
|
|
73
59
|
end
|
74
60
|
end
|
75
61
|
|
76
|
-
# unit tests for get_beneficiaries_by_request_id
|
77
|
-
# Consulta los beneficiarios por el identificador de la petición de registro
|
78
|
-
# Obtiene los beneficiarios enviados para registro en una petición al contrato relacionado con la suscripción, Los beneficiarios son los que actualmente se encuentran registrados en banca Monex, que pertenezcan a la petición que se solicita.
|
79
|
-
# @param authorization Header para token
|
80
|
-
# @param request_id El identificador de la petición del registro de beneficiarios a esta API
|
81
|
-
# @param subscription El identificador de la suscripción a esta API
|
82
|
-
# @param [Hash] opts the optional parameters
|
83
|
-
# @return [BeneficiariesResponse]
|
84
|
-
describe 'get_beneficiaries_by_request_id test' do
|
85
|
-
it 'should work' do
|
86
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
87
|
-
end
|
88
|
-
end
|
89
|
-
|
90
62
|
# unit tests for get_beneficiaries_for_account_using_get
|
91
63
|
# Consulta los beneficiarios registrados
|
92
64
|
# Obtiene los beneficiarios registrados al contrato relacionado con la suscripción, Los beneficiarios son los que actualmente se encuentran registrados en banca Monex.
|
@@ -94,12 +66,7 @@ describe 'CuentasDeBeneficiariosSPEIApi' do
|
|
94
66
|
# @param subscription El identificador de la suscripción a esta API
|
95
67
|
# @param [Hash] opts the optional parameters
|
96
68
|
# @option opts [String] :account Cuenta del beneficiario, puede ser Clabe, TDD o Celular
|
97
|
-
# @option opts [String] :beneficiary_bank Clave del banco beneficiario
|
98
|
-
# @option opts [String] :beneficiary_name Nombre del beneficiario
|
99
|
-
# @option opts [String] :end_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
100
|
-
# @option opts [String] :init_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
101
69
|
# @option opts [String] :rfc RFC del beneficiario
|
102
|
-
# @option opts [String] :status Estatus de la cuenta
|
103
70
|
# @return [BeneficiariesResponse]
|
104
71
|
describe 'get_beneficiaries_for_account_using_get test' do
|
105
72
|
it 'should work' do
|
@@ -136,14 +103,14 @@ describe 'CuentasDeBeneficiariosSPEIApi' do
|
|
136
103
|
end
|
137
104
|
|
138
105
|
# unit tests for update_amount_limit_account_using_put
|
139
|
-
#
|
140
|
-
#
|
106
|
+
# Actualiza el monto límite
|
107
|
+
# Actualiza el monto límite a la cuenta de beneficiario proporcionada relacionada al contrato perteneciente a la subscripción.
|
141
108
|
# @param authorization Header para token
|
142
109
|
# @param account Cuenta a actualizar
|
143
110
|
# @param request_dto Información de la cuenta y el monto límite a actualizar
|
144
111
|
# @param subscription El identificador de la suscripción a esta API
|
145
112
|
# @param [Hash] opts the optional parameters
|
146
|
-
# @return [
|
113
|
+
# @return [nil]
|
147
114
|
describe 'update_amount_limit_account_using_put test' do
|
148
115
|
it 'should work' do
|
149
116
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#
|
4
|
+
#Referencia de la API de Wire4
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -39,12 +39,7 @@ describe 'CuentasDeBeneficiariosSPIDApi' do
|
|
39
39
|
# @param subscription El identificador de la suscripción a esta API
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
41
|
# @option opts [String] :account Cuenta del beneficiario, puede ser Clabe, TDD o Celular
|
42
|
-
# @option opts [String] :beneficiary_bank Clave del banco beneficiario
|
43
|
-
# @option opts [String] :beneficiary_name Nombre del beneficiario
|
44
|
-
# @option opts [String] :end_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
45
|
-
# @option opts [String] :init_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
46
42
|
# @option opts [String] :rfc RFC del beneficiario
|
47
|
-
# @option opts [String] :status Estatus de la cuenta
|
48
43
|
# @return [SpidBeneficiariesResponse]
|
49
44
|
describe 'get_spid_beneficiaries_for_account test' do
|
50
45
|
it 'should work' do
|