Package com.xero.models.accounting
Class User
java.lang.Object
com.xero.models.accounting.User
public class User extends Object
User
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUser.OrganisationRoleEnumUser role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc) -
Constructor Summary
Constructors Constructor Description User() -
Method Summary
Modifier and Type Method Description UseremailAddress(String emailAddress)booleanequals(Object o)UserfirstName(String firstName)StringgetEmailAddress()Email address of userStringgetFirstName()First name of userBooleangetIsSubscriber()Boolean to indicate if user is the subscriberStringgetLastName()Last name of userUser.OrganisationRoleEnumgetOrganisationRole()User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc)StringgetUpdatedDateUTC()Timestamp of last change to userorg.threeten.bp.OffsetDateTimegetUpdatedDateUTCAsDate()UUIDgetUserID()Xero identifierinthashCode()UserisSubscriber(Boolean isSubscriber)UserlastName(String lastName)UserorganisationRole(User.OrganisationRoleEnum organisationRole)voidsetEmailAddress(String emailAddress)voidsetFirstName(String firstName)voidsetIsSubscriber(Boolean isSubscriber)voidsetLastName(String lastName)voidsetOrganisationRole(User.OrganisationRoleEnum organisationRole)voidsetUserID(UUID userID)StringtoString()UseruserID(UUID userID)
-
Constructor Details
-
User
public User()
-
-
Method Details
-
userID
-
getUserID
Xero identifier- Returns:
- userID
-
setUserID
-
emailAddress
-
getEmailAddress
Email address of user- Returns:
- emailAddress
-
setEmailAddress
-
firstName
-
getFirstName
First name of user- Returns:
- firstName
-
setFirstName
-
lastName
-
getLastName
Last name of user- Returns:
- lastName
-
setLastName
-
getUpdatedDateUTC
Timestamp of last change to user- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate() -
isSubscriber
-
getIsSubscriber
Boolean to indicate if user is the subscriber- Returns:
- isSubscriber
-
setIsSubscriber
-
organisationRole
-
getOrganisationRole
User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc)- Returns:
- organisationRole
-
setOrganisationRole
-
equals
-
hashCode
public int hashCode() -
toString
-