Beispiel #1
0
        private IList <Token> GenerateTokens(BackInStockSubscription stockSubscription)
        {
            var tokens = new List <Token>();

            _messageTokenProvider.AddStoreTokens(tokens);
            _messageTokenProvider.AddCustomerTokens(tokens, stockSubscription.Customer);
            _messageTokenProvider.AddBackInStockTokens(tokens, stockSubscription);
            return(tokens);
        }