Package com.docusign.webforms.model
Class PhoneNumber
- java.lang.Object
-
- com.docusign.webforms.model.PhoneNumber
-
- All Implemented Interfaces:
Serializable
public class PhoneNumber extends Object implements Serializable
Phone number of the user..- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PhoneNumber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhoneNumbercountryCode(String countryCode)countryCode.booleanequals(Object o)Compares objects.StringgetCountryCode()country code of the registered phone number..StringgetNationalNumber()Phone number of the user (without country code)..inthashCode()Returns the HashCode.PhoneNumbernationalNumber(String nationalNumber)nationalNumber.voidsetCountryCode(String countryCode)setCountryCode.voidsetNationalNumber(String nationalNumber)setNationalNumber.StringtoString()Converts the given object to string.
-
-
-
Method Detail
-
countryCode
public PhoneNumber countryCode(String countryCode)
countryCode.- Returns:
- PhoneNumber
-
getCountryCode
public String getCountryCode()
country code of the registered phone number..- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(String countryCode)
setCountryCode.
-
nationalNumber
public PhoneNumber nationalNumber(String nationalNumber)
nationalNumber.- Returns:
- PhoneNumber
-
getNationalNumber
public String getNationalNumber()
Phone number of the user (without country code)..- Returns:
- nationalNumber
-
setNationalNumber
public void setNationalNumber(String nationalNumber)
setNationalNumber.
-
equals
public boolean equals(Object o)
Compares objects.
-
-