Example #1
0
        public string Authorize(AuthorizeRequest authRequest)
        {
            var uniqueId = _uniqueIdGenerator.GetUniqueId();

            _authLookup.Add(uniqueId, new Authorization(authRequest.CardNumber, authRequest.Currency, authRequest.Amount));

            return(uniqueId);
        }