wire4_client 1.0.0 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +88 -21
- 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/ConfigurationsLimits.md +9 -0
- data/docs/ContactRequest.md +5 -5
- data/docs/ContractDetailRequest.md +11 -0
- data/docs/ContractDetailResponse.md +9 -0
- data/docs/ContractsDetailsApi.md +222 -0
- data/docs/CuentasDeBeneficiariosSPEIApi.md +156 -37
- data/docs/CuentasDeBeneficiariosSPIDApi.md +24 -12
- data/docs/Deposit.md +22 -20
- data/docs/DepositAuthorizationRequest.md +10 -0
- data/docs/Depositant.md +5 -5
- data/docs/DepositantesApi.md +6 -6
- 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/GetDepositants.md +1 -1
- data/docs/InstitucionesApi.md +5 -3
- 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 +28 -0
- data/docs/MessageDepositReceived.md +22 -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 -6
- 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/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 +3 -3
- 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 +1 -1
- data/docs/SpidBeneficiaryResponse.md +11 -9
- data/docs/SpidClassificationDTO.md +2 -2
- data/docs/SubscriptionChangeStatusRequest.md +8 -0
- data/docs/SuscripcionesApi.md +125 -18
- 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 +88 -24
- data/docs/TransferenciasSPIDApi.md +12 -12
- 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 +10 -10
- data/lib/wire4_client.rb +55 -1
- data/lib/wire4_client/api/autorizacin_de_depsitos_api.rb +173 -0
- data/lib/wire4_client/api/contracts_details_api.rb +301 -0
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spei_api.rb +225 -41
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spid_api.rb +29 -12
- data/lib/wire4_client/api/depositantes_api.rb +8 -8
- data/lib/wire4_client/api/empresas_co_di_api.rb +137 -0
- data/lib/wire4_client/api/instituciones_api.rb +4 -2
- 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 +4 -4
- data/lib/wire4_client/api/suscripciones_api.rb +151 -18
- data/lib/wire4_client/api/transferencias_spei_api.rb +136 -24
- data/lib/wire4_client/api/transferencias_spid_api.rb +12 -12
- data/lib/wire4_client/api/webhooks_api.rb +15 -15
- data/lib/wire4_client/models/account.rb +11 -11
- data/lib/wire4_client/models/{timestamp.rb → account_detail.rb} +49 -74
- data/lib/wire4_client/models/account_reassigned.rb +375 -0
- data/lib/wire4_client/models/account_request.rb +3 -3
- data/lib/wire4_client/models/account_response.rb +36 -16
- data/lib/wire4_client/models/account_spid.rb +59 -11
- data/lib/wire4_client/models/address_company.rb +275 -0
- data/lib/wire4_client/models/amount_request.rb +94 -8
- 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 +4 -4
- data/lib/wire4_client/models/balance_list_response.rb +1 -1
- data/lib/wire4_client/models/beneficiaries_query_register_status.rb +270 -0
- data/lib/wire4_client/models/beneficiaries_response.rb +1 -1
- data/lib/wire4_client/models/billing_transaction.rb +1 -1
- data/lib/wire4_client/models/cep_response.rb +20 -20
- data/lib/wire4_client/models/cep_search_banxico.rb +8 -8
- 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 +6 -6
- 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 +41 -21
- data/lib/wire4_client/models/deposit_authorization_request.rb +205 -0
- data/lib/wire4_client/models/depositant.rb +5 -5
- data/lib/wire4_client/models/depositants_register.rb +4 -4
- data/lib/wire4_client/models/depositants_response.rb +1 -1
- 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/get_depositants.rb +2 -2
- data/lib/wire4_client/models/institution.rb +5 -5
- data/lib/wire4_client/models/institutions_list.rb +1 -1
- data/lib/wire4_client/models/item.rb +205 -0
- data/lib/wire4_client/models/message_account_beneficiary.rb +4 -4
- data/lib/wire4_client/models/message_cep.rb +22 -22
- 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 +385 -0
- data/lib/wire4_client/models/message_deposit_received.rb +42 -22
- data/lib/wire4_client/models/message_institution.rb +5 -5
- data/lib/wire4_client/models/message_payment.rb +40 -19
- 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 +7 -7
- data/lib/wire4_client/models/message_user_authorized.rb +245 -0
- data/lib/wire4_client/models/message_web_hook.rb +10 -10
- 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 +38 -18
- 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/pre_enrollment_data.rb +20 -2
- data/lib/wire4_client/models/pre_enrollment_response.rb +2 -2
- data/lib/wire4_client/models/pre_monex_authorization.rb +291 -0
- data/lib/wire4_client/models/relationship.rb +2 -2
- data/lib/wire4_client/models/relationships_response.rb +1 -1
- 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 +1 -1
- data/lib/wire4_client/models/spid_beneficiary_response.rb +33 -13
- data/lib/wire4_client/models/spid_classification_dto.rb +2 -2
- data/lib/wire4_client/models/subscription_change_status_request.rb +222 -0
- data/lib/wire4_client/models/token_required_response.rb +3 -3
- data/lib/wire4_client/models/transaction_error_code.rb +201 -0
- data/lib/wire4_client/models/transaction_outgoing.rb +12 -2
- data/lib/wire4_client/models/transaction_outgoing_spid.rb +11 -11
- data/lib/wire4_client/models/transactions_outgoing_register.rb +4 -4
- 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 +3 -3
- data/lib/wire4_client/models/webhook_response.rb +5 -5
- data/lib/wire4_client/version.rb +1 -1
- data/spec/api/autorizacin_de_depsitos_api_spec.rb +62 -0
- data/spec/api/contracts_details_api_spec.rb +90 -0
- data/spec/api/cuentas_de_beneficiarios_spei_api_spec.rb +52 -19
- data/spec/api/cuentas_de_beneficiarios_spid_api_spec.rb +12 -6
- data/spec/api/depositantes_api_spec.rb +4 -4
- data/spec/api/empresas_co_di_api_spec.rb +60 -0
- data/spec/api/instituciones_api_spec.rb +2 -1
- 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 +2 -2
- data/spec/api/suscripciones_api_spec.rb +37 -9
- data/spec/api/transferencias_spei_api_spec.rb +29 -12
- data/spec/api/transferencias_spid_api_spec.rb +6 -6
- data/spec/api/webhooks_api_spec.rb +4 -4
- data/spec/models/account_detail_spec.rb +71 -0
- data/spec/models/account_reassigned_spec.rb +119 -0
- data/spec/models/account_response_spec.rb +12 -0
- data/spec/models/{timestamp_spec.rb → address_company_spec.rb} +16 -16
- data/spec/models/amount_request_spec.rb +12 -0
- 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/beneficiaries_query_register_status_spec.rb +75 -0
- 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/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 +12 -0
- data/spec/models/deposits_authorization_response_spec.rb +53 -0
- data/spec/models/detailed_error_response_spec.rb +53 -0
- data/spec/models/item_spec.rb +53 -0
- 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 +161 -0
- data/spec/models/message_deposit_received_spec.rb +12 -0
- data/spec/models/message_payment_spec.rb +12 -0
- 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_user_authorized_spec.rb +77 -0
- 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 +12 -0
- data/spec/models/pre_monex_authorization_spec.rb +59 -0
- 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_beneficiary_response_spec.rb +12 -0
- data/spec/models/subscription_change_status_request_spec.rb +45 -0
- data/spec/models/transaction_error_code_spec.rb +53 -0
- data/spec/models/transaction_outgoing_spec.rb +6 -0
- 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_spec.rb +75 -0
- metadata +222 -7
- data/Gemfile.lock +0 -69
- data/docs/Timestamp.md +0 -17
@@ -0,0 +1,178 @@
|
|
1
|
+
=begin
|
2
|
+
#Wire4RestAPI
|
3
|
+
|
4
|
+
#Referencia de la API de Wire4
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.10
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'uri'
|
14
|
+
|
15
|
+
module Wire4Client
|
16
|
+
class PeticionesDePagoPorCoDiApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Consulta información de petición por orderId
|
23
|
+
# Obtiene la información de una petición de pago CODI® por orderId para un punto de venta.
|
24
|
+
# @param authorization Header para token
|
25
|
+
# @param order_id Identificador del pago CODI®
|
26
|
+
# @param sales_point_id Identificador del punto de venta
|
27
|
+
# @param [Hash] opts the optional parameters
|
28
|
+
# @return [PaymentRequestCodiResponseDTO]
|
29
|
+
def consult_codi_request_by_order_id(authorization, order_id, sales_point_id, opts = {})
|
30
|
+
data, _status_code, _headers = consult_codi_request_by_order_id_with_http_info(authorization, order_id, sales_point_id, opts)
|
31
|
+
data
|
32
|
+
end
|
33
|
+
|
34
|
+
# Consulta información de petición por orderId
|
35
|
+
# Obtiene la información de una petición de pago CODI® por orderId para un punto de venta.
|
36
|
+
# @param authorization Header para token
|
37
|
+
# @param order_id Identificador del pago CODI®
|
38
|
+
# @param sales_point_id Identificador del punto de venta
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Array<(PaymentRequestCodiResponseDTO, Fixnum, Hash)>] PaymentRequestCodiResponseDTO data, response status code and response headers
|
41
|
+
def consult_codi_request_by_order_id_with_http_info(authorization, order_id, sales_point_id, opts = {})
|
42
|
+
if @api_client.config.debugging
|
43
|
+
@api_client.config.logger.debug 'Calling API: PeticionesDePagoPorCoDiApi.consult_codi_request_by_order_id ...'
|
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 PeticionesDePagoPorCoDiApi.consult_codi_request_by_order_id"
|
48
|
+
end
|
49
|
+
# verify the required parameter 'order_id' is set
|
50
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
51
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling PeticionesDePagoPorCoDiApi.consult_codi_request_by_order_id"
|
52
|
+
end
|
53
|
+
# verify the required parameter 'sales_point_id' is set
|
54
|
+
if @api_client.config.client_side_validation && sales_point_id.nil?
|
55
|
+
fail ArgumentError, "Missing the required parameter 'sales_point_id' when calling PeticionesDePagoPorCoDiApi.consult_codi_request_by_order_id"
|
56
|
+
end
|
57
|
+
if @api_client.config.client_side_validation && sales_point_id.to_s.length > 36
|
58
|
+
fail ArgumentError, 'invalid value for "sales_point_id" when calling PeticionesDePagoPorCoDiApi.consult_codi_request_by_order_id, the character length must be smaller than or equal to 36.'
|
59
|
+
end
|
60
|
+
|
61
|
+
if @api_client.config.client_side_validation && sales_point_id.to_s.length < 36
|
62
|
+
fail ArgumentError, 'invalid value for "sales_point_id" when calling PeticionesDePagoPorCoDiApi.consult_codi_request_by_order_id, the character length must be great than or equal to 36.'
|
63
|
+
end
|
64
|
+
|
65
|
+
# resource path
|
66
|
+
local_var_path = '/codi/sales-point/charges'
|
67
|
+
|
68
|
+
# query parameters
|
69
|
+
query_params = {}
|
70
|
+
query_params[:'orderId'] = order_id
|
71
|
+
query_params[:'salesPointId'] = sales_point_id
|
72
|
+
|
73
|
+
# header parameters
|
74
|
+
header_params = {}
|
75
|
+
# HTTP header 'Accept' (if needed)
|
76
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
77
|
+
header_params[:'Authorization'] = authorization
|
78
|
+
|
79
|
+
# form parameters
|
80
|
+
form_params = {}
|
81
|
+
|
82
|
+
# http body (model)
|
83
|
+
post_body = nil
|
84
|
+
auth_names = []
|
85
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
86
|
+
:header_params => header_params,
|
87
|
+
:query_params => query_params,
|
88
|
+
:form_params => form_params,
|
89
|
+
:body => post_body,
|
90
|
+
:auth_names => auth_names,
|
91
|
+
:return_type => 'PaymentRequestCodiResponseDTO')
|
92
|
+
if @api_client.config.debugging
|
93
|
+
@api_client.config.logger.debug "API called: PeticionesDePagoPorCoDiApi#consult_codi_request_by_order_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
94
|
+
end
|
95
|
+
return data, status_code, headers
|
96
|
+
end
|
97
|
+
# Genera código QR
|
98
|
+
# Genera un código QR solicitado por un punto de venta para un pago mediante CODI®
|
99
|
+
# @param authorization Header para token
|
100
|
+
# @param codi_info Información del pago CODI®
|
101
|
+
# @param sales_point_id Identificador del punto de venta
|
102
|
+
# @param [Hash] opts the optional parameters
|
103
|
+
# @return [CodiCodeQrResponseDTO]
|
104
|
+
def generate_codi_code_qr(authorization, codi_info, sales_point_id, opts = {})
|
105
|
+
data, _status_code, _headers = generate_codi_code_qr_with_http_info(authorization, codi_info, sales_point_id, opts)
|
106
|
+
data
|
107
|
+
end
|
108
|
+
|
109
|
+
# Genera código QR
|
110
|
+
# Genera un código QR solicitado por un punto de venta para un pago mediante CODI®
|
111
|
+
# @param authorization Header para token
|
112
|
+
# @param codi_info Información del pago CODI®
|
113
|
+
# @param sales_point_id Identificador del punto de venta
|
114
|
+
# @param [Hash] opts the optional parameters
|
115
|
+
# @return [Array<(CodiCodeQrResponseDTO, Fixnum, Hash)>] CodiCodeQrResponseDTO data, response status code and response headers
|
116
|
+
def generate_codi_code_qr_with_http_info(authorization, codi_info, sales_point_id, opts = {})
|
117
|
+
if @api_client.config.debugging
|
118
|
+
@api_client.config.logger.debug 'Calling API: PeticionesDePagoPorCoDiApi.generate_codi_code_qr ...'
|
119
|
+
end
|
120
|
+
# verify the required parameter 'authorization' is set
|
121
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
122
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling PeticionesDePagoPorCoDiApi.generate_codi_code_qr"
|
123
|
+
end
|
124
|
+
# verify the required parameter 'codi_info' is set
|
125
|
+
if @api_client.config.client_side_validation && codi_info.nil?
|
126
|
+
fail ArgumentError, "Missing the required parameter 'codi_info' when calling PeticionesDePagoPorCoDiApi.generate_codi_code_qr"
|
127
|
+
end
|
128
|
+
# verify the required parameter 'sales_point_id' is set
|
129
|
+
if @api_client.config.client_side_validation && sales_point_id.nil?
|
130
|
+
fail ArgumentError, "Missing the required parameter 'sales_point_id' when calling PeticionesDePagoPorCoDiApi.generate_codi_code_qr"
|
131
|
+
end
|
132
|
+
if @api_client.config.client_side_validation && sales_point_id.to_s.length > 36
|
133
|
+
fail ArgumentError, 'invalid value for "sales_point_id" when calling PeticionesDePagoPorCoDiApi.generate_codi_code_qr, the character length must be smaller than or equal to 36.'
|
134
|
+
end
|
135
|
+
|
136
|
+
if @api_client.config.client_side_validation && sales_point_id.to_s.length < 36
|
137
|
+
fail ArgumentError, 'invalid value for "sales_point_id" when calling PeticionesDePagoPorCoDiApi.generate_codi_code_qr, the character length must be great than or equal to 36.'
|
138
|
+
end
|
139
|
+
|
140
|
+
if @api_client.config.client_side_validation && sales_point_id !~ 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}$/)
|
141
|
+
fail ArgumentError, "invalid value for 'sales_point_id' when calling PeticionesDePagoPorCoDiApi.generate_codi_code_qr, 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}$/."
|
142
|
+
end
|
143
|
+
|
144
|
+
# resource path
|
145
|
+
local_var_path = '/codi/sales-point/charges'
|
146
|
+
|
147
|
+
# query parameters
|
148
|
+
query_params = {}
|
149
|
+
query_params[:'salesPointId'] = sales_point_id
|
150
|
+
|
151
|
+
# header parameters
|
152
|
+
header_params = {}
|
153
|
+
# HTTP header 'Accept' (if needed)
|
154
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
155
|
+
# HTTP header 'Content-Type'
|
156
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
157
|
+
header_params[:'Authorization'] = authorization
|
158
|
+
|
159
|
+
# form parameters
|
160
|
+
form_params = {}
|
161
|
+
|
162
|
+
# http body (model)
|
163
|
+
post_body = @api_client.object_to_http_body(codi_info)
|
164
|
+
auth_names = []
|
165
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
166
|
+
:header_params => header_params,
|
167
|
+
:query_params => query_params,
|
168
|
+
:form_params => form_params,
|
169
|
+
:body => post_body,
|
170
|
+
:auth_names => auth_names,
|
171
|
+
:return_type => 'CodiCodeQrResponseDTO')
|
172
|
+
if @api_client.config.debugging
|
173
|
+
@api_client.config.logger.debug "API called: PeticionesDePagoPorCoDiApi#generate_codi_code_qr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
174
|
+
end
|
175
|
+
return data, status_code, headers
|
176
|
+
end
|
177
|
+
end
|
178
|
+
end
|
@@ -0,0 +1,151 @@
|
|
1
|
+
=begin
|
2
|
+
#Wire4RestAPI
|
3
|
+
|
4
|
+
#Referencia de la API de Wire4
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.10
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'uri'
|
14
|
+
|
15
|
+
module Wire4Client
|
16
|
+
class PuntosDeVentaCoDiApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Registro de punto de venta.
|
23
|
+
# Se registra un punto de venta (TPV) desde donde se emitarán los cobros CODI®. El punto de venta se debe asociar a un cuenta CLABE registrada previamente ante Banxico para realizar cobros con CODI®.
|
24
|
+
# @param authorization Header para token
|
25
|
+
# @param company_id Es el identificador de la empresa.
|
26
|
+
# @param sales_point_info Es el objeto que contiene información del punto de venta CODI®.
|
27
|
+
# @param [Hash] opts the optional parameters
|
28
|
+
# @return [SalesPointRespose]
|
29
|
+
def create_sales_point(authorization, company_id, sales_point_info, opts = {})
|
30
|
+
data, _status_code, _headers = create_sales_point_with_http_info(authorization, company_id, sales_point_info, opts)
|
31
|
+
data
|
32
|
+
end
|
33
|
+
|
34
|
+
# Registro de punto de venta.
|
35
|
+
# Se registra un punto de venta (TPV) desde donde se emitarán los cobros CODI®. El punto de venta se debe asociar a un cuenta CLABE registrada previamente ante Banxico para realizar cobros con CODI®.
|
36
|
+
# @param authorization Header para token
|
37
|
+
# @param company_id Es el identificador de la empresa.
|
38
|
+
# @param sales_point_info Es el objeto que contiene información del punto de venta CODI®.
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Array<(SalesPointRespose, Fixnum, Hash)>] SalesPointRespose data, response status code and response headers
|
41
|
+
def create_sales_point_with_http_info(authorization, company_id, sales_point_info, opts = {})
|
42
|
+
if @api_client.config.debugging
|
43
|
+
@api_client.config.logger.debug 'Calling API: PuntosDeVentaCoDiApi.create_sales_point ...'
|
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 PuntosDeVentaCoDiApi.create_sales_point"
|
48
|
+
end
|
49
|
+
# verify the required parameter 'company_id' is set
|
50
|
+
if @api_client.config.client_side_validation && company_id.nil?
|
51
|
+
fail ArgumentError, "Missing the required parameter 'company_id' when calling PuntosDeVentaCoDiApi.create_sales_point"
|
52
|
+
end
|
53
|
+
# verify the required parameter 'sales_point_info' is set
|
54
|
+
if @api_client.config.client_side_validation && sales_point_info.nil?
|
55
|
+
fail ArgumentError, "Missing the required parameter 'sales_point_info' when calling PuntosDeVentaCoDiApi.create_sales_point"
|
56
|
+
end
|
57
|
+
# resource path
|
58
|
+
local_var_path = '/codi/companies/salespoint'
|
59
|
+
|
60
|
+
# query parameters
|
61
|
+
query_params = {}
|
62
|
+
query_params[:'companyId'] = company_id
|
63
|
+
|
64
|
+
# header parameters
|
65
|
+
header_params = {}
|
66
|
+
# HTTP header 'Accept' (if needed)
|
67
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
68
|
+
# HTTP header 'Content-Type'
|
69
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
70
|
+
header_params[:'Authorization'] = authorization
|
71
|
+
|
72
|
+
# form parameters
|
73
|
+
form_params = {}
|
74
|
+
|
75
|
+
# http body (model)
|
76
|
+
post_body = @api_client.object_to_http_body(sales_point_info)
|
77
|
+
auth_names = []
|
78
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
79
|
+
:header_params => header_params,
|
80
|
+
:query_params => query_params,
|
81
|
+
:form_params => form_params,
|
82
|
+
:body => post_body,
|
83
|
+
:auth_names => auth_names,
|
84
|
+
:return_type => 'SalesPointRespose')
|
85
|
+
if @api_client.config.debugging
|
86
|
+
@api_client.config.logger.debug "API called: PuntosDeVentaCoDiApi#create_sales_point\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
87
|
+
end
|
88
|
+
return data, status_code, headers
|
89
|
+
end
|
90
|
+
# Consulta de puntos de venta
|
91
|
+
# Obtiene los puntos de venta asociados a una empresa en las cuales se hacen operaciones CODI®.
|
92
|
+
# @param authorization Header para token
|
93
|
+
# @param company_id Es el identificador de la empresa. Ejemplo: 8838d513-5916-4662-bb30-2448f0f543ed
|
94
|
+
# @param [Hash] opts the optional parameters
|
95
|
+
# @return [Array<SalesPointFound>]
|
96
|
+
def obtain_sale_points(authorization, company_id, opts = {})
|
97
|
+
data, _status_code, _headers = obtain_sale_points_with_http_info(authorization, company_id, opts)
|
98
|
+
data
|
99
|
+
end
|
100
|
+
|
101
|
+
# Consulta de puntos de venta
|
102
|
+
# Obtiene los puntos de venta asociados a una empresa en las cuales se hacen operaciones CODI®.
|
103
|
+
# @param authorization Header para token
|
104
|
+
# @param company_id Es el identificador de la empresa. Ejemplo: 8838d513-5916-4662-bb30-2448f0f543ed
|
105
|
+
# @param [Hash] opts the optional parameters
|
106
|
+
# @return [Array<(Array<SalesPointFound>, Fixnum, Hash)>] Array<SalesPointFound> data, response status code and response headers
|
107
|
+
def obtain_sale_points_with_http_info(authorization, company_id, opts = {})
|
108
|
+
if @api_client.config.debugging
|
109
|
+
@api_client.config.logger.debug 'Calling API: PuntosDeVentaCoDiApi.obtain_sale_points ...'
|
110
|
+
end
|
111
|
+
# verify the required parameter 'authorization' is set
|
112
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
113
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling PuntosDeVentaCoDiApi.obtain_sale_points"
|
114
|
+
end
|
115
|
+
# verify the required parameter 'company_id' is set
|
116
|
+
if @api_client.config.client_side_validation && company_id.nil?
|
117
|
+
fail ArgumentError, "Missing the required parameter 'company_id' when calling PuntosDeVentaCoDiApi.obtain_sale_points"
|
118
|
+
end
|
119
|
+
# resource path
|
120
|
+
local_var_path = '/codi/companies/salespoint'
|
121
|
+
|
122
|
+
# query parameters
|
123
|
+
query_params = {}
|
124
|
+
query_params[:'companyId'] = company_id
|
125
|
+
|
126
|
+
# header parameters
|
127
|
+
header_params = {}
|
128
|
+
# HTTP header 'Accept' (if needed)
|
129
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
130
|
+
header_params[:'Authorization'] = authorization
|
131
|
+
|
132
|
+
# form parameters
|
133
|
+
form_params = {}
|
134
|
+
|
135
|
+
# http body (model)
|
136
|
+
post_body = nil
|
137
|
+
auth_names = []
|
138
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
139
|
+
:header_params => header_params,
|
140
|
+
:query_params => query_params,
|
141
|
+
:form_params => form_params,
|
142
|
+
:body => post_body,
|
143
|
+
:auth_names => auth_names,
|
144
|
+
:return_type => 'Array<SalesPointFound>')
|
145
|
+
if @api_client.config.debugging
|
146
|
+
@api_client.config.logger.debug "API called: PuntosDeVentaCoDiApi#obtain_sale_points\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
147
|
+
end
|
148
|
+
return data, status_code, headers
|
149
|
+
end
|
150
|
+
end
|
151
|
+
end
|
@@ -20,9 +20,9 @@ module Wire4Client
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Consulta los saldo de una cuenta
|
23
|
-
# Obtiene el de las divisas que se manejen en
|
23
|
+
# Obtiene el saldo de un contrato, según las divisas que se manejen en dicho contrato, ya sea peso mexicano (MXP) o dólar estadounidense (USD).
|
24
24
|
# @param authorization Header para token
|
25
|
-
# @param subscription
|
25
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @return [BalanceListResponse]
|
28
28
|
def get_balance_using_get(authorization, subscription, opts = {})
|
@@ -31,9 +31,9 @@ module Wire4Client
|
|
31
31
|
end
|
32
32
|
|
33
33
|
# Consulta los saldo de una cuenta
|
34
|
-
# Obtiene el de las divisas que se manejen en
|
34
|
+
# Obtiene el saldo de un contrato, según las divisas que se manejen en dicho contrato, ya sea peso mexicano (MXP) o dólar estadounidense (USD).
|
35
35
|
# @param authorization Header para token
|
36
|
-
# @param subscription
|
36
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @return [Array<(BalanceListResponse, Fixnum, Hash)>] BalanceListResponse data, response status code and response headers
|
39
39
|
def get_balance_using_get_with_http_info(authorization, subscription, opts = {})
|
@@ -19,10 +19,143 @@ module Wire4Client
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
#
|
23
|
-
#
|
22
|
+
# Cambia el estatus de la suscripción
|
23
|
+
# Se cambia el estado o estatus de la suscripción a los posibles valores que son: ACTIVE o INACTIVE
|
24
24
|
# @param authorization Header para token
|
25
|
-
# @param
|
25
|
+
# @param request request
|
26
|
+
# @param subscription subscription
|
27
|
+
# @param [Hash] opts the optional parameters
|
28
|
+
# @return [nil]
|
29
|
+
def change_subscription_status_using_put(authorization, request, subscription, opts = {})
|
30
|
+
change_subscription_status_using_put_with_http_info(authorization, request, subscription, opts)
|
31
|
+
nil
|
32
|
+
end
|
33
|
+
|
34
|
+
# Cambia el estatus de la suscripción
|
35
|
+
# Se cambia el estado o estatus de la suscripción a los posibles valores que son: ACTIVE o INACTIVE
|
36
|
+
# @param authorization Header para token
|
37
|
+
# @param request request
|
38
|
+
# @param subscription subscription
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
41
|
+
def change_subscription_status_using_put_with_http_info(authorization, request, subscription, opts = {})
|
42
|
+
if @api_client.config.debugging
|
43
|
+
@api_client.config.logger.debug 'Calling API: SuscripcionesApi.change_subscription_status_using_put ...'
|
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 SuscripcionesApi.change_subscription_status_using_put"
|
48
|
+
end
|
49
|
+
# verify the required parameter 'request' is set
|
50
|
+
if @api_client.config.client_side_validation && request.nil?
|
51
|
+
fail ArgumentError, "Missing the required parameter 'request' when calling SuscripcionesApi.change_subscription_status_using_put"
|
52
|
+
end
|
53
|
+
# verify the required parameter 'subscription' is set
|
54
|
+
if @api_client.config.client_side_validation && subscription.nil?
|
55
|
+
fail ArgumentError, "Missing the required parameter 'subscription' when calling SuscripcionesApi.change_subscription_status_using_put"
|
56
|
+
end
|
57
|
+
# resource path
|
58
|
+
local_var_path = '/subscriptions/{subscription}/status'.sub('{' + 'subscription' + '}', subscription.to_s)
|
59
|
+
|
60
|
+
# query parameters
|
61
|
+
query_params = {}
|
62
|
+
|
63
|
+
# header parameters
|
64
|
+
header_params = {}
|
65
|
+
# HTTP header 'Accept' (if needed)
|
66
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
67
|
+
# HTTP header 'Content-Type'
|
68
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
69
|
+
header_params[:'Authorization'] = authorization
|
70
|
+
|
71
|
+
# form parameters
|
72
|
+
form_params = {}
|
73
|
+
|
74
|
+
# http body (model)
|
75
|
+
post_body = @api_client.object_to_http_body(request)
|
76
|
+
auth_names = []
|
77
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
78
|
+
:header_params => header_params,
|
79
|
+
:query_params => query_params,
|
80
|
+
:form_params => form_params,
|
81
|
+
:body => post_body,
|
82
|
+
:auth_names => auth_names)
|
83
|
+
if @api_client.config.debugging
|
84
|
+
@api_client.config.logger.debug "API called: SuscripcionesApi#change_subscription_status_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
85
|
+
end
|
86
|
+
return data, status_code, headers
|
87
|
+
end
|
88
|
+
# Cambia el uso de la suscripción
|
89
|
+
# Se asigna o cambia el uso y el estatus que se le dará a la subscripción para los servicios SPEI y SPID en el manejo de Cobros y Pagos El status puede tener los posibles valores: ACTIVE o INACTIVE. El uso puede tener los posibles valores: WITHDRAWAL_DEPOSIT o WITHDRAWAL o DEPOSIT
|
90
|
+
# @param authorization Header para token
|
91
|
+
# @param request request
|
92
|
+
# @param subscription subscription
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @return [ServiceBanking]
|
95
|
+
def change_subscription_use_using_patch(authorization, request, subscription, opts = {})
|
96
|
+
data, _status_code, _headers = change_subscription_use_using_patch_with_http_info(authorization, request, subscription, opts)
|
97
|
+
data
|
98
|
+
end
|
99
|
+
|
100
|
+
# Cambia el uso de la suscripción
|
101
|
+
# Se asigna o cambia el uso y el estatus que se le dará a la subscripción para los servicios SPEI y SPID en el manejo de Cobros y Pagos El status puede tener los posibles valores: ACTIVE o INACTIVE. El uso puede tener los posibles valores: WITHDRAWAL_DEPOSIT o WITHDRAWAL o DEPOSIT
|
102
|
+
# @param authorization Header para token
|
103
|
+
# @param request request
|
104
|
+
# @param subscription subscription
|
105
|
+
# @param [Hash] opts the optional parameters
|
106
|
+
# @return [Array<(ServiceBanking, Fixnum, Hash)>] ServiceBanking data, response status code and response headers
|
107
|
+
def change_subscription_use_using_patch_with_http_info(authorization, request, subscription, opts = {})
|
108
|
+
if @api_client.config.debugging
|
109
|
+
@api_client.config.logger.debug 'Calling API: SuscripcionesApi.change_subscription_use_using_patch ...'
|
110
|
+
end
|
111
|
+
# verify the required parameter 'authorization' is set
|
112
|
+
if @api_client.config.client_side_validation && authorization.nil?
|
113
|
+
fail ArgumentError, "Missing the required parameter 'authorization' when calling SuscripcionesApi.change_subscription_use_using_patch"
|
114
|
+
end
|
115
|
+
# verify the required parameter 'request' is set
|
116
|
+
if @api_client.config.client_side_validation && request.nil?
|
117
|
+
fail ArgumentError, "Missing the required parameter 'request' when calling SuscripcionesApi.change_subscription_use_using_patch"
|
118
|
+
end
|
119
|
+
# verify the required parameter 'subscription' is set
|
120
|
+
if @api_client.config.client_side_validation && subscription.nil?
|
121
|
+
fail ArgumentError, "Missing the required parameter 'subscription' when calling SuscripcionesApi.change_subscription_use_using_patch"
|
122
|
+
end
|
123
|
+
# resource path
|
124
|
+
local_var_path = '/subscriptions/{subscription}'.sub('{' + 'subscription' + '}', subscription.to_s)
|
125
|
+
|
126
|
+
# query parameters
|
127
|
+
query_params = {}
|
128
|
+
|
129
|
+
# header parameters
|
130
|
+
header_params = {}
|
131
|
+
# HTTP header 'Accept' (if needed)
|
132
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
133
|
+
# HTTP header 'Content-Type'
|
134
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
135
|
+
header_params[:'Authorization'] = authorization
|
136
|
+
|
137
|
+
# form parameters
|
138
|
+
form_params = {}
|
139
|
+
|
140
|
+
# http body (model)
|
141
|
+
post_body = @api_client.object_to_http_body(request)
|
142
|
+
auth_names = []
|
143
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
144
|
+
:header_params => header_params,
|
145
|
+
:query_params => query_params,
|
146
|
+
:form_params => form_params,
|
147
|
+
:body => post_body,
|
148
|
+
:auth_names => auth_names,
|
149
|
+
:return_type => 'ServiceBanking')
|
150
|
+
if @api_client.config.debugging
|
151
|
+
@api_client.config.logger.debug "API called: SuscripcionesApi#change_subscription_use_using_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
152
|
+
end
|
153
|
+
return data, status_code, headers
|
154
|
+
end
|
155
|
+
# Pre-registro de una suscripción
|
156
|
+
# Pre-registra una suscripción para operar un contrato a través de un aplicación socio de la plataforma. Se retorna una dirección URL hacia el centro de autorización donde el cliente Monex debe autorizar el acceso a los datos de su cuenta a el socio.<br/><br/>Una vez que el cuentahabiente autorice el acceso, se envía una notificación (webhook configurado) con el evento 'ENROLLMENT.CREATED', el cuál contiene los datos de acceso a esta API.
|
157
|
+
# @param authorization Header para token
|
158
|
+
# @param pre_enrollment_data Información para la pre-suscripción
|
26
159
|
# @param [Hash] opts the optional parameters
|
27
160
|
# @return [PreEnrollmentResponse]
|
28
161
|
def pre_enrollment_monex_user_using_post(authorization, pre_enrollment_data, opts = {})
|
@@ -30,10 +163,10 @@ module Wire4Client
|
|
30
163
|
data
|
31
164
|
end
|
32
165
|
|
33
|
-
#
|
34
|
-
# Pre-registra una suscripción para operar un contrato a través de un aplicación socio de la plataforma
|
166
|
+
# Pre-registro de una suscripción
|
167
|
+
# Pre-registra una suscripción para operar un contrato a través de un aplicación socio de la plataforma. Se retorna una dirección URL hacia el centro de autorización donde el cliente Monex debe autorizar el acceso a los datos de su cuenta a el socio.<br/><br/>Una vez que el cuentahabiente autorice el acceso, se envía una notificación (webhook configurado) con el evento 'ENROLLMENT.CREATED', el cuál contiene los datos de acceso a esta API.
|
35
168
|
# @param authorization Header para token
|
36
|
-
# @param pre_enrollment_data Información para
|
169
|
+
# @param pre_enrollment_data Información para la pre-suscripción
|
37
170
|
# @param [Hash] opts the optional parameters
|
38
171
|
# @return [Array<(PreEnrollmentResponse, Fixnum, Hash)>] PreEnrollmentResponse data, response status code and response headers
|
39
172
|
def pre_enrollment_monex_user_using_post_with_http_info(authorization, pre_enrollment_data, opts = {})
|
@@ -80,10 +213,10 @@ module Wire4Client
|
|
80
213
|
end
|
81
214
|
return data, status_code, headers
|
82
215
|
end
|
83
|
-
#
|
84
|
-
# Elimina una suscripción
|
216
|
+
# Elimina suscripción por su identificador.
|
217
|
+
# Elimina una suscripción mediante su identificador. Una vez eliminada dicha suscripción, ya no se podrán realizar operaciones en el API utilizando sus credenciales
|
85
218
|
# @param authorization Header para token
|
86
|
-
# @param subscription El identificador de la suscripción a
|
219
|
+
# @param subscription El identificador de la suscripción a ésta API
|
87
220
|
# @param [Hash] opts the optional parameters
|
88
221
|
# @return [nil]
|
89
222
|
def remove_enrollment_user_using_delete(authorization, subscription, opts = {})
|
@@ -91,10 +224,10 @@ module Wire4Client
|
|
91
224
|
nil
|
92
225
|
end
|
93
226
|
|
94
|
-
#
|
95
|
-
# Elimina una suscripción
|
227
|
+
# Elimina suscripción por su identificador.
|
228
|
+
# Elimina una suscripción mediante su identificador. Una vez eliminada dicha suscripción, ya no se podrán realizar operaciones en el API utilizando sus credenciales
|
96
229
|
# @param authorization Header para token
|
97
|
-
# @param subscription El identificador de la suscripción a
|
230
|
+
# @param subscription El identificador de la suscripción a ésta API
|
98
231
|
# @param [Hash] opts the optional parameters
|
99
232
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
100
233
|
def remove_enrollment_user_using_delete_with_http_info(authorization, subscription, opts = {})
|
@@ -150,10 +283,10 @@ module Wire4Client
|
|
150
283
|
end
|
151
284
|
return data, status_code, headers
|
152
285
|
end
|
153
|
-
#
|
154
|
-
# Se elimina
|
286
|
+
# Elimina pre-registro de suscripción
|
287
|
+
# Se elimina el pre-registro de suscripción. Sólo se elimina en caso de que el cliente Monex no haya concedido su autorización de acceso (token), es decir que la suscripcion esté pendiente.
|
155
288
|
# @param authorization Header para token
|
156
|
-
# @param subscription
|
289
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
157
290
|
# @param [Hash] opts the optional parameters
|
158
291
|
# @return [nil]
|
159
292
|
def remove_subscription_pending_status_using_delete(authorization, subscription, opts = {})
|
@@ -161,10 +294,10 @@ module Wire4Client
|
|
161
294
|
nil
|
162
295
|
end
|
163
296
|
|
164
|
-
#
|
165
|
-
# Se elimina
|
297
|
+
# Elimina pre-registro de suscripción
|
298
|
+
# Se elimina el pre-registro de suscripción. Sólo se elimina en caso de que el cliente Monex no haya concedido su autorización de acceso (token), es decir que la suscripcion esté pendiente.
|
166
299
|
# @param authorization Header para token
|
167
|
-
# @param subscription
|
300
|
+
# @param subscription Es el identificador de la suscripción a esta API.
|
168
301
|
# @param [Hash] opts the optional parameters
|
169
302
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
170
303
|
def remove_subscription_pending_status_using_delete_with_http_info(authorization, subscription, opts = {})
|