Package com.xero.models.accounting
Class Employee
- java.lang.Object
-
- com.xero.models.accounting.Employee
-
public class Employee extends Object
Employee
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmployee.StatusEnumCurrent status of an employee – see contact status types
-
Constructor Summary
Constructors Constructor Description Employee()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmployeeaddValidationErrorsItem(ValidationError validationErrorsItem)Displays array of validation error messages from the APIEmployeeemployeeID(UUID employeeID)The Xero identifier for an employee e.g.booleanequals(Object o)EmployeeexternalLink(ExternalLink externalLink)externalLinkEmployeefirstName(String firstName)First name of an employee (max length = 255)UUIDgetEmployeeID()The Xero identifier for an employee e.g.ExternalLinkgetExternalLink()Get externalLinkStringgetFirstName()First name of an employee (max length = 255)StringgetLastName()Last name of an employee (max length = 255)Employee.StatusEnumgetStatus()Current status of an employee – see contact status typesStringgetStatusAttributeString()A string to indicate if a invoice statusStringgetUpdatedDateUTC()Get updatedDateUTCorg.threeten.bp.OffsetDateTimegetUpdatedDateUTCAsDate()updatedDateUTCList<ValidationError>getValidationErrors()Displays array of validation error messages from the APIinthashCode()EmployeelastName(String lastName)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 APIEmployeestatus(Employee.StatusEnum status)Current status of an employee – see contact status typesEmployeestatusAttributeString(String statusAttributeString)A string to indicate if a invoice statusStringtoString()EmployeevalidationErrors(List<ValidationError> validationErrors)Displays array of validation error messages from the API
-
-
-
Method Detail
-
employeeID
public Employee employeeID(UUID employeeID)
The Xero identifier for an employee e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9- Parameters:
employeeID- UUID- Returns:
- Employee
-
getEmployeeID
public UUID getEmployeeID()
The Xero identifier for an employee e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9- Returns:
- employeeID
-
setEmployeeID
public void setEmployeeID(UUID employeeID)
The Xero identifier for an employee e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9- Parameters:
employeeID- UUID
-
status
public Employee status(Employee.StatusEnum status)
Current status of an employee – see contact status types- Parameters:
status- StatusEnum- Returns:
- Employee
-
getStatus
public Employee.StatusEnum getStatus()
Current status of an employee – see contact status types- Returns:
- status
-
setStatus
public void setStatus(Employee.StatusEnum status)
Current status of an employee – see contact status types- Parameters:
status- StatusEnum
-
firstName
public Employee firstName(String firstName)
First name of an employee (max length = 255)- Parameters:
firstName- String- Returns:
- Employee
-
getFirstName
public String getFirstName()
First name of an employee (max length = 255)- Returns:
- firstName
-
setFirstName
public void setFirstName(String firstName)
First name of an employee (max length = 255)- Parameters:
firstName- String
-
lastName
public Employee lastName(String lastName)
Last name of an employee (max length = 255)- Parameters:
lastName- String- Returns:
- Employee
-
getLastName
public String getLastName()
Last name of an employee (max length = 255)- Returns:
- lastName
-
setLastName
public void setLastName(String lastName)
Last name of an employee (max length = 255)- Parameters:
lastName- String
-
externalLink
public Employee externalLink(ExternalLink externalLink)
externalLink- Parameters:
externalLink- ExternalLink- Returns:
- Employee
-
getExternalLink
public ExternalLink getExternalLink()
Get externalLink- Returns:
- externalLink
-
setExternalLink
public void setExternalLink(ExternalLink externalLink)
externalLink- Parameters:
externalLink- ExternalLink
-
getUpdatedDateUTC
public String getUpdatedDateUTC()
Get updatedDateUTC- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
updatedDateUTC- Returns:
- OffsetDateTime
-
statusAttributeString
public Employee statusAttributeString(String statusAttributeString)
A string to indicate if a invoice status- Parameters:
statusAttributeString- String- Returns:
- Employee
-
getStatusAttributeString
public String getStatusAttributeString()
A string to indicate if a invoice status- Returns:
- statusAttributeString
-
setStatusAttributeString
public void setStatusAttributeString(String statusAttributeString)
A string to indicate if a invoice status- Parameters:
statusAttributeString- String
-
validationErrors
public Employee validationErrors(List<ValidationError> validationErrors)
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>- Returns:
- Employee
-
addValidationErrorsItem
public Employee addValidationErrorsItem(ValidationError validationErrorsItem)
Displays array of validation error messages from the API- Parameters:
validationErrorsItem- ValidationError- Returns:
- Employee
-
getValidationErrors
public List<ValidationError> getValidationErrors()
Displays array of validation error messages from the API- Returns:
- validationErrors
-
setValidationErrors
public void setValidationErrors(List<ValidationError> validationErrors)
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>
-
-