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,7 +13,7 @@ Swagger Codegen version: 2.4.10
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module Wire4Client
|
16
|
-
# El mensaje que se envía mediante (webHook) con la información
|
16
|
+
# El mensaje que se envía mediante (webHook) con la información del transferencia de salida realizada
|
17
17
|
class MessagePayment
|
18
18
|
# Cuenta del ordenante
|
19
19
|
attr_accessor :account
|
@@ -30,7 +30,6 @@ module Wire4Client
|
|
30
30
|
# Nombre del beneficiario
|
31
31
|
attr_accessor :beneficiary_name
|
32
32
|
|
33
|
-
# Informacion del CEP
|
34
33
|
attr_accessor :cep
|
35
34
|
|
36
35
|
# Clave de rastreo de la transferencia
|
@@ -48,9 +47,6 @@ module Wire4Client
|
|
48
47
|
# Mensaje de detención de Monex de la transferencia de salida
|
49
48
|
attr_accessor :detention_message
|
50
49
|
|
51
|
-
# Mensaje de error
|
52
|
-
attr_accessor :error_message
|
53
|
-
|
54
50
|
# La descripción de Monex de la transferencia de salida
|
55
51
|
attr_accessor :monex_description
|
56
52
|
|
@@ -60,9 +56,6 @@ module Wire4Client
|
|
60
56
|
# El identificador de la orden de pago de Monex de la transferencia de salida
|
61
57
|
attr_accessor :payment_order_id
|
62
58
|
|
63
|
-
# Razón de porque está pendiente aún cuando se autorizó la transferencia
|
64
|
-
attr_accessor :pending_reason
|
65
|
-
|
66
59
|
# Referecia de la transferencia
|
67
60
|
attr_accessor :reference
|
68
61
|
|
@@ -89,11 +82,9 @@ module Wire4Client
|
|
89
82
|
:'confirm_date' => :'confirm_date',
|
90
83
|
:'currency_code' => :'currency_code',
|
91
84
|
:'detention_message' => :'detention_message',
|
92
|
-
:'error_message' => :'error_message',
|
93
85
|
:'monex_description' => :'monex_description',
|
94
86
|
:'order_id' => :'order_id',
|
95
87
|
:'payment_order_id' => :'payment_order_id',
|
96
|
-
:'pending_reason' => :'pending_reason',
|
97
88
|
:'reference' => :'reference',
|
98
89
|
:'request_id' => :'request_id',
|
99
90
|
:'status_code' => :'status_code',
|
@@ -115,11 +106,9 @@ module Wire4Client
|
|
115
106
|
:'confirm_date' => :'DateTime',
|
116
107
|
:'currency_code' => :'String',
|
117
108
|
:'detention_message' => :'String',
|
118
|
-
:'error_message' => :'String',
|
119
109
|
:'monex_description' => :'String',
|
120
110
|
:'order_id' => :'String',
|
121
111
|
:'payment_order_id' => :'Integer',
|
122
|
-
:'pending_reason' => :'String',
|
123
112
|
:'reference' => :'Integer',
|
124
113
|
:'request_id' => :'String',
|
125
114
|
:'status_code' => :'String',
|
@@ -179,10 +168,6 @@ module Wire4Client
|
|
179
168
|
self.detention_message = attributes[:'detention_message']
|
180
169
|
end
|
181
170
|
|
182
|
-
if attributes.has_key?(:'error_message')
|
183
|
-
self.error_message = attributes[:'error_message']
|
184
|
-
end
|
185
|
-
|
186
171
|
if attributes.has_key?(:'monex_description')
|
187
172
|
self.monex_description = attributes[:'monex_description']
|
188
173
|
end
|
@@ -195,10 +180,6 @@ module Wire4Client
|
|
195
180
|
self.payment_order_id = attributes[:'payment_order_id']
|
196
181
|
end
|
197
182
|
|
198
|
-
if attributes.has_key?(:'pending_reason')
|
199
|
-
self.pending_reason = attributes[:'pending_reason']
|
200
|
-
end
|
201
|
-
|
202
183
|
if attributes.has_key?(:'reference')
|
203
184
|
self.reference = attributes[:'reference']
|
204
185
|
end
|
@@ -245,11 +226,9 @@ module Wire4Client
|
|
245
226
|
confirm_date == o.confirm_date &&
|
246
227
|
currency_code == o.currency_code &&
|
247
228
|
detention_message == o.detention_message &&
|
248
|
-
error_message == o.error_message &&
|
249
229
|
monex_description == o.monex_description &&
|
250
230
|
order_id == o.order_id &&
|
251
231
|
payment_order_id == o.payment_order_id &&
|
252
|
-
pending_reason == o.pending_reason &&
|
253
232
|
reference == o.reference &&
|
254
233
|
request_id == o.request_id &&
|
255
234
|
status_code == o.status_code &&
|
@@ -265,7 +244,7 @@ module Wire4Client
|
|
265
244
|
# Calculates hash code according to all attributes.
|
266
245
|
# @return [Fixnum] Hash code
|
267
246
|
def hash
|
268
|
-
[account, amount, beneficiary_account, beneficiary_bank, beneficiary_name, cep, clave_rastreo, concept, confirm_date, currency_code, detention_message,
|
247
|
+
[account, amount, beneficiary_account, beneficiary_bank, beneficiary_name, cep, clave_rastreo, concept, confirm_date, currency_code, detention_message, monex_description, order_id, payment_order_id, reference, request_id, status_code, transaction_id].hash
|
269
248
|
end
|
270
249
|
|
271
250
|
# 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
|
|
@@ -13,24 +13,24 @@ Swagger Codegen version: 2.4.10
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module Wire4Client
|
16
|
-
# El mensaje que se envía mediante (webHook) con la información
|
16
|
+
# El mensaje que se envía mediante (webHook) con la información del la suscripción a esta a esta API
|
17
17
|
class MessageSubscription
|
18
|
-
# Contrato Monex, con el
|
18
|
+
# Contrato Monex, con el cual se suscribió el cliente Monex en Wire4
|
19
19
|
attr_accessor :contract
|
20
20
|
|
21
|
-
# Contrato enmascarado de Monex, con el
|
21
|
+
# Contrato enmascarado de Monex, con el cual se suscribió el cliente Monex en Wire4
|
22
22
|
attr_accessor :masked_contract
|
23
23
|
|
24
|
-
# Identificador de la suscripción, el cual se
|
24
|
+
# Identificador de la suscripción, el cual se utiliza en las operaciones que solicitan una suscripción
|
25
25
|
attr_accessor :subscription
|
26
26
|
|
27
|
-
# Usuario enmascardo, con el
|
27
|
+
# Usuario enmascardo, con el cual se suscribió el cliente Monex en Wire4
|
28
28
|
attr_accessor :user
|
29
29
|
|
30
|
-
# Usuario proporcionado por Wire4, el
|
30
|
+
# Usuario proporcionado por Wire4, el cual se debe utilizar para autenticar a esta suscripción
|
31
31
|
attr_accessor :user_key
|
32
32
|
|
33
|
-
# Contraseña proporcionada por Wire4, la
|
33
|
+
# Contraseña proporcionada por Wire4, la cual se debe utilizar para autenticar a esta suscripción
|
34
34
|
attr_accessor :user_secret
|
35
35
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -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
|
|
@@ -15,7 +15,7 @@ require 'date'
|
|
15
15
|
module Wire4Client
|
16
16
|
# El objeto que se envía mediante un mensaje WebHook
|
17
17
|
class MessageWebHook
|
18
|
-
# La versión de
|
18
|
+
# La versión de la API
|
19
19
|
attr_accessor :api_version
|
20
20
|
|
21
21
|
# Fecha de creación del mensaje
|
@@ -30,7 +30,7 @@ module Wire4Client
|
|
30
30
|
# Indica si proviene de un entorno productivo
|
31
31
|
attr_accessor :livemode
|
32
32
|
|
33
|
-
# Tipo de objeto que contiene el mensaje en el atributo
|
33
|
+
# Tipo de objeto que contiene el mensaje en el atributo data los posibles valores son: subscription, beneficiary, spei_outgoing, spei_incoming, spid_outgoing
|
34
34
|
attr_accessor :object
|
35
35
|
|
36
36
|
# Número de mensajes pendientes de enviar
|
@@ -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
|
|
@@ -29,7 +29,7 @@ module Wire4Client
|
|
29
29
|
# Nombre del Beneficiario
|
30
30
|
attr_accessor :beneficiary_name
|
31
31
|
|
32
|
-
# CEP emitido por Banxico de la transferencia, sólo en caso de que este disponible en
|
32
|
+
# CEP emitido por Banxico de la transferencia, sólo en caso de que este disponible en banxico, posteriomente podrá usar la consulta de CEP del API
|
33
33
|
attr_accessor :cep
|
34
34
|
|
35
35
|
# Clave de rastreo de la transferencia
|
@@ -47,9 +47,6 @@ module Wire4Client
|
|
47
47
|
# Mensaje proporcionado por Monex para la transferencia
|
48
48
|
attr_accessor :detention_message
|
49
49
|
|
50
|
-
# Mensaje de error, en caso de algún error se informará aquí
|
51
|
-
attr_accessor :error_message
|
52
|
-
|
53
50
|
# Descripción
|
54
51
|
attr_accessor :monex_description
|
55
52
|
|
@@ -59,9 +56,6 @@ module Wire4Client
|
|
59
56
|
# Identificador de la orden de pago en Monex
|
60
57
|
attr_accessor :payment_order_id
|
61
58
|
|
62
|
-
# Razón de porque esta pendiente aun cuando se autorizó la transferencia
|
63
|
-
attr_accessor :pending_reason
|
64
|
-
|
65
59
|
# Referencia numérica
|
66
60
|
attr_accessor :reference
|
67
61
|
|
@@ -85,11 +79,9 @@ module Wire4Client
|
|
85
79
|
:'confirm_date' => :'confirm_date',
|
86
80
|
:'currency_code' => :'currency_code',
|
87
81
|
:'detention_message' => :'detention_message',
|
88
|
-
:'error_message' => :'error_message',
|
89
82
|
:'monex_description' => :'monex_description',
|
90
83
|
:'order_id' => :'order_id',
|
91
84
|
:'payment_order_id' => :'payment_order_id',
|
92
|
-
:'pending_reason' => :'pending_reason',
|
93
85
|
:'reference' => :'reference',
|
94
86
|
:'status_code' => :'status_code',
|
95
87
|
:'transaction_id' => :'transaction_id'
|
@@ -110,11 +102,9 @@ module Wire4Client
|
|
110
102
|
:'confirm_date' => :'DateTime',
|
111
103
|
:'currency_code' => :'String',
|
112
104
|
:'detention_message' => :'String',
|
113
|
-
:'error_message' => :'String',
|
114
105
|
:'monex_description' => :'String',
|
115
106
|
:'order_id' => :'String',
|
116
107
|
:'payment_order_id' => :'Integer',
|
117
|
-
:'pending_reason' => :'String',
|
118
108
|
:'reference' => :'Integer',
|
119
109
|
:'status_code' => :'String',
|
120
110
|
:'transaction_id' => :'Integer'
|
@@ -173,10 +163,6 @@ module Wire4Client
|
|
173
163
|
self.detention_message = attributes[:'detention_message']
|
174
164
|
end
|
175
165
|
|
176
|
-
if attributes.has_key?(:'error_message')
|
177
|
-
self.error_message = attributes[:'error_message']
|
178
|
-
end
|
179
|
-
|
180
166
|
if attributes.has_key?(:'monex_description')
|
181
167
|
self.monex_description = attributes[:'monex_description']
|
182
168
|
end
|
@@ -189,10 +175,6 @@ module Wire4Client
|
|
189
175
|
self.payment_order_id = attributes[:'payment_order_id']
|
190
176
|
end
|
191
177
|
|
192
|
-
if attributes.has_key?(:'pending_reason')
|
193
|
-
self.pending_reason = attributes[:'pending_reason']
|
194
|
-
end
|
195
|
-
|
196
178
|
if attributes.has_key?(:'reference')
|
197
179
|
self.reference = attributes[:'reference']
|
198
180
|
end
|
@@ -235,11 +217,9 @@ module Wire4Client
|
|
235
217
|
confirm_date == o.confirm_date &&
|
236
218
|
currency_code == o.currency_code &&
|
237
219
|
detention_message == o.detention_message &&
|
238
|
-
error_message == o.error_message &&
|
239
220
|
monex_description == o.monex_description &&
|
240
221
|
order_id == o.order_id &&
|
241
222
|
payment_order_id == o.payment_order_id &&
|
242
|
-
pending_reason == o.pending_reason &&
|
243
223
|
reference == o.reference &&
|
244
224
|
status_code == o.status_code &&
|
245
225
|
transaction_id == o.transaction_id
|
@@ -254,7 +234,7 @@ module Wire4Client
|
|
254
234
|
# Calculates hash code according to all attributes.
|
255
235
|
# @return [Fixnum] Hash code
|
256
236
|
def hash
|
257
|
-
[account, amount, beneficiary_account, beneficiary_bank, beneficiary_name, cep, clave_rastreo, concept, confirm_date, currency_code, detention_message,
|
237
|
+
[account, amount, beneficiary_account, beneficiary_bank, beneficiary_name, cep, clave_rastreo, concept, confirm_date, currency_code, detention_message, monex_description, order_id, payment_order_id, reference, status_code, transaction_id].hash
|
258
238
|
end
|
259
239
|
|
260
240
|
# 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,9 +18,6 @@ module Wire4Client
|
|
18
18
|
# Monto límite permitido para la cuenta
|
19
19
|
attr_accessor :amount_limit
|
20
20
|
|
21
|
-
# La fecha/hora en la que se autorizo el registro del beneficiario desde el centro de autorización
|
22
|
-
attr_accessor :authorization_date
|
23
|
-
|
24
21
|
# El banco al cual pertenece la cuenta
|
25
22
|
attr_accessor :bank
|
26
23
|
|
@@ -42,23 +39,16 @@ module Wire4Client
|
|
42
39
|
# Concepto de pago
|
43
40
|
attr_accessor :payment_concept_spid
|
44
41
|
|
45
|
-
# La fecha en la que se registro el beneficiario
|
46
|
-
attr_accessor :register_date
|
47
|
-
|
48
42
|
# Código de relación de la cuenta, este valor debe ser igual a uno de los obtenidos del recurso de consulta de relationship
|
49
43
|
attr_accessor :relationship
|
50
44
|
|
51
45
|
# Registro federal de contribuyentes
|
52
46
|
attr_accessor :rfc
|
53
47
|
|
54
|
-
# El estado en el que se encuentra el registo del beneficiario
|
55
|
-
attr_accessor :status
|
56
|
-
|
57
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
58
49
|
def self.attribute_map
|
59
50
|
{
|
60
51
|
:'amount_limit' => :'amount_limit',
|
61
|
-
:'authorization_date' => :'authorization_date',
|
62
52
|
:'bank' => :'bank',
|
63
53
|
:'beneficiary_account' => :'beneficiary_account',
|
64
54
|
:'email' => :'email',
|
@@ -66,10 +56,8 @@ module Wire4Client
|
|
66
56
|
:'kind_of_relationship' => :'kind_of_relationship',
|
67
57
|
:'numeric_reference_spid' => :'numeric_reference_spid',
|
68
58
|
:'payment_concept_spid' => :'payment_concept_spid',
|
69
|
-
:'register_date' => :'register_date',
|
70
59
|
:'relationship' => :'relationship',
|
71
|
-
:'rfc' => :'rfc'
|
72
|
-
:'status' => :'status'
|
60
|
+
:'rfc' => :'rfc'
|
73
61
|
}
|
74
62
|
end
|
75
63
|
|
@@ -77,7 +65,6 @@ module Wire4Client
|
|
77
65
|
def self.swagger_types
|
78
66
|
{
|
79
67
|
:'amount_limit' => :'Float',
|
80
|
-
:'authorization_date' => :'DateTime',
|
81
68
|
:'bank' => :'Institution',
|
82
69
|
:'beneficiary_account' => :'String',
|
83
70
|
:'email' => :'Array<String>',
|
@@ -85,10 +72,8 @@ module Wire4Client
|
|
85
72
|
:'kind_of_relationship' => :'String',
|
86
73
|
:'numeric_reference_spid' => :'String',
|
87
74
|
:'payment_concept_spid' => :'String',
|
88
|
-
:'register_date' => :'DateTime',
|
89
75
|
:'relationship' => :'String',
|
90
|
-
:'rfc' => :'String'
|
91
|
-
:'status' => :'String'
|
76
|
+
:'rfc' => :'String'
|
92
77
|
}
|
93
78
|
end
|
94
79
|
|
@@ -104,10 +89,6 @@ module Wire4Client
|
|
104
89
|
self.amount_limit = attributes[:'amount_limit']
|
105
90
|
end
|
106
91
|
|
107
|
-
if attributes.has_key?(:'authorization_date')
|
108
|
-
self.authorization_date = attributes[:'authorization_date']
|
109
|
-
end
|
110
|
-
|
111
92
|
if attributes.has_key?(:'bank')
|
112
93
|
self.bank = attributes[:'bank']
|
113
94
|
end
|
@@ -138,10 +119,6 @@ module Wire4Client
|
|
138
119
|
self.payment_concept_spid = attributes[:'payment_concept_spid']
|
139
120
|
end
|
140
121
|
|
141
|
-
if attributes.has_key?(:'register_date')
|
142
|
-
self.register_date = attributes[:'register_date']
|
143
|
-
end
|
144
|
-
|
145
122
|
if attributes.has_key?(:'relationship')
|
146
123
|
self.relationship = attributes[:'relationship']
|
147
124
|
end
|
@@ -149,10 +126,6 @@ module Wire4Client
|
|
149
126
|
if attributes.has_key?(:'rfc')
|
150
127
|
self.rfc = attributes[:'rfc']
|
151
128
|
end
|
152
|
-
|
153
|
-
if attributes.has_key?(:'status')
|
154
|
-
self.status = attributes[:'status']
|
155
|
-
end
|
156
129
|
end
|
157
130
|
|
158
131
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -232,7 +205,6 @@ module Wire4Client
|
|
232
205
|
return true if self.equal?(o)
|
233
206
|
self.class == o.class &&
|
234
207
|
amount_limit == o.amount_limit &&
|
235
|
-
authorization_date == o.authorization_date &&
|
236
208
|
bank == o.bank &&
|
237
209
|
beneficiary_account == o.beneficiary_account &&
|
238
210
|
email == o.email &&
|
@@ -240,10 +212,8 @@ module Wire4Client
|
|
240
212
|
kind_of_relationship == o.kind_of_relationship &&
|
241
213
|
numeric_reference_spid == o.numeric_reference_spid &&
|
242
214
|
payment_concept_spid == o.payment_concept_spid &&
|
243
|
-
register_date == o.register_date &&
|
244
215
|
relationship == o.relationship &&
|
245
|
-
rfc == o.rfc
|
246
|
-
status == o.status
|
216
|
+
rfc == o.rfc
|
247
217
|
end
|
248
218
|
|
249
219
|
# @see the `==` method
|
@@ -255,7 +225,7 @@ module Wire4Client
|
|
255
225
|
# Calculates hash code according to all attributes.
|
256
226
|
# @return [Fixnum] Hash code
|
257
227
|
def hash
|
258
|
-
[amount_limit,
|
228
|
+
[amount_limit, bank, beneficiary_account, email, institution, kind_of_relationship, numeric_reference_spid, payment_concept_spid, relationship, rfc].hash
|
259
229
|
end
|
260
230
|
|
261
231
|
# Builds the object from hash
|