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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetPhoneAreaCode()max length = 10StringgetPhoneCountryCode()max length = 20StringgetPhoneNumber()max length = 50Phone.PhoneTypeEnumgetPhoneType()Get phoneTypeinthashCode()PhonephoneAreaCode(String phoneAreaCode)max length = 10PhonephoneCountryCode(String phoneCountryCode)max length = 20PhonephoneNumber(String phoneNumber)max length = 50PhonephoneType(Phone.PhoneTypeEnum phoneType)phoneTypevoidsetPhoneAreaCode(String phoneAreaCode)max length = 10voidsetPhoneCountryCode(String phoneCountryCode)max length = 20voidsetPhoneNumber(String phoneNumber)max length = 50voidsetPhoneType(Phone.PhoneTypeEnum phoneType)phoneTypeStringtoString()
-
-
-
Method Detail
-
phoneType
public Phone phoneType(Phone.PhoneTypeEnum phoneType)
phoneType- Parameters:
phoneType- PhoneTypeEnum- Returns:
- Phone
-
getPhoneType
public Phone.PhoneTypeEnum getPhoneType()
Get phoneType- Returns:
- phoneType
-
setPhoneType
public void setPhoneType(Phone.PhoneTypeEnum phoneType)
phoneType- Parameters:
phoneType- PhoneTypeEnum
-
phoneNumber
public Phone phoneNumber(String phoneNumber)
max length = 50- Parameters:
phoneNumber- String- Returns:
- Phone
-
getPhoneNumber
public String getPhoneNumber()
max length = 50- Returns:
- phoneNumber
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
max length = 50- Parameters:
phoneNumber- String
-
phoneAreaCode
public Phone phoneAreaCode(String phoneAreaCode)
max length = 10- Parameters:
phoneAreaCode- String- Returns:
- Phone
-
getPhoneAreaCode
public String getPhoneAreaCode()
max length = 10- Returns:
- phoneAreaCode
-
setPhoneAreaCode
public void setPhoneAreaCode(String phoneAreaCode)
max length = 10- Parameters:
phoneAreaCode- String
-
phoneCountryCode
public Phone phoneCountryCode(String phoneCountryCode)
max length = 20- Parameters:
phoneCountryCode- String- Returns:
- Phone
-
getPhoneCountryCode
public String getPhoneCountryCode()
max length = 20- Returns:
- phoneCountryCode
-
setPhoneCountryCode
public void setPhoneCountryCode(String phoneCountryCode)
max length = 20- Parameters:
phoneCountryCode- String
-
-