Package edu.pdx.cs410J.phonebill
Class PhoneBill
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPhoneCall
(PhoneCall call) Adds a phone call to this phone billReturns the name of the customer whose phone bill this isReturns all of the phone calls (as instances ofAbstractPhoneCall
) in this phone billMethods inherited from class edu.pdx.cs410J.AbstractPhoneBill
toString
-
Constructor Details
-
PhoneBill
-
-
Method Details
-
getCustomer
Description copied from class:AbstractPhoneBill
Returns the name of the customer whose phone bill this is- Specified by:
getCustomer
in classAbstractPhoneBill<PhoneCall>
-
addPhoneCall
Description copied from class:AbstractPhoneBill
Adds a phone call to this phone bill- Specified by:
addPhoneCall
in classAbstractPhoneBill<PhoneCall>
-
getPhoneCalls
Description copied from class:AbstractPhoneBill
Returns all of the phone calls (as instances ofAbstractPhoneCall
) in this phone bill- Specified by:
getPhoneCalls
in classAbstractPhoneBill<PhoneCall>
-