Class Phone
java.lang.Object
com.broadleafcommerce.customer.domain.Phone
- All Implemented Interfaces:
- Serializable
- Author:
- Chad Harchar (charchar)
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanThe country calling code that acts as a prefix to the main telephone number.The internal extension for this phone.The telephone number, including the area code.inthashCode()voidsetCountryCode(String countryCode) The country calling code that acts as a prefix to the main telephone number.voidsetExtension(String extension) The internal extension for this phone.voidsetPhoneNumber(String phoneNumber) The telephone number, including the area code.toString()
- 
Constructor Details- 
Phonepublic Phone()
 
- 
- 
Method Details- 
getCountryCodeThe country calling code that acts as a prefix to the main telephone number.- Returns:
- The country calling code that acts as a prefix to the main telephone number.
 
- 
getPhoneNumberThe telephone number, including the area code.- Returns:
- The telephone number, including the area code.
 
- 
getExtensionThe internal extension for this phone.- Returns:
- The internal extension for this phone.
 
- 
setCountryCodeThe country calling code that acts as a prefix to the main telephone number.- Parameters:
- countryCode- The country calling code that acts as a prefix to the main telephone number.
 
- 
setPhoneNumberThe telephone number, including the area code.- Parameters:
- phoneNumber- The telephone number, including the area code.
 
- 
setExtensionThe internal extension for this phone.- Parameters:
- extension- The internal extension for this phone.
 
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
toString
 
-