Package com.xero.models.accounting
Class Employee
java.lang.Object
com.xero.models.accounting.Employee
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumCurrent status of an employee – see contact status types -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValidationErrorsItem(ValidationError validationErrorsItem) Displays array of validation error messages from the APIemployeeID(UUID employeeID) The Xero identifier for an employee e.g.booleanexternalLink(ExternalLink externalLink) externalLinkFirst name of an employee (max length = 255)The Xero identifier for an employee e.g.Get externalLinkFirst name of an employee (max length = 255)Last name of an employee (max length = 255)Current status of an employee – see contact status typesA string to indicate if a invoice statusGet updatedDateUTCorg.threeten.bp.OffsetDateTimeupdatedDateUTCDisplays array of validation error messages from the APIinthashCode()Last name of an employee (max length = 255)voidsetEmployeeID(UUID employeeID) The Xero identifier for an employee e.g.voidsetExternalLink(ExternalLink externalLink) externalLinkvoidsetFirstName(String firstName) First name of an employee (max length = 255)voidsetLastName(String lastName) Last name of an employee (max length = 255)voidsetStatus(Employee.StatusEnum status) Current status of an employee – see contact status typesvoidsetStatusAttributeString(String statusAttributeString) A string to indicate if a invoice statusvoidsetValidationErrors(List<ValidationError> validationErrors) Displays array of validation error messages from the APIstatus(Employee.StatusEnum status) Current status of an employee – see contact status typesstatusAttributeString(String statusAttributeString) A string to indicate if a invoice statustoString()validationErrors(List<ValidationError> validationErrors) Displays array of validation error messages from the API
-
Constructor Details
-
Employee
public Employee()
-
-
Method Details
-
employeeID
-
getEmployeeID
The Xero identifier for an employee e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9- Returns:
- employeeID
-
setEmployeeID
The Xero identifier for an employee e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9- Parameters:
employeeID- UUID
-
status
Current status of an employee – see contact status types- Parameters:
status- StatusEnum- Returns:
- Employee
-
getStatus
Current status of an employee – see contact status types- Returns:
- status
-
setStatus
Current status of an employee – see contact status types- Parameters:
status- StatusEnum
-
firstName
-
getFirstName
-
setFirstName
First name of an employee (max length = 255)- Parameters:
firstName- String
-
lastName
-
getLastName
-
setLastName
Last name of an employee (max length = 255)- Parameters:
lastName- String
-
externalLink
externalLink- Parameters:
externalLink- ExternalLink- Returns:
- Employee
-
getExternalLink
-
setExternalLink
externalLink- Parameters:
externalLink- ExternalLink
-
getUpdatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()updatedDateUTC- Returns:
- OffsetDateTime
-
statusAttributeString
-
getStatusAttributeString
A string to indicate if a invoice status- Returns:
- statusAttributeString
-
setStatusAttributeString
A string to indicate if a invoice status- Parameters:
statusAttributeString- String
-
validationErrors
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>- Returns:
- Employee
-
addValidationErrorsItem
Displays array of validation error messages from the API- Parameters:
validationErrorsItem- ValidationError- Returns:
- Employee
-
getValidationErrors
Displays array of validation error messages from the API- Returns:
- validationErrors
-
setValidationErrors
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>
-
equals
-
hashCode
-
toString
-