Package com.xero.models.accounting
Class Phone
java.lang.Object
com.xero.models.accounting.Phone
public class Phone extends Object
Phone
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPhone.PhoneTypeEnumGets or Sets phoneType -
Constructor Summary
Constructors Constructor Description Phone() -
Method Summary
Modifier and Type Method Description booleanequals(Object o)StringgetPhoneAreaCode()max length = 10StringgetPhoneCountryCode()max length = 20StringgetPhoneNumber()max length = 50Phone.PhoneTypeEnumgetPhoneType()Get phoneTypeinthashCode()PhonephoneAreaCode(String phoneAreaCode)PhonephoneCountryCode(String phoneCountryCode)PhonephoneNumber(String phoneNumber)PhonephoneType(Phone.PhoneTypeEnum phoneType)voidsetPhoneAreaCode(String phoneAreaCode)voidsetPhoneCountryCode(String phoneCountryCode)voidsetPhoneNumber(String phoneNumber)voidsetPhoneType(Phone.PhoneTypeEnum phoneType)StringtoString()
-
Constructor Details
-
Phone
public Phone()
-
-
Method Details
-
phoneType
-
getPhoneType
Get phoneType- Returns:
- phoneType
-
setPhoneType
-
phoneNumber
-
getPhoneNumber
max length = 50- Returns:
- phoneNumber
-
setPhoneNumber
-
phoneAreaCode
-
getPhoneAreaCode
max length = 10- Returns:
- phoneAreaCode
-
setPhoneAreaCode
-
phoneCountryCode
-
getPhoneCountryCode
max length = 20- Returns:
- phoneCountryCode
-
setPhoneCountryCode
-
equals
-
hashCode
public int hashCode() -
toString
-