Class Phone
java.lang.Object
com.broadleafcommerce.paymenttransaction.domain.Phone
- All Implemented Interfaces:
Serializable
- Author:
- Chad Harchar (charchar)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The 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.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.
-
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()
-