Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are a WebApp designer for the Online shopping application, the FargoOnline company. Design and implement an online component to efficiently manage online customers. STEPS:
You are a WebApp designer for the Online shopping application, the FargoOnline company.
Design and implement an online component to efficiently manage online customers.
STEPS:
Create a Content Design for your WebApp component. Use Lucidchart to Create Class diagrams for the Customer Component
The design of content architecture focuses on the definition of the overall hypermedia structure of the WebApp.
Component Description:
points Design a class named Person with properties for holding a persons first name, persons last name, email address, and telephone number. The class should include two constructors and the method ToString
points Design a class Customer that is derived from the Person class. The Customer class should have a property for a customer number and a Boolean property indicating whether the customer wishes to be on a mailing list. The class should include two constructors and the method ToString
points Design the PreferredCustomer class that is derived from the Customer class you previously created. The PreferredCustomer class should have properties for the amount of the customers purchases and the customers discount amount.
Preferred customer customers can earn discounts on all their purchases. The amount of a customers discount is determined by the amount of the customers cumulative purchases in the store as follows:
When a preferred customer spends $ they get a percent discount on all future purchases.
When a preferred customer spends $ they get a percent discount on all future purchases.
When a preferred customer spends $ they get a percent discount on all future purchases.
When a preferred customer spends $ or more, they get a percent discount on all future purchases.
The class should include two constructors and the method ToString
points ImplementDevelop your classes and test them with the Windows Forms Application.
Note:
The PurchaseAmount property should include get and the set methods.
The DiscountAmount property should include get and readonly set methods.
Use decimal data type for discount and amount values.
Add validations to your setters.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started