public AuthorizationRequestMessage(IAuthorizeSwipeRequest trackRequest)
 {
     MerchantCode        = trackRequest.MerchantCode;
     MerchantAccountCode = trackRequest.MerchantAccountCode;
     Amount            = trackRequest.Amount;
     TransIndustryType = trackRequest.TransIndustryType;
     TransactionType   = trackRequest.TransactionType;
     TransCatCode      = trackRequest.TransCatCode;
     Track1            = trackRequest.Track1;
     Track2            = trackRequest.Track2;
     AcctType          = trackRequest.AcctType;
     HolderType        = trackRequest.HolderType;
     InvoiceNum        = trackRequest.InvoiceNum;
     FeeAmount         = trackRequest.FeeAmount;
     TipAmount         = trackRequest.TipAmount;
     EntryMode         = trackRequest.EntryMode;
     EntryMedium       = trackRequest.EntryMediumType;
     EntryPinCode      = trackRequest.EntryPINModeType;
 }
        public async Task <BaseResponse <Auth> > AuthorizeSwipe(IAuthorizeSwipeRequest request)
        {
            var baseRequest = _baseRequestFactory.CreateBaseRequest(Guid.NewGuid(), DateTime.Now, Utilities.Constants.RequestTypes.Authorization, new AuthorizationRequestMessage(request));

            return(await _requestHandlerRepository.SendRequestAsync <BaseResponse <Auth> >(baseRequest._requestMessage.GetResponseRootName(), baseRequest));
        }