namespace GoingOutOfBusiness
{
public interface IOnlineStore
{
void AddProductsToInventory(ProductsPurchaseOrder purchaseOrder);
// add products to the inventory list
ProductSoldResult SellProdcutsFromInventory(ProductsSellOrder itemsSoldOrder);
// remove products from the inventory list
InventoryItemSummary GetInventoryItemSummary(ProductType stockType);
// className methodName (className parameter)
// show specifics about a product
InventorySummary GetInventorySummary();
// show all inventory
}
}
that is the interface code given to me, I want to know how I can implement the line starting with InventoryItemSummary, I have commented the type of code it is underneath.
I'm trying call the method GetInventoryItemSummary() with the class ProductType having a parameter of stockType, which stockType in the class ProductType is an object.