Class Phone

java.lang.Object
com.xero.models.accounting.Phone

public class Phone
extends Object
Phone
  • Constructor Details

    • Phone

      public Phone()
  • Method Details

    • phoneType

      public Phone phoneType​(Phone.PhoneTypeEnum phoneType)
    • getPhoneType

      public Phone.PhoneTypeEnum getPhoneType()
      Get phoneType
      Returns:
      phoneType
    • setPhoneType

      public void setPhoneType​(Phone.PhoneTypeEnum phoneType)
    • phoneNumber

      public Phone phoneNumber​(String phoneNumber)
    • getPhoneNumber

      public String getPhoneNumber()
      max length = 50
      Returns:
      phoneNumber
    • setPhoneNumber

      public void setPhoneNumber​(String phoneNumber)
    • phoneAreaCode

      public Phone phoneAreaCode​(String phoneAreaCode)
    • getPhoneAreaCode

      public String getPhoneAreaCode()
      max length = 10
      Returns:
      phoneAreaCode
    • setPhoneAreaCode

      public void setPhoneAreaCode​(String phoneAreaCode)
    • phoneCountryCode

      public Phone phoneCountryCode​(String phoneCountryCode)
    • getPhoneCountryCode

      public String getPhoneCountryCode()
      max length = 20
      Returns:
      phoneCountryCode
    • setPhoneCountryCode

      public void setPhoneCountryCode​(String phoneCountryCode)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object