Ejemplo n.º 1
0
        private void SendEmailPurchaseDescription(PromoCode promoCode)
        {
            string message = string.Format("You won a discount of ${0} on your next purchase",
                                           promoCode.DiscountValue.ToString("#0.00"));

            return;
        }
Ejemplo n.º 2
0
        public Guid Process()
        {
            this.Pay();
            PromoCode promoCode = PromoCode.Create(this.Order.Customer, 10);

            SendEmailPurchaseDescription(promoCode);

            return(this.AuthorizationNumber);
        }