Package moblima.entities
Class Customer
java.lang.Object
moblima.entities.Account
moblima.entities.Customer
The type Customer.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets contact number.Gets email address.void
setContactNumber
(String contactNumber) Sets contact number.void
setEmailAddress
(String emailAddress) Sets email address.toString()
-
Constructor Details
-
Customer
Instantiates a new Customer.- Parameters:
name
- the namecontactNumber
- the contact numberemailAddress
- the email address
-
-
Method Details
-
getContactNumber
Gets contact number.- Returns:
- the contact number
-
setContactNumber
Sets contact number.- Parameters:
contactNumber
- the contact number
-
getEmailAddress
Gets email address.- Returns:
- the email address
-
setEmailAddress
Sets email address.- Parameters:
emailAddress
- the email address
-
toString
-