Exemplo n.º 1
0
        public virtual void RemoveAdjustment(OrderAdjustment adjustment)
        {
            if (adjustment == null)
            {
                throw new ArgumentNullException("adjustment");
            }

            adjustment.Order = null;
            adjustments.Remove(adjustment);
        }
Exemplo n.º 2
0
        public virtual void AddAdjustment(OrderAdjustment adjustment)
        {
            if (adjustment == null)
            {
                throw new ArgumentNullException("adjustment");
            }

            adjustment.Order = this;
            adjustments.Add(adjustment);
        }
Exemplo n.º 3
0
        public virtual void RemoveAdjustment(OrderAdjustment adjustment)
        {
            if (adjustment == null)
            {
                throw new ArgumentNullException("adjustment");
            }

            adjustment.Order = null;
            adjustments.Remove(adjustment);
        }
Exemplo n.º 4
0
        public virtual void AddAdjustment(OrderAdjustment adjustment)
        {
            if (adjustment == null)
            {
                throw new ArgumentNullException("adjustment");
            }

            adjustment.Order = this;
            adjustments.Add(adjustment);
        }