public async Task <BaseResponse <GetToken> > TokenizeAccount(ITokenizeAccountRequest request)
        {
            var baseRequest = _baseRequestFactory.CreateBaseRequest(Guid.NewGuid(), DateTime.Now, Utilities.Constants.RequestTypes.TokenizeAccount, new TokenizeAccountRequestMessage(request));

            return(await _requestHandlerRepository.SendRequestAsync <BaseResponse <GetToken> >(baseRequest._requestMessage.GetResponseRootName(), baseRequest));
        }
Exemplo n.º 2
0
 public TokenizeAccountRequestMessage(ITokenizeAccountRequest request)
 {
     BankAccountNum = request.BankAccountNum;
     SoftwareVendor = request.SoftwareVendor;
 }