You need classes to represent aspects of the store and the purchasing process: itemsofstock, customers and the orders they place, and so on.
您需要一些类来表示这家商店和购买过程的某些方面:库存物品、客户和客户所下的定单,等等。
2
For any given order number, the program identifies whether all of its items are available in stock.
对于任何给定的订单号,程序将检查它的所有项是否都可以从库存中获得。
3
The obvious candidate for client-side implementation is the search box, where responsiveness is a priority and only the names of the stockitems, not their data, need to be parsed and displayed.