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
|
|
@@ -18,26 +18,18 @@ module Wire4Client
|
|
18
18
|
# Nuevo monto límite que reemplazará al actual, un monto de 0.0 implica que no hay límite
|
19
19
|
attr_accessor :amount_limit
|
20
20
|
|
21
|
-
# Url a la que se redirigirá en caso de que el cliente cancele el registro
|
22
|
-
attr_accessor :cancel_return_url
|
23
|
-
|
24
21
|
# Código de moneda de la cuenta
|
25
22
|
attr_accessor :currency_code
|
26
23
|
|
27
24
|
# Monto límite registrado actualmente, un monto de 0.0 implica que no hay límite
|
28
25
|
attr_accessor :previous_amount_limit
|
29
26
|
|
30
|
-
# Url a la que se redirigirá en caso de éxito
|
31
|
-
attr_accessor :return_url
|
32
|
-
|
33
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
28
|
def self.attribute_map
|
35
29
|
{
|
36
30
|
:'amount_limit' => :'amount_limit',
|
37
|
-
:'cancel_return_url' => :'cancel_return_url',
|
38
31
|
:'currency_code' => :'currency_code',
|
39
|
-
:'previous_amount_limit' => :'previous_amount_limit'
|
40
|
-
:'return_url' => :'return_url'
|
32
|
+
:'previous_amount_limit' => :'previous_amount_limit'
|
41
33
|
}
|
42
34
|
end
|
43
35
|
|
@@ -45,10 +37,8 @@ module Wire4Client
|
|
45
37
|
def self.swagger_types
|
46
38
|
{
|
47
39
|
:'amount_limit' => :'Float',
|
48
|
-
:'cancel_return_url' => :'String',
|
49
40
|
:'currency_code' => :'String',
|
50
|
-
:'previous_amount_limit' => :'Float'
|
51
|
-
:'return_url' => :'String'
|
41
|
+
:'previous_amount_limit' => :'Float'
|
52
42
|
}
|
53
43
|
end
|
54
44
|
|
@@ -64,10 +54,6 @@ module Wire4Client
|
|
64
54
|
self.amount_limit = attributes[:'amount_limit']
|
65
55
|
end
|
66
56
|
|
67
|
-
if attributes.has_key?(:'cancel_return_url')
|
68
|
-
self.cancel_return_url = attributes[:'cancel_return_url']
|
69
|
-
end
|
70
|
-
|
71
57
|
if attributes.has_key?(:'currency_code')
|
72
58
|
self.currency_code = attributes[:'currency_code']
|
73
59
|
end
|
@@ -75,10 +61,6 @@ module Wire4Client
|
|
75
61
|
if attributes.has_key?(:'previous_amount_limit')
|
76
62
|
self.previous_amount_limit = attributes[:'previous_amount_limit']
|
77
63
|
end
|
78
|
-
|
79
|
-
if attributes.has_key?(:'return_url')
|
80
|
-
self.return_url = attributes[:'return_url']
|
81
|
-
end
|
82
64
|
end
|
83
65
|
|
84
66
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -93,18 +75,6 @@ module Wire4Client
|
|
93
75
|
invalid_properties.push('invalid value for "amount_limit", must be greater than or equal to 0.0.')
|
94
76
|
end
|
95
77
|
|
96
|
-
if @cancel_return_url.nil?
|
97
|
-
invalid_properties.push('invalid value for "cancel_return_url", cancel_return_url cannot be nil.')
|
98
|
-
end
|
99
|
-
|
100
|
-
if @cancel_return_url.to_s.length > 512
|
101
|
-
invalid_properties.push('invalid value for "cancel_return_url", the character length must be smaller than or equal to 512.')
|
102
|
-
end
|
103
|
-
|
104
|
-
if @cancel_return_url.to_s.length < 10
|
105
|
-
invalid_properties.push('invalid value for "cancel_return_url", the character length must be great than or equal to 10.')
|
106
|
-
end
|
107
|
-
|
108
78
|
if @currency_code.nil?
|
109
79
|
invalid_properties.push('invalid value for "currency_code", currency_code cannot be nil.')
|
110
80
|
end
|
@@ -117,18 +87,6 @@ module Wire4Client
|
|
117
87
|
invalid_properties.push('invalid value for "previous_amount_limit", must be greater than or equal to 0.0.')
|
118
88
|
end
|
119
89
|
|
120
|
-
if @return_url.nil?
|
121
|
-
invalid_properties.push('invalid value for "return_url", return_url cannot be nil.')
|
122
|
-
end
|
123
|
-
|
124
|
-
if @return_url.to_s.length > 512
|
125
|
-
invalid_properties.push('invalid value for "return_url", the character length must be smaller than or equal to 512.')
|
126
|
-
end
|
127
|
-
|
128
|
-
if @return_url.to_s.length < 10
|
129
|
-
invalid_properties.push('invalid value for "return_url", the character length must be great than or equal to 10.')
|
130
|
-
end
|
131
|
-
|
132
90
|
invalid_properties
|
133
91
|
end
|
134
92
|
|
@@ -137,15 +95,9 @@ module Wire4Client
|
|
137
95
|
def valid?
|
138
96
|
return false if @amount_limit.nil?
|
139
97
|
return false if @amount_limit < 0.0
|
140
|
-
return false if @cancel_return_url.nil?
|
141
|
-
return false if @cancel_return_url.to_s.length > 512
|
142
|
-
return false if @cancel_return_url.to_s.length < 10
|
143
98
|
return false if @currency_code.nil?
|
144
99
|
return false if @previous_amount_limit.nil?
|
145
100
|
return false if @previous_amount_limit < 0.0
|
146
|
-
return false if @return_url.nil?
|
147
|
-
return false if @return_url.to_s.length > 512
|
148
|
-
return false if @return_url.to_s.length < 10
|
149
101
|
true
|
150
102
|
end
|
151
103
|
|
@@ -163,24 +115,6 @@ module Wire4Client
|
|
163
115
|
@amount_limit = amount_limit
|
164
116
|
end
|
165
117
|
|
166
|
-
# Custom attribute writer method with validation
|
167
|
-
# @param [Object] cancel_return_url Value to be assigned
|
168
|
-
def cancel_return_url=(cancel_return_url)
|
169
|
-
if cancel_return_url.nil?
|
170
|
-
fail ArgumentError, 'cancel_return_url cannot be nil'
|
171
|
-
end
|
172
|
-
|
173
|
-
if cancel_return_url.to_s.length > 512
|
174
|
-
fail ArgumentError, 'invalid value for "cancel_return_url", the character length must be smaller than or equal to 512.'
|
175
|
-
end
|
176
|
-
|
177
|
-
if cancel_return_url.to_s.length < 10
|
178
|
-
fail ArgumentError, 'invalid value for "cancel_return_url", the character length must be great than or equal to 10.'
|
179
|
-
end
|
180
|
-
|
181
|
-
@cancel_return_url = cancel_return_url
|
182
|
-
end
|
183
|
-
|
184
118
|
# Custom attribute writer method with validation
|
185
119
|
# @param [Object] previous_amount_limit Value to be assigned
|
186
120
|
def previous_amount_limit=(previous_amount_limit)
|
@@ -195,34 +129,14 @@ module Wire4Client
|
|
195
129
|
@previous_amount_limit = previous_amount_limit
|
196
130
|
end
|
197
131
|
|
198
|
-
# Custom attribute writer method with validation
|
199
|
-
# @param [Object] return_url Value to be assigned
|
200
|
-
def return_url=(return_url)
|
201
|
-
if return_url.nil?
|
202
|
-
fail ArgumentError, 'return_url cannot be nil'
|
203
|
-
end
|
204
|
-
|
205
|
-
if return_url.to_s.length > 512
|
206
|
-
fail ArgumentError, 'invalid value for "return_url", the character length must be smaller than or equal to 512.'
|
207
|
-
end
|
208
|
-
|
209
|
-
if return_url.to_s.length < 10
|
210
|
-
fail ArgumentError, 'invalid value for "return_url", the character length must be great than or equal to 10.'
|
211
|
-
end
|
212
|
-
|
213
|
-
@return_url = return_url
|
214
|
-
end
|
215
|
-
|
216
132
|
# Checks equality by comparing each attribute.
|
217
133
|
# @param [Object] Object to be compared
|
218
134
|
def ==(o)
|
219
135
|
return true if self.equal?(o)
|
220
136
|
self.class == o.class &&
|
221
137
|
amount_limit == o.amount_limit &&
|
222
|
-
cancel_return_url == o.cancel_return_url &&
|
223
138
|
currency_code == o.currency_code &&
|
224
|
-
previous_amount_limit == o.previous_amount_limit
|
225
|
-
return_url == o.return_url
|
139
|
+
previous_amount_limit == o.previous_amount_limit
|
226
140
|
end
|
227
141
|
|
228
142
|
# @see the `==` method
|
@@ -234,7 +148,7 @@ module Wire4Client
|
|
234
148
|
# Calculates hash code according to all attributes.
|
235
149
|
# @return [Fixnum] Hash code
|
236
150
|
def hash
|
237
|
-
[amount_limit,
|
151
|
+
[amount_limit, currency_code, previous_amount_limit].hash
|
238
152
|
end
|
239
153
|
|
240
154
|
# 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
|
|
@@ -81,7 +81,7 @@ module Wire4Client
|
|
81
81
|
:'amount' => :'Float',
|
82
82
|
:'clave_rastreo' => :'String',
|
83
83
|
:'monex_id' => :'Integer',
|
84
|
-
:'operation_date' => :'
|
84
|
+
:'operation_date' => :'Timestamp',
|
85
85
|
:'order_id' => :'String',
|
86
86
|
:'payment_order_id' => :'String',
|
87
87
|
:'transaction_id' => :'Integer',
|
@@ -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
|
|
@@ -26,9 +26,6 @@ module Wire4Client
|
|
26
26
|
# El RFC del beneficiario
|
27
27
|
attr_accessor :beneficiary_rfc
|
28
28
|
|
29
|
-
# 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
|
30
|
-
attr_accessor :cep
|
31
|
-
|
32
29
|
# La clave de rastreo de la transferencia
|
33
30
|
attr_accessor :clave_rastreo
|
34
31
|
|
@@ -84,7 +81,6 @@ module Wire4Client
|
|
84
81
|
:'beneficiary_account' => :'beneficiary_account',
|
85
82
|
:'beneficiary_name' => :'beneficiary_name',
|
86
83
|
:'beneficiary_rfc' => :'beneficiary_rfc',
|
87
|
-
:'cep' => :'cep',
|
88
84
|
:'clave_rastreo' => :'clave_rastreo',
|
89
85
|
:'confirm_date' => :'confirm_date',
|
90
86
|
:'currency_code' => :'currency_code',
|
@@ -111,7 +107,6 @@ module Wire4Client
|
|
111
107
|
:'beneficiary_account' => :'String',
|
112
108
|
:'beneficiary_name' => :'String',
|
113
109
|
:'beneficiary_rfc' => :'String',
|
114
|
-
:'cep' => :'MessageCEP',
|
115
110
|
:'clave_rastreo' => :'String',
|
116
111
|
:'confirm_date' => :'DateTime',
|
117
112
|
:'currency_code' => :'String',
|
@@ -155,10 +150,6 @@ module Wire4Client
|
|
155
150
|
self.beneficiary_rfc = attributes[:'beneficiary_rfc']
|
156
151
|
end
|
157
152
|
|
158
|
-
if attributes.has_key?(:'cep')
|
159
|
-
self.cep = attributes[:'cep']
|
160
|
-
end
|
161
|
-
|
162
153
|
if attributes.has_key?(:'clave_rastreo')
|
163
154
|
self.clave_rastreo = attributes[:'clave_rastreo']
|
164
155
|
end
|
@@ -246,7 +237,6 @@ module Wire4Client
|
|
246
237
|
beneficiary_account == o.beneficiary_account &&
|
247
238
|
beneficiary_name == o.beneficiary_name &&
|
248
239
|
beneficiary_rfc == o.beneficiary_rfc &&
|
249
|
-
cep == o.cep &&
|
250
240
|
clave_rastreo == o.clave_rastreo &&
|
251
241
|
confirm_date == o.confirm_date &&
|
252
242
|
currency_code == o.currency_code &&
|
@@ -274,7 +264,7 @@ module Wire4Client
|
|
274
264
|
# Calculates hash code according to all attributes.
|
275
265
|
# @return [Fixnum] Hash code
|
276
266
|
def hash
|
277
|
-
[amount, beneficiary_account, beneficiary_name, beneficiary_rfc,
|
267
|
+
[amount, beneficiary_account, beneficiary_name, beneficiary_rfc, clave_rastreo, confirm_date, currency_code, deposit_date, depositant, depositant_clabe, depositant_email, depositant_rfc, description, monex_description, monex_transaction_id, reference, sender_account, sender_bank, sender_name, sender_rfc].hash
|
278
268
|
end
|
279
269
|
|
280
270
|
# 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
|
|
@@ -15,13 +15,13 @@ require 'date'
|
|
15
15
|
module Wire4Client
|
16
16
|
# El mensaje que se envía mediante (webHook) con la información del registro de la cuenta del beneficiario
|
17
17
|
class MessageAccountBeneficiary
|
18
|
-
# Cuenta del beneficiario
|
18
|
+
# Cuenta del beneficiario
|
19
19
|
attr_accessor :account
|
20
20
|
|
21
21
|
# Mensaje de error en caso de existir, el valor de este atributo contiene el mensaje
|
22
22
|
attr_accessor :error_message
|
23
23
|
|
24
|
-
# El identificador en esta API, de la petición de registro de la cuenta del beneficiario
|
24
|
+
# El identificador, en esta API, de la petición de registro de la cuenta del beneficiario
|
25
25
|
attr_accessor :request_id
|
26
26
|
|
27
27
|
# 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
|
|
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.4.10
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module Wire4Client
|
16
|
-
# El CEP emitido por Banxico de la transferencia. Solo cuando
|
16
|
+
# El CEP emitido por Banxico de la transferencia. Solo cuando este disponible, en otro caso se podrá usar la Consulta de CEP que esta misma API ofrece
|
17
17
|
class MessageCEP
|
18
18
|
# Cuenta del beneficiario
|
19
19
|
attr_accessor :account_beneficiary
|
@@ -24,13 +24,13 @@ module Wire4Client
|
|
24
24
|
# Monto de la operación
|
25
25
|
attr_accessor :amount
|
26
26
|
|
27
|
-
#
|
27
|
+
# Bander para saber si el cep esta disponible
|
28
28
|
attr_accessor :available
|
29
29
|
|
30
30
|
# Clave del banco beneficiario
|
31
31
|
attr_accessor :bank_beneficiary
|
32
32
|
|
33
|
-
# Clave del banco que
|
33
|
+
# Clave del banco que envia la operación
|
34
34
|
attr_accessor :bank_sender
|
35
35
|
|
36
36
|
# Nombre del beneficiario
|
@@ -45,7 +45,7 @@ module Wire4Client
|
|
45
45
|
# Fecha de captura
|
46
46
|
attr_accessor :capture_date
|
47
47
|
|
48
|
-
#
|
48
|
+
# Numero de serie emitido por el SAT
|
49
49
|
attr_accessor :certificate_serial_number
|
50
50
|
|
51
51
|
# Clave de rastreo de la operación
|
@@ -54,28 +54,28 @@ module Wire4Client
|
|
54
54
|
# Descripción de la operación
|
55
55
|
attr_accessor :description
|
56
56
|
|
57
|
-
#
|
57
|
+
# Iva de la operación
|
58
58
|
attr_accessor :iva
|
59
59
|
|
60
60
|
# Fecha en la que se realizó la operación
|
61
61
|
attr_accessor :operation_date
|
62
62
|
|
63
|
-
# Fecha en la que genera el
|
63
|
+
# Fecha en la que genera el cep
|
64
64
|
attr_accessor :operation_date_cep
|
65
65
|
|
66
66
|
# Referencia de la operación
|
67
67
|
attr_accessor :reference
|
68
68
|
|
69
|
-
# Nombre de
|
69
|
+
# Nombre de quien envia la operación
|
70
70
|
attr_accessor :sender_name
|
71
71
|
|
72
|
-
# RFC de
|
72
|
+
# RFC de quien envia la operación
|
73
73
|
attr_accessor :sender_rfc
|
74
74
|
|
75
|
-
# Firma del
|
75
|
+
# Firma del Cep
|
76
76
|
attr_accessor :signature
|
77
77
|
|
78
|
-
#
|
78
|
+
# Url que contiene el PDF y XML del CEP proporcionado por banxico
|
79
79
|
attr_accessor :url_zip
|
80
80
|
|
81
81
|
# 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
|
|
@@ -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
|
16
|
+
# El mensaje que se envía mediante (webHook) con la informaciónde una transferencia de entrada recibida
|
17
17
|
class MessageDepositReceived
|
18
18
|
# Monto de la transferencia
|
19
19
|
attr_accessor :amount
|
@@ -27,9 +27,6 @@ module Wire4Client
|
|
27
27
|
# RFC del beneficiario
|
28
28
|
attr_accessor :beneficiary_rfc
|
29
29
|
|
30
|
-
# Informacion del CEP
|
31
|
-
attr_accessor :cep
|
32
|
-
|
33
30
|
# Clave de rastreo de la transferencia
|
34
31
|
attr_accessor :clave_rastreo
|
35
32
|
|
@@ -85,7 +82,6 @@ module Wire4Client
|
|
85
82
|
:'beneficiary_account' => :'beneficiary_account',
|
86
83
|
:'beneficiary_name' => :'beneficiary_name',
|
87
84
|
:'beneficiary_rfc' => :'beneficiary_rfc',
|
88
|
-
:'cep' => :'cep',
|
89
85
|
:'clave_rastreo' => :'clave_rastreo',
|
90
86
|
:'confirm_date' => :'confirm_date',
|
91
87
|
:'currency_code' => :'currency_code',
|
@@ -112,7 +108,6 @@ module Wire4Client
|
|
112
108
|
:'beneficiary_account' => :'String',
|
113
109
|
:'beneficiary_name' => :'String',
|
114
110
|
:'beneficiary_rfc' => :'String',
|
115
|
-
:'cep' => :'MessageCEP',
|
116
111
|
:'clave_rastreo' => :'String',
|
117
112
|
:'confirm_date' => :'DateTime',
|
118
113
|
:'currency_code' => :'String',
|
@@ -156,10 +151,6 @@ module Wire4Client
|
|
156
151
|
self.beneficiary_rfc = attributes[:'beneficiary_rfc']
|
157
152
|
end
|
158
153
|
|
159
|
-
if attributes.has_key?(:'cep')
|
160
|
-
self.cep = attributes[:'cep']
|
161
|
-
end
|
162
|
-
|
163
154
|
if attributes.has_key?(:'clave_rastreo')
|
164
155
|
self.clave_rastreo = attributes[:'clave_rastreo']
|
165
156
|
end
|
@@ -247,7 +238,6 @@ module Wire4Client
|
|
247
238
|
beneficiary_account == o.beneficiary_account &&
|
248
239
|
beneficiary_name == o.beneficiary_name &&
|
249
240
|
beneficiary_rfc == o.beneficiary_rfc &&
|
250
|
-
cep == o.cep &&
|
251
241
|
clave_rastreo == o.clave_rastreo &&
|
252
242
|
confirm_date == o.confirm_date &&
|
253
243
|
currency_code == o.currency_code &&
|
@@ -275,7 +265,7 @@ module Wire4Client
|
|
275
265
|
# Calculates hash code according to all attributes.
|
276
266
|
# @return [Fixnum] Hash code
|
277
267
|
def hash
|
278
|
-
[amount, beneficiary_account, beneficiary_name, beneficiary_rfc,
|
268
|
+
[amount, beneficiary_account, beneficiary_name, beneficiary_rfc, clave_rastreo, confirm_date, currency_code, deposit_date, depositant, depositant_clabe, depositant_email, depositant_rfc, description, monex_description, monex_transaction_id, reference, sender_account, sender_bank, sender_name, sender_rfc].hash
|
279
269
|
end
|
280
270
|
|
281
271
|
# Builds the object from hash
|