} //end Property DateDue public override string ToString() { return("Order Type:\t\t" + OrderType() + "OrderID: \t\t" + OrderID().ToString() + "\n" + "ClientID: \t\t" + ClientID.ToString() + "\n" + "Completed Status\t\t" + OrderStatus() + "TAX:\t\t" + TaxSales.ToString() + "\n" + "Items Sold:\t\t" + ItemsSold.ToString() + "\n" + "Unit Cost:\t\t" + ItemUnitCost.ToString() + "\n" + "Remaining Balance:\t\t" + OrderBalance().ToString()); } //end method ToString Override
//ID Number Section - - - - - - - - - - - - - - - - //Method OrderID public string OrderID() { return(OrderInitiated.ToShortDateString() + ClientID.ToString() + DateDue.ToShortDateString() + ItemsSold.ToString()); }//end Method OrderID
} //end PaymentReceived //Method String ItemList //public StringBuilder ItemList() //{ // foreach (ItemBase item in Checkout()) // return "TYPE:\t\t" + item.ItemType + "\n \t\t" + item.NameOfItem + "\n \t\t" + item.UnitPrice + "\n \t\t" + item.SizeItem + "\n \t\t" + item.VendorName // + "\n \t\t" + item.ItemDescription; //} public override string ToString() { return("Order Type:\t\t" + this.OrderType().ToString() + "\nOrderID:\t\t" + this.OrderID().ToString() + "\nClientID:\t\t" + this.ClientID + "\nOrder Status\t\t" + this.OrderStatus() + "\n\nTAX:\t\t" + this.TaxSales.ToString() + "\n" + "Items Sold:\t\t" + ItemsSold.ToString() + "\n" + "Unit Cost:\t\t" + this.ItemUnitCost.ToString() + "\n" + "Remaining Balance:\t\t" + this.OrderRemainingBalance().ToString() /*Lists*/); }//end method ToString Override