Class Phone
- java.lang.Object
-
- com.broadleafcommerce.customer.domain.Phone
-
- All Implemented Interfaces:
Serializable
public class Phone extends Object implements Serializable
- Author:
- Chad Harchar (charchar)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Phone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getCountryCode()
The country calling code that acts as a prefix to the main telephone number.String
getExtension()
The internal extension for this phone.String
getPhoneNumber()
The telephone number, including the area code.int
hashCode()
void
setCountryCode(String countryCode)
The country calling code that acts as a prefix to the main telephone number.void
setExtension(String extension)
The internal extension for this phone.void
setPhoneNumber(String phoneNumber)
The telephone number, including the area code.String
toString()
-
-
-
Method Detail
-
getCountryCode
public String 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
public String getPhoneNumber()
The telephone number, including the area code.- Returns:
- The telephone number, including the area code.
-
getExtension
public String getExtension()
The internal extension for this phone.- Returns:
- The internal extension for this phone.
-
setCountryCode
public void setCountryCode(String countryCode)
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
public void setPhoneNumber(String phoneNumber)
The telephone number, including the area code.- Parameters:
phoneNumber
- The telephone number, including the area code.
-
setExtension
public void setExtension(String extension)
The internal extension for this phone.- Parameters:
extension
- The internal extension for this phone.
-
canEqual
protected boolean canEqual(Object other)
-
-