Class User


  • public class User
    extends Object
    User
    • Constructor Detail

      • User

        public User()
    • Method Detail

      • userID

        public User userID​(UUID userID)
        Xero identifier
        Parameters:
        userID - UUID
        Returns:
        User
      • getUserID

        public UUID getUserID()
        Xero identifier
        Returns:
        userID
      • setUserID

        public void setUserID​(UUID userID)
        Xero identifier
        Parameters:
        userID - UUID
      • emailAddress

        public User emailAddress​(String emailAddress)
        Email address of user
        Parameters:
        emailAddress - String
        Returns:
        User
      • getEmailAddress

        public String getEmailAddress()
        Email address of user
        Returns:
        emailAddress
      • setEmailAddress

        public void setEmailAddress​(String emailAddress)
        Email address of user
        Parameters:
        emailAddress - String
      • firstName

        public User firstName​(String firstName)
        First name of user
        Parameters:
        firstName - String
        Returns:
        User
      • getFirstName

        public String getFirstName()
        First name of user
        Returns:
        firstName
      • setFirstName

        public void setFirstName​(String firstName)
        First name of user
        Parameters:
        firstName - String
      • lastName

        public User lastName​(String lastName)
        Last name of user
        Parameters:
        lastName - String
        Returns:
        User
      • getLastName

        public String getLastName()
        Last name of user
        Returns:
        lastName
      • setLastName

        public void setLastName​(String lastName)
        Last name of user
        Parameters:
        lastName - String
      • getUpdatedDateUTC

        public String getUpdatedDateUTC()
        Timestamp of last change to user
        Returns:
        updatedDateUTC
      • getUpdatedDateUTCAsDate

        public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
        Timestamp of last change to user
        Returns:
        OffsetDateTime
      • isSubscriber

        public User isSubscriber​(Boolean isSubscriber)
        Boolean to indicate if user is the subscriber
        Parameters:
        isSubscriber - Boolean
        Returns:
        User
      • getIsSubscriber

        public Boolean getIsSubscriber()
        Boolean to indicate if user is the subscriber
        Returns:
        isSubscriber
      • setIsSubscriber

        public void setIsSubscriber​(Boolean isSubscriber)
        Boolean to indicate if user is the subscriber
        Parameters:
        isSubscriber - Boolean
      • organisationRole

        public User organisationRole​(User.OrganisationRoleEnum organisationRole)
        User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc)
        Parameters:
        organisationRole - OrganisationRoleEnum
        Returns:
        User
      • getOrganisationRole

        public User.OrganisationRoleEnum getOrganisationRole()
        User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc)
        Returns:
        organisationRole
      • setOrganisationRole

        public void setOrganisationRole​(User.OrganisationRoleEnum organisationRole)
        User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc)
        Parameters:
        organisationRole - OrganisationRoleEnum
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object