Class Phone
java.lang.Object
com.broadleafcommerce.order.common.domain.Phone
- All Implemented Interfaces:
Serializable
- Author:
- Chad Harchar (charchar)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
Phone
public Phone()
-
-
Method Details
-
getCountryCode
The 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.
-
getPhoneNumber
The telephone number, including the area code.- Returns:
- The telephone number, including the area code.
-
getExtension
The internal extension for this phone.- Returns:
- The internal extension for this phone.
-
setCountryCode
The 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.
-
setPhoneNumber
The telephone number, including the area code.- Parameters:
phoneNumber- The telephone number, including the area code.
-
setExtension
The internal extension for this phone.- Parameters:
extension- The internal extension for this phone.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-