Question: C# Create objects for Customer, Product, Line Item and Order. Create a simple test application ---------------------------Customer Properties/Attributes: First Name Last Name Email Phone Address ========================

C#

Create objects for Customer, Product, Line Item and Order. Create a simple test application

---------------------------Customer Properties/Attributes: First Name Last Name Email Phone Address ======================== Order Initialization: Initialize the Order class with the Customer object.

Properties/Attributes: ID Date Placed Date Filled Invoice Customer Array of line items (LineItem has a Product and Quantity) OrderStatus {Open,Filled, Cancelled} PaymentStatus{Unpaid,Paid} Methods Get Subtotal (each line item's product list price * quantity) Get Tax (use 7.77%) Get Grand Total Add Line Item Remove Line Item Update Quantity

======================== Product Properties/Attributes: ID Name Description Color ListPrice Weight Height

======================= LineItem Initialization: Initialize with the Product and quantity

Properties/Attributes: Product Quantity

Methods Get Quantity

Each object should have a ToString() and Equals() method

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!