Question: Congratulations you ' ve been hired by a pet setting and grooming company called Pet Elevator. They're building their own software to use in -

Congratulationsyou've been hired by a pet setting and grooming company called Pet Elevator. They're building their own software to use in-house.Your job is to create classes for the Customer Relationship Management (CRM) system. A CRM system helps to manage customer information and other related data.Since Pet Elevator is a pet sitting and grooming company, you'll need to create a class to represent the human customers and a class to represent their pets.Note: Remember to setvaccinationsto a new initializedArrayList. You can do this in the property declaration or constructor.Create one constructor forPetthat accepts twoStrings to setnameandspecies.ThelistVaccinationsmethod returns the elements ofvaccinationsas a comma-delimited string. For example, if theListcontains["Rabies", "Distemper", "Parvo"], the output must be"Rabies, Distemper, Parvo".Keep in mind the spaces between and not to have a trailing comma.Create aPetTestsclass in thecom.techelevator.crmpackage. Create a test forlistVaccinations.Declare aCustomerclass that inherits thePersonclass.Note: Remember to setPetsto a new initializedArrayList. You can do this in the property declaration or constructors.Customerneeds two constructors:You received an additional requirement to implement theBillableinterface on theCustomerclass and theEmployeeclass because employees can also be customers.TheBillableinterface defines a method with the signaturedouble getBalanceDue(Map). You need to implement this method in theCustomerandEmployeeclasses.ThegetBalanceDuemethod returns the total amount the customer owes.It accepts one parameter, aMapof services rendered:Employees receive a 50% discount on walking services, but the discount isn't applied in theMapprovided. In theEmployeeimplementation of the method, you'll have to calculate the discount.Create aCustomerTestsclass in thecom.techelevator.crmpackage. Create a test forgetBalanceDue.You'll also need to add a test forgetBalanceDuein theEmployeeTestsclass. Keep in mind the discount.

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!