Supermarket Checkout Program Design (JAVA) This is a assignment to create the design for a program for a Supermarket Checkout System. The design is for a program to handle the terminal transaction in a checkout line at a supermarket. When designing the program consider should consider some of the following; What are the tasks that are included as part of checking out at a register? You should consider things like the obtaining the cost of each item, weighing produce and looking up produce codes, the total cost of the order, bonus card discounts, and sales tax on taxable items only. You should brainstorm any other feature you may find relevant. Remember, you do not need to write the program, but you should design the methods using top down development and modular design. Submit a description of the methods needed for the program, a brief description of what each method does, and description of how the methods are related to one another in terms of parameter passing and return types, and the overall process flow of a transaction. Solution Method 1: void getData() // to get the data like product id , quantity of product, numbers of items left void calculateTotalBill() //to calcuate the total bill will iniclude the price of each product and return the total void calculateTax() // to calculate the tax (on the total like 15% of the total) void lookBarCodes() // will find the details of the product using the barcode in the database void inMemorytoDB() // will write the transactions from dynamic memory to permanent storage on each cycle void printBill() // will be called in the last to generate the bill void printInvoice() // will be used to print the invoiceof all the products .