Package com.xero.models.accounting
Class User
java.lang.Object
com.xero.models.accounting.User
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumUser role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionemailAddress(String emailAddress) Email address of userbooleanFirst name of userEmail address of userFirst name of userBoolean to indicate if user is the subscriberLast name of userUser role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc)Timestamp of last change to userorg.threeten.bp.OffsetDateTimeTimestamp of last change to userXero identifierinthashCode()isSubscriber(Boolean isSubscriber) Boolean to indicate if user is the subscriberLast name of userorganisationRole(User.OrganisationRoleEnum organisationRole) User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc)voidsetEmailAddress(String emailAddress) Email address of uservoidsetFirstName(String firstName) First name of uservoidsetIsSubscriber(Boolean isSubscriber) Boolean to indicate if user is the subscribervoidsetLastName(String lastName) Last name of uservoidsetOrganisationRole(User.OrganisationRoleEnum organisationRole) User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc)voidXero identifiertoString()Xero identifier
-
Constructor Details
-
User
public User()
-
-
Method Details
-
userID
-
getUserID
-
setUserID
-
emailAddress
-
getEmailAddress
-
setEmailAddress
Email address of user- Parameters:
emailAddress- String
-
firstName
-
getFirstName
-
setFirstName
-
lastName
-
getLastName
-
setLastName
-
getUpdatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()Timestamp of last change to user- Returns:
- OffsetDateTime
-
isSubscriber
-
getIsSubscriber
Boolean to indicate if user is the subscriber- Returns:
- isSubscriber
-
setIsSubscriber
Boolean to indicate if user is the subscriber- Parameters:
isSubscriber- Boolean
-
organisationRole
User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc)- Parameters:
organisationRole- OrganisationRoleEnum- Returns:
- User
-
getOrganisationRole
User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc)- Returns:
- organisationRole
-
setOrganisationRole
User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc)- Parameters:
organisationRole- OrganisationRoleEnum
-
equals
-
hashCode
-
toString
-