wire4_client 0.0.1.pre.SNAPSHOT → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +96 -51
- data/docs/Account.md +11 -11
- data/docs/AccountDetail.md +13 -0
- data/docs/AccountReassigned.md +21 -0
- data/docs/AccountRequest.md +3 -3
- data/docs/AccountResponse.md +13 -11
- data/docs/AccountSpid.md +11 -11
- data/docs/AddressCompany.md +17 -0
- data/docs/AmountRequest.md +5 -3
- data/docs/AuthorizationTransactionGroup.md +9 -0
- data/docs/AuthorizedBeneficiariesResponse.md +10 -0
- data/docs/AuthorizedUsers.md +13 -0
- data/docs/AutorizacinDeDepsitosApi.md +113 -0
- data/docs/Balance.md +3 -3
- data/docs/BalanceListResponse.md +1 -1
- data/docs/BeneficiariesQueryRegisterStatus.md +13 -0
- data/docs/BeneficiariesResponse.md +1 -1
- data/docs/BillingTransaction.md +1 -1
- data/docs/CepResponse.md +20 -20
- data/docs/CepSearchBanxico.md +8 -8
- data/docs/CertificateRequest.md +11 -0
- data/docs/CodiCodeQrResponseDTO.md +17 -0
- data/docs/CodiCodeRequestDTO.md +14 -0
- data/docs/CodiOperationResponseDTO.md +14 -0
- data/docs/CodiOperationsFiltersRequestDTO.md +15 -0
- data/docs/CompanyRegistered.md +13 -0
- data/docs/CompanyRequested.md +11 -0
- data/docs/Compay.md +11 -0
- data/docs/ComprobanteElectrnicoDePagoCEPApi.md +6 -8
- data/docs/ConfigurationsLimits.md +9 -0
- data/docs/ContactRequest.md +5 -5
- data/docs/ContactoApi.md +6 -8
- data/docs/ContractDetailRequest.md +11 -0
- data/docs/ContractDetailResponse.md +9 -0
- data/docs/ContractsDetailsApi.md +222 -0
- data/docs/CuentasDeBeneficiariosSPEIApi.md +190 -81
- data/docs/CuentasDeBeneficiariosSPIDApi.md +80 -13
- data/docs/Deposit.md +21 -20
- data/docs/DepositAuthorizationRequest.md +10 -0
- data/docs/Depositant.md +5 -5
- data/docs/DepositantesApi.md +18 -22
- data/docs/DepositantsRegister.md +4 -4
- data/docs/DepositantsResponse.md +1 -1
- data/docs/DepositsAuthorizationResponse.md +10 -0
- data/docs/DetailedErrorResponse.md +10 -0
- data/docs/EmpresasCoDiApi.md +107 -0
- data/docs/FacturasApi.md +12 -16
- data/docs/GetDepositants.md +1 -1
- data/docs/InstitucionesApi.md +15 -12
- data/docs/Institution.md +4 -4
- data/docs/InstitutionsList.md +1 -1
- data/docs/Item.md +10 -0
- data/docs/LmitesDeMontosApi.md +112 -0
- data/docs/MessageAccountBeneficiary.md +3 -3
- data/docs/MessageCEP.md +21 -21
- data/docs/MessageCodiAction.md +19 -0
- data/docs/MessageConfigurationsLimits.md +8 -0
- data/docs/MessageDepositAuthorizationRequest.md +27 -0
- data/docs/MessageDepositReceived.md +21 -20
- data/docs/MessageInstitution.md +4 -4
- data/docs/MessagePayment.md +20 -18
- data/docs/MessagePaymentStatePending.md +23 -0
- data/docs/MessageRequestChanged.md +9 -0
- data/docs/MessageSalesPoint.md +10 -0
- data/docs/MessageSubscription.md +6 -5
- data/docs/MessageUserAuthorized.md +14 -0
- data/docs/MessageWebHook.md +9 -9
- data/docs/OperacionesCoDiApi.md +68 -0
- data/docs/Operations.md +17 -0
- data/docs/PagerResponseDto.md +13 -0
- data/docs/Payment.md +19 -17
- data/docs/PaymentCODI.md +13 -0
- data/docs/PaymentRequestCodiResponseDTO.md +18 -0
- data/docs/PaymentsRequestId.md +13 -0
- data/docs/PeticionesDePagoPorCoDiApi.md +116 -0
- data/docs/PreEnrollmentData.md +2 -2
- data/docs/PreEnrollmentResponse.md +2 -2
- data/docs/PreMonexAuthorization.md +11 -0
- data/docs/PuntosDeVentaCoDiApi.md +113 -0
- data/docs/Relationship.md +2 -2
- data/docs/RelationshipsResponse.md +1 -1
- data/docs/SaldoApi.md +9 -11
- data/docs/SalesPoint.md +10 -0
- data/docs/SalesPointFound.md +14 -0
- data/docs/SalesPointRequest.md +11 -0
- data/docs/SalesPointRespose.md +11 -0
- data/docs/ServiceBanking.md +9 -0
- data/docs/SpidBeneficiariesResponse.md +8 -0
- data/docs/SpidBeneficiaryResponse.md +19 -0
- data/docs/SpidClassificationDTO.md +2 -2
- data/docs/SubscriptionChangeStatusRequest.md +8 -0
- data/docs/SuscripcionesApi.md +143 -42
- data/docs/TokenRequiredResponse.md +2 -2
- data/docs/TransactionErrorCode.md +10 -0
- data/docs/TransactionOutgoing.md +2 -1
- data/docs/TransactionOutgoingSpid.md +10 -10
- data/docs/TransactionsOutgoingRegister.md +3 -3
- data/docs/TransferenciasSPEIApi.md +150 -46
- data/docs/TransferenciasSPIDApi.md +24 -28
- data/docs/UpdateConfigurationsRequestDTO.md +8 -0
- data/docs/UrlsRedirect.md +9 -0
- data/docs/UseServiceBanking.md +9 -0
- data/docs/UserCompany.md +16 -0
- data/docs/WebHookDepositAuthorizationRequest.md +9 -0
- data/docs/WebHookDepositAuthorizationResponse.md +13 -0
- data/docs/Webhook.md +13 -0
- data/docs/WebhookRequest.md +3 -3
- data/docs/WebhookResponse.md +5 -5
- data/docs/WebhooksApi.md +30 -33
- data/lib/wire4_client.rb +59 -2
- data/lib/wire4_client/api/autorizacin_de_depsitos_api.rb +173 -0
- data/lib/wire4_client/api/comprobante_electrnico_de_pago_cep_api.rb +12 -5
- data/lib/wire4_client/api/contacto_api.rb +12 -5
- data/lib/wire4_client/api/contracts_details_api.rb +301 -0
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spei_api.rb +292 -63
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spid_api.rb +110 -9
- data/lib/wire4_client/api/depositantes_api.rb +31 -17
- data/lib/wire4_client/api/empresas_co_di_api.rb +137 -0
- data/lib/wire4_client/api/facturas_api.rb +23 -9
- data/lib/wire4_client/api/instituciones_api.rb +16 -7
- data/lib/wire4_client/api/lmites_de_montos_api.rb +160 -0
- data/lib/wire4_client/api/operaciones_co_di_api.rb +92 -0
- data/lib/wire4_client/api/peticiones_de_pago_por_co_di_api.rb +178 -0
- data/lib/wire4_client/api/puntos_de_venta_co_di_api.rb +151 -0
- data/lib/wire4_client/api/saldo_api.rb +16 -9
- data/lib/wire4_client/api/suscripciones_api.rb +185 -31
- data/lib/wire4_client/api/transferencias_spei_api.rb +220 -33
- data/lib/wire4_client/api/transferencias_spid_api.rb +35 -21
- data/lib/wire4_client/api/webhooks_api.rb +46 -25
- data/lib/wire4_client/api_client.rb +1 -2
- data/lib/wire4_client/api_error.rb +1 -1
- data/lib/wire4_client/configuration.rb +1 -22
- data/lib/wire4_client/models/account.rb +12 -12
- data/lib/wire4_client/models/{timestamp.rb → account_detail.rb} +50 -75
- data/lib/wire4_client/models/account_reassigned.rb +375 -0
- data/lib/wire4_client/models/account_request.rb +4 -4
- data/lib/wire4_client/models/account_response.rb +37 -17
- data/lib/wire4_client/models/account_spid.rb +60 -12
- data/lib/wire4_client/models/address_company.rb +275 -0
- data/lib/wire4_client/models/amount_request.rb +95 -9
- data/lib/wire4_client/models/authorization_transaction_group.rb +207 -0
- data/lib/wire4_client/models/authorized_beneficiaries_response.rb +206 -0
- data/lib/wire4_client/models/authorized_users.rb +235 -0
- data/lib/wire4_client/models/balance.rb +5 -5
- data/lib/wire4_client/models/balance_list_response.rb +2 -2
- data/lib/wire4_client/models/beneficiaries_query_register_status.rb +270 -0
- data/lib/wire4_client/models/beneficiaries_response.rb +2 -2
- 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 +21 -21
- data/lib/wire4_client/models/cep_search_banxico.rb +9 -9
- data/lib/wire4_client/models/certificate_request.rb +248 -0
- data/lib/wire4_client/models/codi_code_qr_response_dto.rb +320 -0
- data/lib/wire4_client/models/codi_code_request_dto.rb +402 -0
- data/lib/wire4_client/models/codi_operation_response_dto.rb +245 -0
- data/lib/wire4_client/models/codi_operations_filters_request_dto.rb +336 -0
- data/lib/wire4_client/models/company_registered.rb +235 -0
- data/lib/wire4_client/models/company_requested.rb +215 -0
- data/lib/wire4_client/models/compay.rb +215 -0
- data/lib/wire4_client/models/configurations_limits.rb +197 -0
- data/lib/wire4_client/models/contact_request.rb +7 -7
- data/lib/wire4_client/models/contract_detail_request.rb +247 -0
- data/lib/wire4_client/models/contract_detail_response.rb +194 -0
- data/lib/wire4_client/models/deposit.rb +32 -22
- data/lib/wire4_client/models/deposit_authorization_request.rb +205 -0
- data/lib/wire4_client/models/depositant.rb +6 -6
- data/lib/wire4_client/models/depositants_register.rb +5 -5
- data/lib/wire4_client/models/depositants_response.rb +2 -2
- data/lib/wire4_client/models/deposits_authorization_response.rb +205 -0
- data/lib/wire4_client/models/detailed_error_response.rb +203 -0
- data/lib/wire4_client/models/error_response.rb +1 -1
- data/lib/wire4_client/models/get_depositants.rb +3 -3
- data/lib/wire4_client/models/institution.rb +6 -6
- data/lib/wire4_client/models/institutions_list.rb +2 -2
- data/lib/wire4_client/models/item.rb +205 -0
- data/lib/wire4_client/models/message_account_beneficiary.rb +5 -5
- data/lib/wire4_client/models/message_cep.rb +23 -23
- data/lib/wire4_client/models/message_codi_action.rb +295 -0
- data/lib/wire4_client/models/message_configurations_limits.rb +187 -0
- data/lib/wire4_client/models/message_deposit_authorization_request.rb +375 -0
- data/lib/wire4_client/models/message_deposit_received.rb +33 -23
- data/lib/wire4_client/models/message_institution.rb +6 -6
- data/lib/wire4_client/models/message_payment.rb +41 -20
- data/lib/wire4_client/models/message_payment_state_pending.rb +335 -0
- data/lib/wire4_client/models/message_request_changed.rb +229 -0
- data/lib/wire4_client/models/message_sales_point.rb +205 -0
- data/lib/wire4_client/models/message_subscription.rb +18 -8
- data/lib/wire4_client/models/message_user_authorized.rb +245 -0
- data/lib/wire4_client/models/message_web_hook.rb +11 -11
- data/lib/wire4_client/models/operations.rb +321 -0
- data/lib/wire4_client/models/pager_response_dto.rb +236 -0
- data/lib/wire4_client/models/payment.rb +40 -20
- data/lib/wire4_client/models/payment_codi.rb +269 -0
- data/lib/wire4_client/models/payment_request_codi_response_dto.rb +287 -0
- data/lib/wire4_client/models/payments_request_id.rb +236 -0
- data/lib/wire4_client/models/person.rb +1 -1
- data/lib/wire4_client/models/pre_enrollment_data.rb +21 -3
- data/lib/wire4_client/models/pre_enrollment_response.rb +3 -3
- data/lib/wire4_client/models/pre_monex_authorization.rb +291 -0
- data/lib/wire4_client/models/relationship.rb +3 -3
- data/lib/wire4_client/models/relationships_response.rb +2 -2
- data/lib/wire4_client/models/sales_point.rb +205 -0
- data/lib/wire4_client/models/sales_point_found.rb +279 -0
- data/lib/wire4_client/models/sales_point_request.rb +254 -0
- data/lib/wire4_client/models/sales_point_respose.rb +215 -0
- data/lib/wire4_client/models/service_banking.rb +193 -0
- data/lib/wire4_client/models/spid_beneficiaries_response.rb +186 -0
- data/lib/wire4_client/models/spid_beneficiary_response.rb +355 -0
- data/lib/wire4_client/models/spid_classification_dto.rb +3 -3
- data/lib/wire4_client/models/spid_classifications_response_dto.rb +1 -1
- data/lib/wire4_client/models/subscription_change_status_request.rb +222 -0
- data/lib/wire4_client/models/token_required_response.rb +4 -4
- data/lib/wire4_client/models/transaction_error_code.rb +201 -0
- data/lib/wire4_client/models/transaction_outgoing.rb +13 -3
- data/lib/wire4_client/models/transaction_outgoing_spid.rb +12 -12
- data/lib/wire4_client/models/transactions_outgoing_register.rb +5 -5
- data/lib/wire4_client/models/update_configurations_request_dto.rb +192 -0
- data/lib/wire4_client/models/urls_redirect.rb +261 -0
- data/lib/wire4_client/models/use_service_banking.rb +251 -0
- data/lib/wire4_client/models/user_company.rb +269 -0
- data/lib/wire4_client/models/web_hook_deposit_authorization_request.rb +195 -0
- data/lib/wire4_client/models/web_hook_deposit_authorization_response.rb +237 -0
- data/lib/wire4_client/models/webhook.rb +271 -0
- data/lib/wire4_client/models/webhook_request.rb +4 -4
- data/lib/wire4_client/models/webhook_response.rb +6 -6
- data/lib/wire4_client/models/webhooks_list.rb +1 -1
- data/lib/wire4_client/version.rb +2 -2
- data/spec/api/autorizacin_de_depsitos_api_spec.rb +62 -0
- data/spec/api/comprobante_electrnico_de_pago_cep_api_spec.rb +2 -1
- data/spec/api/contacto_api_spec.rb +2 -1
- data/spec/api/contracts_details_api_spec.rb +90 -0
- data/spec/api/cuentas_de_beneficiarios_spei_api_spec.rb +59 -19
- data/spec/api/cuentas_de_beneficiarios_spid_api_spec.rb +25 -3
- data/spec/api/depositantes_api_spec.rb +7 -5
- data/spec/api/empresas_co_di_api_spec.rb +60 -0
- data/spec/api/facturas_api_spec.rb +3 -1
- data/spec/api/instituciones_api_spec.rb +4 -2
- data/spec/api/lmites_de_montos_api_spec.rb +62 -0
- data/spec/api/operaciones_co_di_api_spec.rb +52 -0
- data/spec/api/peticiones_de_pago_por_co_di_api_spec.rb +63 -0
- data/spec/api/puntos_de_venta_co_di_api_spec.rb +62 -0
- data/spec/api/saldo_api_spec.rb +4 -3
- data/spec/api/suscripciones_api_spec.rb +41 -10
- data/spec/api/transferencias_spei_api_spec.rb +42 -9
- data/spec/api/transferencias_spid_api_spec.rb +9 -7
- data/spec/api/webhooks_api_spec.rb +8 -5
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_detail_spec.rb +71 -0
- data/spec/models/account_reassigned_spec.rb +119 -0
- data/spec/models/account_request_spec.rb +1 -1
- data/spec/models/account_response_spec.rb +13 -1
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/account_spid_spec.rb +1 -1
- data/spec/models/{timestamp_spec.rb → address_company_spec.rb} +17 -17
- data/spec/models/amount_request_spec.rb +13 -1
- data/spec/models/authorization_transaction_group_spec.rb +47 -0
- data/spec/models/authorized_beneficiaries_response_spec.rb +53 -0
- data/spec/models/authorized_users_spec.rb +71 -0
- data/spec/models/balance_list_response_spec.rb +1 -1
- data/spec/models/balance_spec.rb +1 -1
- data/spec/models/beneficiaries_query_register_status_spec.rb +75 -0
- 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/certificate_request_spec.rb +59 -0
- data/spec/models/codi_code_qr_response_dto_spec.rb +103 -0
- data/spec/models/codi_code_request_dto_spec.rb +81 -0
- data/spec/models/codi_operation_response_dto_spec.rb +77 -0
- data/spec/models/codi_operations_filters_request_dto_spec.rb +87 -0
- data/spec/models/company_registered_spec.rb +71 -0
- data/spec/models/company_requested_spec.rb +59 -0
- data/spec/models/compay_spec.rb +59 -0
- data/spec/models/configurations_limits_spec.rb +47 -0
- data/spec/models/contact_request_spec.rb +1 -1
- data/spec/models/contract_detail_request_spec.rb +59 -0
- data/spec/models/contract_detail_response_spec.rb +47 -0
- data/spec/models/deposit_authorization_request_spec.rb +53 -0
- data/spec/models/deposit_spec.rb +7 -1
- 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/deposits_authorization_response_spec.rb +53 -0
- data/spec/models/detailed_error_response_spec.rb +53 -0
- 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/item_spec.rb +53 -0
- data/spec/models/message_account_beneficiary_spec.rb +1 -1
- data/spec/models/message_cep_spec.rb +1 -1
- data/spec/models/message_codi_action_spec.rb +107 -0
- data/spec/models/message_configurations_limits_spec.rb +41 -0
- data/spec/models/message_deposit_authorization_request_spec.rb +155 -0
- data/spec/models/message_deposit_received_spec.rb +7 -1
- data/spec/models/message_institution_spec.rb +1 -1
- data/spec/models/message_payment_spec.rb +13 -1
- data/spec/models/message_payment_state_pending_spec.rb +131 -0
- data/spec/models/message_request_changed_spec.rb +51 -0
- data/spec/models/message_sales_point_spec.rb +53 -0
- data/spec/models/message_subscription_spec.rb +7 -1
- data/spec/models/message_user_authorized_spec.rb +77 -0
- data/spec/models/message_web_hook_spec.rb +1 -1
- data/spec/models/operations_spec.rb +103 -0
- data/spec/models/pager_response_dto_spec.rb +71 -0
- data/spec/models/payment_codi_spec.rb +75 -0
- data/spec/models/payment_request_codi_response_dto_spec.rb +101 -0
- data/spec/models/payment_spec.rb +13 -1
- data/spec/models/payments_request_id_spec.rb +71 -0
- 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/pre_monex_authorization_spec.rb +59 -0
- data/spec/models/relationship_spec.rb +1 -1
- data/spec/models/relationships_response_spec.rb +1 -1
- data/spec/models/sales_point_found_spec.rb +81 -0
- data/spec/models/sales_point_request_spec.rb +59 -0
- data/spec/models/sales_point_respose_spec.rb +59 -0
- data/spec/models/sales_point_spec.rb +53 -0
- data/spec/models/service_banking_spec.rb +47 -0
- data/spec/models/spid_beneficiaries_response_spec.rb +41 -0
- data/spec/models/spid_beneficiary_response_spec.rb +107 -0
- data/spec/models/spid_classification_dto_spec.rb +1 -1
- data/spec/models/spid_classifications_response_dto_spec.rb +1 -1
- data/spec/models/subscription_change_status_request_spec.rb +45 -0
- data/spec/models/token_required_response_spec.rb +1 -1
- data/spec/models/transaction_error_code_spec.rb +53 -0
- data/spec/models/transaction_outgoing_spec.rb +7 -1
- data/spec/models/transaction_outgoing_spid_spec.rb +1 -1
- data/spec/models/transactions_outgoing_register_spec.rb +1 -1
- data/spec/models/update_configurations_request_dto_spec.rb +41 -0
- data/spec/models/urls_redirect_spec.rb +47 -0
- data/spec/models/use_service_banking_spec.rb +55 -0
- data/spec/models/user_company_spec.rb +89 -0
- data/spec/models/web_hook_deposit_authorization_request_spec.rb +47 -0
- data/spec/models/web_hook_deposit_authorization_response_spec.rb +71 -0
- data/spec/models/webhook_request_spec.rb +1 -1
- data/spec/models/webhook_response_spec.rb +1 -1
- data/spec/models/webhook_spec.rb +75 -0
- data/spec/models/webhooks_list_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/wire4_client.gemspec +2 -2
- metadata +281 -54
- data/Gemfile.lock +0 -69
- data/docs/Timestamp.md +0 -17
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#Referencia de
|
4
|
+
#Referencia de API. La API de Wire4 está organizada en torno a REST
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -19,27 +19,114 @@ module Wire4Client
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Agrupa transacciones bajo un request_id
|
23
|
+
# Agrupa transacciones SPEI/SPID en un mismo transaction_id, posteriormente genera la dirección URL del centro de autorización para la confirmación de las transacciones. <br><br>Las transacciones deben estar en estatus PENDING y pertenecer a un mismo contrato.
|
24
|
+
# @param authorization Header para token
|
25
|
+
# @param subscription Es el Identificador de la suscripción.
|
26
|
+
# @param subscription2 Objeto con la información para agrupar transacciones existentes y autorizarlas de forma conjunta.
|
27
|
+
# @param [Hash] opts the optional parameters
|
28
|
+
# @return [TokenRequiredResponse]
|
29
|
+
def create_authorization_transactions_group(authorization, subscription, subscription2, opts = {})
|
30
|
+
data, _status_code, _headers = create_authorization_transactions_group_with_http_info(authorization, subscription, subscription2, opts)
|
31
|
+
data
|
32
|
+
end
|
33
|
+
|
34
|
+
# Agrupa transacciones bajo un request_id
|
35
|
+
# Agrupa transacciones SPEI/SPID en un mismo transaction_id, posteriormente genera la dirección URL del centro de autorización para la confirmación de las transacciones. <br><br>Las transacciones deben estar en estatus PENDING y pertenecer a un mismo contrato.
|
36
|
+
# @param authorization Header para token
|
37
|
+
# @param subscription Es el Identificador de la suscripción.
|
38
|
+
# @param subscription2 Objeto con la información para agrupar transacciones existentes y autorizarlas de forma conjunta.
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Array<(TokenRequiredResponse, Fixnum, Hash)>] TokenRequiredResponse data, response status code and response headers
|
41
|
+
def create_authorization_transactions_group_with_http_info(authorization, subscription, subscription2, opts = {})
|
42
|
+
if @api_client.config.debugging
|
43
|
+
@api_client.config.logger.debug 'Calling API: TransferenciasSPEIApi.create_authorization_transactions_group ...'
|
44
|
+
end
|
45
|
+
# verify the required parameter 'authorization' is set
|
46
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
47
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling TransferenciasSPEIApi.create_authorization_transactions_group"
|
48
|
+
end
|
49
|
+
# verify the required parameter 'subscription' is set
|
50
|
+
if @api_client.config.client_side_validation && subscription.nil?
|
51
|
+
fail ArgumentError, "Missing the required parameter 'subscription' when calling TransferenciasSPEIApi.create_authorization_transactions_group"
|
52
|
+
end
|
53
|
+
if @api_client.config.client_side_validation && subscription.to_s.length > 36
|
54
|
+
fail ArgumentError, 'invalid value for "subscription" when calling TransferenciasSPEIApi.create_authorization_transactions_group, the character length must be smaller than or equal to 36.'
|
55
|
+
end
|
56
|
+
|
57
|
+
if @api_client.config.client_side_validation && subscription.to_s.length < 36
|
58
|
+
fail ArgumentError, 'invalid value for "subscription" when calling TransferenciasSPEIApi.create_authorization_transactions_group, the character length must be great than or equal to 36.'
|
59
|
+
end
|
60
|
+
|
61
|
+
if @api_client.config.client_side_validation && subscription !~ Regexp.new(/[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[34][A-Fa-f0-9]{3}-[89ab][A-Fa-f0-9]{3}-[A-Fa-f0-9]{12}$/)
|
62
|
+
fail ArgumentError, "invalid value for 'subscription' when calling TransferenciasSPEIApi.create_authorization_transactions_group, must conform to the pattern /[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[34][A-Fa-f0-9]{3}-[89ab][A-Fa-f0-9]{3}-[A-Fa-f0-9]{12}$/."
|
63
|
+
end
|
64
|
+
|
65
|
+
# verify the required parameter 'subscription2' is set
|
66
|
+
if @api_client.config.client_side_validation && subscription2.nil?
|
67
|
+
fail ArgumentError, "Missing the required parameter 'subscription2' when calling TransferenciasSPEIApi.create_authorization_transactions_group"
|
68
|
+
end
|
69
|
+
# resource path
|
70
|
+
local_var_path = '/subscriptions/{subscription}/transactions/group'.sub('{' + 'subscription' + '}', subscription.to_s)
|
71
|
+
|
72
|
+
# query parameters
|
73
|
+
query_params = {}
|
74
|
+
|
75
|
+
# header parameters
|
76
|
+
header_params = {}
|
77
|
+
# HTTP header 'Accept' (if needed)
|
78
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
79
|
+
# HTTP header 'Content-Type'
|
80
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
81
|
+
header_params[:'Authorization'] = authorization
|
82
|
+
|
83
|
+
# form parameters
|
84
|
+
form_params = {}
|
85
|
+
|
86
|
+
# http body (model)
|
87
|
+
post_body = @api_client.object_to_http_body(subscription2)
|
88
|
+
auth_names = []
|
89
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
90
|
+
:header_params => header_params,
|
91
|
+
:query_params => query_params,
|
92
|
+
:form_params => form_params,
|
93
|
+
:body => post_body,
|
94
|
+
:auth_names => auth_names,
|
95
|
+
:return_type => 'TokenRequiredResponse')
|
96
|
+
if @api_client.config.debugging
|
97
|
+
@api_client.config.logger.debug "API called: TransferenciasSPEIApi#create_authorization_transactions_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
98
|
+
end
|
99
|
+
return data, status_code, headers
|
100
|
+
end
|
22
101
|
# Eliminación de transferencias SPEI® pendientes
|
23
|
-
# Elimina un conjunto de transferencias
|
24
|
-
# @param
|
25
|
-
# @param
|
102
|
+
# Elimina un conjunto de transferencias en estado pendiente de confirmar o autorizar, en la cuenta del cliente Monex relacionada a la suscripción.<br><br><b>Nota:</b> Las transferencias no deben haber sido confirmadas o autorizadas por el cliente.
|
103
|
+
# @param authorization Header para token
|
104
|
+
# @param request_id Identificador de las transferencias a eliminar.
|
105
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
26
106
|
# @param [Hash] opts the optional parameters
|
107
|
+
# @option opts [String] :order_id Listado de identificadores dentro del request_id para eliminar.
|
27
108
|
# @return [nil]
|
28
|
-
def drop_transactions_pending_using_delete(request_id, subscription, opts = {})
|
29
|
-
drop_transactions_pending_using_delete_with_http_info(request_id, subscription, opts)
|
109
|
+
def drop_transactions_pending_using_delete(authorization, request_id, subscription, opts = {})
|
110
|
+
drop_transactions_pending_using_delete_with_http_info(authorization, request_id, subscription, opts)
|
30
111
|
nil
|
31
112
|
end
|
32
113
|
|
33
114
|
# Eliminación de transferencias SPEI® pendientes
|
34
|
-
# Elimina un conjunto de transferencias
|
35
|
-
# @param
|
36
|
-
# @param
|
115
|
+
# Elimina un conjunto de transferencias en estado pendiente de confirmar o autorizar, en la cuenta del cliente Monex relacionada a la suscripción.<br><br><b>Nota:</b> Las transferencias no deben haber sido confirmadas o autorizadas por el cliente.
|
116
|
+
# @param authorization Header para token
|
117
|
+
# @param request_id Identificador de las transferencias a eliminar.
|
118
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
37
119
|
# @param [Hash] opts the optional parameters
|
120
|
+
# @option opts [String] :order_id Listado de identificadores dentro del request_id para eliminar.
|
38
121
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
39
|
-
def drop_transactions_pending_using_delete_with_http_info(request_id, subscription, opts = {})
|
122
|
+
def drop_transactions_pending_using_delete_with_http_info(authorization, request_id, subscription, opts = {})
|
40
123
|
if @api_client.config.debugging
|
41
124
|
@api_client.config.logger.debug 'Calling API: TransferenciasSPEIApi.drop_transactions_pending_using_delete ...'
|
42
125
|
end
|
126
|
+
# verify the required parameter 'authorization' is set
|
127
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
128
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling TransferenciasSPEIApi.drop_transactions_pending_using_delete"
|
129
|
+
end
|
43
130
|
# verify the required parameter 'request_id' is set
|
44
131
|
if @api_client.config.client_side_validation && request_id.nil?
|
45
132
|
fail ArgumentError, "Missing the required parameter 'request_id' when calling TransferenciasSPEIApi.drop_transactions_pending_using_delete"
|
@@ -77,18 +164,20 @@ module Wire4Client
|
|
77
164
|
|
78
165
|
# query parameters
|
79
166
|
query_params = {}
|
167
|
+
query_params[:'order_id'] = opts[:'order_id'] if !opts[:'order_id'].nil?
|
80
168
|
|
81
169
|
# header parameters
|
82
170
|
header_params = {}
|
83
171
|
# HTTP header 'Accept' (if needed)
|
84
172
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
173
|
+
header_params[:'Authorization'] = authorization
|
85
174
|
|
86
175
|
# form parameters
|
87
176
|
form_params = {}
|
88
177
|
|
89
178
|
# http body (model)
|
90
179
|
post_body = nil
|
91
|
-
auth_names = [
|
180
|
+
auth_names = []
|
92
181
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
93
182
|
:header_params => header_params,
|
94
183
|
:query_params => query_params,
|
@@ -102,23 +191,29 @@ module Wire4Client
|
|
102
191
|
end
|
103
192
|
# Consulta de transferencias recibidas
|
104
193
|
# Realiza una consulta de las transferencias recibidas (depósitos) en la cuenta del cliente Monex relacionada a la suscripción, las transferencias que regresa este recuso son únicamente las transferencias recibidas durante el día en el que se realiza la consulta.
|
105
|
-
# @param
|
194
|
+
# @param authorization Header para token
|
195
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
106
196
|
# @param [Hash] opts the optional parameters
|
107
197
|
# @return [Array<Deposit>]
|
108
|
-
def incoming_spei_transactions_report_using_get(subscription, opts = {})
|
109
|
-
data, _status_code, _headers = incoming_spei_transactions_report_using_get_with_http_info(subscription, opts)
|
198
|
+
def incoming_spei_transactions_report_using_get(authorization, subscription, opts = {})
|
199
|
+
data, _status_code, _headers = incoming_spei_transactions_report_using_get_with_http_info(authorization, subscription, opts)
|
110
200
|
data
|
111
201
|
end
|
112
202
|
|
113
203
|
# Consulta de transferencias recibidas
|
114
204
|
# Realiza una consulta de las transferencias recibidas (depósitos) en la cuenta del cliente Monex relacionada a la suscripción, las transferencias que regresa este recuso son únicamente las transferencias recibidas durante el día en el que se realiza la consulta.
|
115
|
-
# @param
|
205
|
+
# @param authorization Header para token
|
206
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
116
207
|
# @param [Hash] opts the optional parameters
|
117
208
|
# @return [Array<(Array<Deposit>, Fixnum, Hash)>] Array<Deposit> data, response status code and response headers
|
118
|
-
def incoming_spei_transactions_report_using_get_with_http_info(subscription, opts = {})
|
209
|
+
def incoming_spei_transactions_report_using_get_with_http_info(authorization, subscription, opts = {})
|
119
210
|
if @api_client.config.debugging
|
120
211
|
@api_client.config.logger.debug 'Calling API: TransferenciasSPEIApi.incoming_spei_transactions_report_using_get ...'
|
121
212
|
end
|
213
|
+
# verify the required parameter 'authorization' is set
|
214
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
215
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling TransferenciasSPEIApi.incoming_spei_transactions_report_using_get"
|
216
|
+
end
|
122
217
|
# verify the required parameter 'subscription' is set
|
123
218
|
if @api_client.config.client_side_validation && subscription.nil?
|
124
219
|
fail ArgumentError, "Missing the required parameter 'subscription' when calling TransferenciasSPEIApi.incoming_spei_transactions_report_using_get"
|
@@ -145,13 +240,14 @@ module Wire4Client
|
|
145
240
|
header_params = {}
|
146
241
|
# HTTP header 'Accept' (if needed)
|
147
242
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
243
|
+
header_params[:'Authorization'] = authorization
|
148
244
|
|
149
245
|
# form parameters
|
150
246
|
form_params = {}
|
151
247
|
|
152
248
|
# http body (model)
|
153
249
|
post_body = nil
|
154
|
-
auth_names = [
|
250
|
+
auth_names = []
|
155
251
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
156
252
|
:header_params => header_params,
|
157
253
|
:query_params => query_params,
|
@@ -164,27 +260,110 @@ module Wire4Client
|
|
164
260
|
end
|
165
261
|
return data, status_code, headers
|
166
262
|
end
|
263
|
+
# Consulta de transferencias de salida por identificador de petición
|
264
|
+
# Consulta las transferencias de salida registradas en una petición, las transferencias que regresa este recuso son únicamente las transferencias de salida agrupadas al identificador de la petición que se generó al hacer el registro de las transacciones el cuál se debe especificar como parte del path de este endpoint.
|
265
|
+
# @param authorization Header para token
|
266
|
+
# @param request_id Identificador de la petición a buscar.
|
267
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
268
|
+
# @param [Hash] opts the optional parameters
|
269
|
+
# @return [PaymentsRequestId]
|
270
|
+
def out_comming_spei_request_id_transactions_report_using_get(authorization, request_id, subscription, opts = {})
|
271
|
+
data, _status_code, _headers = out_comming_spei_request_id_transactions_report_using_get_with_http_info(authorization, request_id, subscription, opts)
|
272
|
+
data
|
273
|
+
end
|
274
|
+
|
275
|
+
# Consulta de transferencias de salida por identificador de petición
|
276
|
+
# Consulta las transferencias de salida registradas en una petición, las transferencias que regresa este recuso son únicamente las transferencias de salida agrupadas al identificador de la petición que se generó al hacer el registro de las transacciones el cuál se debe especificar como parte del path de este endpoint.
|
277
|
+
# @param authorization Header para token
|
278
|
+
# @param request_id Identificador de la petición a buscar.
|
279
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
280
|
+
# @param [Hash] opts the optional parameters
|
281
|
+
# @return [Array<(PaymentsRequestId, Fixnum, Hash)>] PaymentsRequestId data, response status code and response headers
|
282
|
+
def out_comming_spei_request_id_transactions_report_using_get_with_http_info(authorization, request_id, subscription, opts = {})
|
283
|
+
if @api_client.config.debugging
|
284
|
+
@api_client.config.logger.debug 'Calling API: TransferenciasSPEIApi.out_comming_spei_request_id_transactions_report_using_get ...'
|
285
|
+
end
|
286
|
+
# verify the required parameter 'authorization' is set
|
287
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
288
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling TransferenciasSPEIApi.out_comming_spei_request_id_transactions_report_using_get"
|
289
|
+
end
|
290
|
+
# verify the required parameter 'request_id' is set
|
291
|
+
if @api_client.config.client_side_validation && request_id.nil?
|
292
|
+
fail ArgumentError, "Missing the required parameter 'request_id' when calling TransferenciasSPEIApi.out_comming_spei_request_id_transactions_report_using_get"
|
293
|
+
end
|
294
|
+
# verify the required parameter 'subscription' is set
|
295
|
+
if @api_client.config.client_side_validation && subscription.nil?
|
296
|
+
fail ArgumentError, "Missing the required parameter 'subscription' when calling TransferenciasSPEIApi.out_comming_spei_request_id_transactions_report_using_get"
|
297
|
+
end
|
298
|
+
if @api_client.config.client_side_validation && subscription.to_s.length > 36
|
299
|
+
fail ArgumentError, 'invalid value for "subscription" when calling TransferenciasSPEIApi.out_comming_spei_request_id_transactions_report_using_get, the character length must be smaller than or equal to 36.'
|
300
|
+
end
|
301
|
+
|
302
|
+
if @api_client.config.client_side_validation && subscription.to_s.length < 36
|
303
|
+
fail ArgumentError, 'invalid value for "subscription" when calling TransferenciasSPEIApi.out_comming_spei_request_id_transactions_report_using_get, the character length must be great than or equal to 36.'
|
304
|
+
end
|
305
|
+
|
306
|
+
if @api_client.config.client_side_validation && subscription !~ Regexp.new(/[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[34][A-Fa-f0-9]{3}-[89ab][A-Fa-f0-9]{3}-[A-Fa-f0-9]{12}$/)
|
307
|
+
fail ArgumentError, "invalid value for 'subscription' when calling TransferenciasSPEIApi.out_comming_spei_request_id_transactions_report_using_get, must conform to the pattern /[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[34][A-Fa-f0-9]{3}-[89ab][A-Fa-f0-9]{3}-[A-Fa-f0-9]{12}$/."
|
308
|
+
end
|
309
|
+
|
310
|
+
# resource path
|
311
|
+
local_var_path = '/subscriptions/{subscription}/transactions/outcoming/spei/{requestId}'.sub('{' + 'requestId' + '}', request_id.to_s).sub('{' + 'subscription' + '}', subscription.to_s)
|
312
|
+
|
313
|
+
# query parameters
|
314
|
+
query_params = {}
|
315
|
+
|
316
|
+
# header parameters
|
317
|
+
header_params = {}
|
318
|
+
# HTTP header 'Accept' (if needed)
|
319
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
320
|
+
header_params[:'Authorization'] = authorization
|
321
|
+
|
322
|
+
# form parameters
|
323
|
+
form_params = {}
|
324
|
+
|
325
|
+
# http body (model)
|
326
|
+
post_body = nil
|
327
|
+
auth_names = []
|
328
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
329
|
+
:header_params => header_params,
|
330
|
+
:query_params => query_params,
|
331
|
+
:form_params => form_params,
|
332
|
+
:body => post_body,
|
333
|
+
:auth_names => auth_names,
|
334
|
+
:return_type => 'PaymentsRequestId')
|
335
|
+
if @api_client.config.debugging
|
336
|
+
@api_client.config.logger.debug "API called: TransferenciasSPEIApi#out_comming_spei_request_id_transactions_report_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
337
|
+
end
|
338
|
+
return data, status_code, headers
|
339
|
+
end
|
167
340
|
# Consulta de transferencias realizadas
|
168
341
|
# Consulta las transferencias realizadas en la cuenta del cliente Monex relacionada a la suscripción, las transferencias que regresa este recuso son únicamente las transferencias recibidas en el día en el que se realiza la consulta.<br>Se pueden realizar consultas por <strong>order_id</strong> al realizar este tipo de consultas no importa el día en el que se realizó la transferencia
|
169
|
-
# @param
|
342
|
+
# @param authorization Header para token
|
343
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
170
344
|
# @param [Hash] opts the optional parameters
|
171
|
-
# @option opts [String] :order_id
|
345
|
+
# @option opts [String] :order_id Es el identificador de la orden a buscar.
|
172
346
|
# @return [Array<Payment>]
|
173
|
-
def outgoing_spei_transactions_report_using_get(subscription, opts = {})
|
174
|
-
data, _status_code, _headers = outgoing_spei_transactions_report_using_get_with_http_info(subscription, opts)
|
347
|
+
def outgoing_spei_transactions_report_using_get(authorization, subscription, opts = {})
|
348
|
+
data, _status_code, _headers = outgoing_spei_transactions_report_using_get_with_http_info(authorization, subscription, opts)
|
175
349
|
data
|
176
350
|
end
|
177
351
|
|
178
352
|
# Consulta de transferencias realizadas
|
179
353
|
# Consulta las transferencias realizadas en la cuenta del cliente Monex relacionada a la suscripción, las transferencias que regresa este recuso son únicamente las transferencias recibidas en el día en el que se realiza la consulta.<br>Se pueden realizar consultas por <strong>order_id</strong> al realizar este tipo de consultas no importa el día en el que se realizó la transferencia
|
180
|
-
# @param
|
354
|
+
# @param authorization Header para token
|
355
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
181
356
|
# @param [Hash] opts the optional parameters
|
182
|
-
# @option opts [String] :order_id
|
357
|
+
# @option opts [String] :order_id Es el identificador de la orden a buscar.
|
183
358
|
# @return [Array<(Array<Payment>, Fixnum, Hash)>] Array<Payment> data, response status code and response headers
|
184
|
-
def outgoing_spei_transactions_report_using_get_with_http_info(subscription, opts = {})
|
359
|
+
def outgoing_spei_transactions_report_using_get_with_http_info(authorization, subscription, opts = {})
|
185
360
|
if @api_client.config.debugging
|
186
361
|
@api_client.config.logger.debug 'Calling API: TransferenciasSPEIApi.outgoing_spei_transactions_report_using_get ...'
|
187
362
|
end
|
363
|
+
# verify the required parameter 'authorization' is set
|
364
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
365
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling TransferenciasSPEIApi.outgoing_spei_transactions_report_using_get"
|
366
|
+
end
|
188
367
|
# verify the required parameter 'subscription' is set
|
189
368
|
if @api_client.config.client_side_validation && subscription.nil?
|
190
369
|
fail ArgumentError, "Missing the required parameter 'subscription' when calling TransferenciasSPEIApi.outgoing_spei_transactions_report_using_get"
|
@@ -212,13 +391,14 @@ module Wire4Client
|
|
212
391
|
header_params = {}
|
213
392
|
# HTTP header 'Accept' (if needed)
|
214
393
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
394
|
+
header_params[:'Authorization'] = authorization
|
215
395
|
|
216
396
|
# form parameters
|
217
397
|
form_params = {}
|
218
398
|
|
219
399
|
# http body (model)
|
220
400
|
post_body = nil
|
221
|
-
auth_names = [
|
401
|
+
auth_names = []
|
222
402
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
223
403
|
:header_params => header_params,
|
224
404
|
:query_params => query_params,
|
@@ -232,26 +412,32 @@ module Wire4Client
|
|
232
412
|
return data, status_code, headers
|
233
413
|
end
|
234
414
|
# Registro de transferencias
|
235
|
-
#
|
236
|
-
# @param
|
415
|
+
# Se registra un conjunto de transferencias (una o más) a realizar en la cuenta del cliente Monex relacionada a la suscripción. En la respuesta se proporcionará una dirección URL que lo llevará al centro de autorización para que las transferencias sean confirmadas (autorizadas) por el cliente para que se efectúen, para ello debe ingresar la llave electrónica (Token).<br> Nota: Debe considerar que el concepto de cada una de las transacciones solo debe contener caracteres alfanuméricos por lo que en caso de que se reciban caracteres como ñ o acentos serán sustituidos por n o en su caso por la letra sin acento. Los caracteres no alfanuméricos como pueden ser caracteres especiales serán eliminados.
|
416
|
+
# @param authorization Header para token
|
417
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
237
418
|
# @param transactions Información de las transferencias SPEI de salida
|
238
419
|
# @param [Hash] opts the optional parameters
|
239
420
|
# @return [TokenRequiredResponse]
|
240
|
-
def register_outgoing_spei_transaction_using_post(subscription, transactions, opts = {})
|
241
|
-
data, _status_code, _headers = register_outgoing_spei_transaction_using_post_with_http_info(subscription, transactions, opts)
|
421
|
+
def register_outgoing_spei_transaction_using_post(authorization, subscription, transactions, opts = {})
|
422
|
+
data, _status_code, _headers = register_outgoing_spei_transaction_using_post_with_http_info(authorization, subscription, transactions, opts)
|
242
423
|
data
|
243
424
|
end
|
244
425
|
|
245
426
|
# Registro de transferencias
|
246
|
-
#
|
247
|
-
# @param
|
427
|
+
# Se registra un conjunto de transferencias (una o más) a realizar en la cuenta del cliente Monex relacionada a la suscripción. En la respuesta se proporcionará una dirección URL que lo llevará al centro de autorización para que las transferencias sean confirmadas (autorizadas) por el cliente para que se efectúen, para ello debe ingresar la llave electrónica (Token).<br> Nota: Debe considerar que el concepto de cada una de las transacciones solo debe contener caracteres alfanuméricos por lo que en caso de que se reciban caracteres como ñ o acentos serán sustituidos por n o en su caso por la letra sin acento. Los caracteres no alfanuméricos como pueden ser caracteres especiales serán eliminados.
|
428
|
+
# @param authorization Header para token
|
429
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
248
430
|
# @param transactions Información de las transferencias SPEI de salida
|
249
431
|
# @param [Hash] opts the optional parameters
|
250
432
|
# @return [Array<(TokenRequiredResponse, Fixnum, Hash)>] TokenRequiredResponse data, response status code and response headers
|
251
|
-
def register_outgoing_spei_transaction_using_post_with_http_info(subscription, transactions, opts = {})
|
433
|
+
def register_outgoing_spei_transaction_using_post_with_http_info(authorization, subscription, transactions, opts = {})
|
252
434
|
if @api_client.config.debugging
|
253
435
|
@api_client.config.logger.debug 'Calling API: TransferenciasSPEIApi.register_outgoing_spei_transaction_using_post ...'
|
254
436
|
end
|
437
|
+
# verify the required parameter 'authorization' is set
|
438
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
439
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling TransferenciasSPEIApi.register_outgoing_spei_transaction_using_post"
|
440
|
+
end
|
255
441
|
# verify the required parameter 'subscription' is set
|
256
442
|
if @api_client.config.client_side_validation && subscription.nil?
|
257
443
|
fail ArgumentError, "Missing the required parameter 'subscription' when calling TransferenciasSPEIApi.register_outgoing_spei_transaction_using_post"
|
@@ -284,13 +470,14 @@ module Wire4Client
|
|
284
470
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
285
471
|
# HTTP header 'Content-Type'
|
286
472
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
473
|
+
header_params[:'Authorization'] = authorization
|
287
474
|
|
288
475
|
# form parameters
|
289
476
|
form_params = {}
|
290
477
|
|
291
478
|
# http body (model)
|
292
479
|
post_body = @api_client.object_to_http_body(transactions)
|
293
|
-
auth_names = [
|
480
|
+
auth_names = []
|
294
481
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
295
482
|
:header_params => header_params,
|
296
483
|
:query_params => query_params,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#Referencia de
|
4
|
+
#Referencia de API. La API de Wire4 está organizada en torno a REST
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -19,25 +19,31 @@ module Wire4Client
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Consulta
|
23
|
-
# Obtiene las clasificaciones para operaciones con dólares (SPID) de Monex.<br/>Este recurso se debe invocar previo al realizar una operación SPID.<br/>
|
24
|
-
# @param
|
22
|
+
# Consulta de clasificaciones para operaciones SPID®
|
23
|
+
# Obtiene las clasificaciones para operaciones con dólares (SPID®) de Monex.<br/><br/>Este recurso se debe invocar previo al realizar una operación SPID.<br/><br/>
|
24
|
+
# @param authorization Header para token
|
25
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
25
26
|
# @param [Hash] opts the optional parameters
|
26
27
|
# @return [SpidClassificationsResponseDTO]
|
27
|
-
def get_spid_classifications_using_get(subscription, opts = {})
|
28
|
-
data, _status_code, _headers = get_spid_classifications_using_get_with_http_info(subscription, opts)
|
28
|
+
def get_spid_classifications_using_get(authorization, subscription, opts = {})
|
29
|
+
data, _status_code, _headers = get_spid_classifications_using_get_with_http_info(authorization, subscription, opts)
|
29
30
|
data
|
30
31
|
end
|
31
32
|
|
32
|
-
# Consulta
|
33
|
-
# Obtiene las clasificaciones para operaciones con dólares (SPID) de Monex.<br/>Este recurso se debe invocar previo al realizar una operación SPID.<br/>
|
34
|
-
# @param
|
33
|
+
# Consulta de clasificaciones para operaciones SPID®
|
34
|
+
# Obtiene las clasificaciones para operaciones con dólares (SPID®) de Monex.<br/><br/>Este recurso se debe invocar previo al realizar una operación SPID.<br/><br/>
|
35
|
+
# @param authorization Header para token
|
36
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
35
37
|
# @param [Hash] opts the optional parameters
|
36
38
|
# @return [Array<(SpidClassificationsResponseDTO, Fixnum, Hash)>] SpidClassificationsResponseDTO data, response status code and response headers
|
37
|
-
def get_spid_classifications_using_get_with_http_info(subscription, opts = {})
|
39
|
+
def get_spid_classifications_using_get_with_http_info(authorization, subscription, opts = {})
|
38
40
|
if @api_client.config.debugging
|
39
41
|
@api_client.config.logger.debug 'Calling API: TransferenciasSPIDApi.get_spid_classifications_using_get ...'
|
40
42
|
end
|
43
|
+
# verify the required parameter 'authorization' is set
|
44
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
45
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling TransferenciasSPIDApi.get_spid_classifications_using_get"
|
46
|
+
end
|
41
47
|
# verify the required parameter 'subscription' is set
|
42
48
|
if @api_client.config.client_side_validation && subscription.nil?
|
43
49
|
fail ArgumentError, "Missing the required parameter 'subscription' when calling TransferenciasSPIDApi.get_spid_classifications_using_get"
|
@@ -60,13 +66,14 @@ module Wire4Client
|
|
60
66
|
header_params = {}
|
61
67
|
# HTTP header 'Accept' (if needed)
|
62
68
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
69
|
+
header_params[:'Authorization'] = authorization
|
63
70
|
|
64
71
|
# form parameters
|
65
72
|
form_params = {}
|
66
73
|
|
67
74
|
# http body (model)
|
68
75
|
post_body = nil
|
69
|
-
auth_names = [
|
76
|
+
auth_names = []
|
70
77
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
71
78
|
:header_params => header_params,
|
72
79
|
:query_params => query_params,
|
@@ -79,27 +86,33 @@ module Wire4Client
|
|
79
86
|
end
|
80
87
|
return data, status_code, headers
|
81
88
|
end
|
82
|
-
# Registro de transferencias SPID
|
83
|
-
# Registra un conjunto de transferencias a realizar en la cuenta del cliente Monex relacionada a la suscripción
|
84
|
-
# @param
|
89
|
+
# Registro de transferencias SPID®
|
90
|
+
# Registra un conjunto de transferencias a realizar en la cuenta del cliente Monex relacionada a la suscripción. En la respuesta se proporcionará una dirección URL que lo llevará al centro de autorización para que las transferencias sean confirmadas (autorizadas) por el cliente para que se efectúen, para ello debe ingresar la llave electrónica (Token).<br> Nota: Debe considerar que el concepto de cada una de las transacciones solo debe contener caracteres alfanuméricos por lo que en caso de que se reciban caracteres como ñ o acentos serán sustituidos por n o en su caso por la letra sin acento. Los caracteres no alfanuméricos como pueden ser caracteres especiales serán eliminados.
|
91
|
+
# @param authorization Header para token
|
92
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
85
93
|
# @param transactions Información de las transferencias SPID de salida
|
86
94
|
# @param [Hash] opts the optional parameters
|
87
95
|
# @return [TokenRequiredResponse]
|
88
|
-
def register_outgoing_spid_transaction_using_post(subscription, transactions, opts = {})
|
89
|
-
data, _status_code, _headers = register_outgoing_spid_transaction_using_post_with_http_info(subscription, transactions, opts)
|
96
|
+
def register_outgoing_spid_transaction_using_post(authorization, subscription, transactions, opts = {})
|
97
|
+
data, _status_code, _headers = register_outgoing_spid_transaction_using_post_with_http_info(authorization, subscription, transactions, opts)
|
90
98
|
data
|
91
99
|
end
|
92
100
|
|
93
|
-
# Registro de transferencias SPID
|
94
|
-
# Registra un conjunto de transferencias a realizar en la cuenta del cliente Monex relacionada a la suscripción
|
95
|
-
# @param
|
101
|
+
# Registro de transferencias SPID®
|
102
|
+
# Registra un conjunto de transferencias a realizar en la cuenta del cliente Monex relacionada a la suscripción. En la respuesta se proporcionará una dirección URL que lo llevará al centro de autorización para que las transferencias sean confirmadas (autorizadas) por el cliente para que se efectúen, para ello debe ingresar la llave electrónica (Token).<br> Nota: Debe considerar que el concepto de cada una de las transacciones solo debe contener caracteres alfanuméricos por lo que en caso de que se reciban caracteres como ñ o acentos serán sustituidos por n o en su caso por la letra sin acento. Los caracteres no alfanuméricos como pueden ser caracteres especiales serán eliminados.
|
103
|
+
# @param authorization Header para token
|
104
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
96
105
|
# @param transactions Información de las transferencias SPID de salida
|
97
106
|
# @param [Hash] opts the optional parameters
|
98
107
|
# @return [Array<(TokenRequiredResponse, Fixnum, Hash)>] TokenRequiredResponse data, response status code and response headers
|
99
|
-
def register_outgoing_spid_transaction_using_post_with_http_info(subscription, transactions, opts = {})
|
108
|
+
def register_outgoing_spid_transaction_using_post_with_http_info(authorization, subscription, transactions, opts = {})
|
100
109
|
if @api_client.config.debugging
|
101
110
|
@api_client.config.logger.debug 'Calling API: TransferenciasSPIDApi.register_outgoing_spid_transaction_using_post ...'
|
102
111
|
end
|
112
|
+
# verify the required parameter 'authorization' is set
|
113
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
114
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling TransferenciasSPIDApi.register_outgoing_spid_transaction_using_post"
|
115
|
+
end
|
103
116
|
# verify the required parameter 'subscription' is set
|
104
117
|
if @api_client.config.client_side_validation && subscription.nil?
|
105
118
|
fail ArgumentError, "Missing the required parameter 'subscription' when calling TransferenciasSPIDApi.register_outgoing_spid_transaction_using_post"
|
@@ -132,13 +145,14 @@ module Wire4Client
|
|
132
145
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
133
146
|
# HTTP header 'Content-Type'
|
134
147
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
148
|
+
header_params[:'Authorization'] = authorization
|
135
149
|
|
136
150
|
# form parameters
|
137
151
|
form_params = {}
|
138
152
|
|
139
153
|
# http body (model)
|
140
154
|
post_body = @api_client.object_to_http_body(transactions)
|
141
|
-
auth_names = [
|
155
|
+
auth_names = []
|
142
156
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
143
157
|
:header_params => header_params,
|
144
158
|
:query_params => query_params,
|