Question: TestDriver4 only You have been asked to develop an application that will be used by CS265 Web Shopping Network (WSN). First you need to design
TestDriver4 only
You have been asked to develop an application that will be used by CS265 Web Shopping Network (WSN). First you need to design a class that will be used to represent every customer who makes purchases with C$265 WSN using their CS265 WSN credit card. The class should contain the following properties/attributes (private) 1. customer first name 2. customer last name 3. customer email address 4. customer alias 5, customer CS265 credit card account number 6. customer PIN/password 7. customer balance 8. customer limit The class should also contain the following methods (public) 1. 2. 3. constructor with parameters getter for each data field setter for each data field Instructions 1. Create folder named CS265WSN 2. Inside this folder, create the PHP class (WSNCustomerClass.php) using the information from above. 3. Inside this folder, write test drivers for the WSNCustomerClass PHP class. a. TestDriverl.php: Initialize attributes using the constructor with parameters. Use getters to b. TestDriver2.php: Initialize attributes using the constructor with parameters then modify c. TestDriver3.php: Initialize attributes using constructor with parameters (parameters are access and displav attributes. attributes with setters. Use getters to access and display attributes. read in from a data file. Use ? to separate data members). (Use it to create an array of objects). Use getters to access and display attributes. TestDriver4.php: Initialize attributes using constructor with parameters (parameters are read in from a data file. Use ? to separate data members). (Use it to create an array of objects). Use getters to access and display attributes. Then modify attributes with setters. Use getters to access and display the updated attributes. d. You have been asked to develop an application that will be used by CS265 Web Shopping Network (WSN). First you need to design a class that will be used to represent every customer who makes purchases with C$265 WSN using their CS265 WSN credit card. The class should contain the following properties/attributes (private) 1. customer first name 2. customer last name 3. customer email address 4. customer alias 5, customer CS265 credit card account number 6. customer PIN/password 7. customer balance 8. customer limit The class should also contain the following methods (public) 1. 2. 3. constructor with parameters getter for each data field setter for each data field Instructions 1. Create folder named CS265WSN 2. Inside this folder, create the PHP class (WSNCustomerClass.php) using the information from above. 3. Inside this folder, write test drivers for the WSNCustomerClass PHP class. a. TestDriverl.php: Initialize attributes using the constructor with parameters. Use getters to b. TestDriver2.php: Initialize attributes using the constructor with parameters then modify c. TestDriver3.php: Initialize attributes using constructor with parameters (parameters are access and displav attributes. attributes with setters. Use getters to access and display attributes. read in from a data file. Use ? to separate data members). (Use it to create an array of objects). Use getters to access and display attributes. TestDriver4.php: Initialize attributes using constructor with parameters (parameters are read in from a data file. Use ? to separate data members). (Use it to create an array of objects). Use getters to access and display attributes. Then modify attributes with setters. Use getters to access and display the updated attributes. d
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
