Ejemplo n.º 1
0
        } //Returns the DeliveryReceiver for this OrderLine

        public void RemoveDeliveryReceiver(DeliveryReceiver receiver)
        {
            DeliveryReceivers.RemoveByOrderLineReceiver(receiver);
        } //Removes the DeliveryReceiver from the OrderLine
Ejemplo n.º 2
0
        } //Returns the OrderLineIdentifier—this is the unique identifier for the OrderLine

        //incrementNumberOrdered - Increments the number of ProductInstance recorded by the OrderLine
        //getNumberOrdered() - Returns the number of ProductInstances recorded by the OrderLine
        //decrementNumberOrdered - Decrements the number of ProductInstances recorded by the OrderLine

        public void AddDeliveryReceiver(DeliveryReceiver reciever)
        {
            DeliveryReceivers.Instance.Add(reciever);
        }