public class PayrollAuApi extends Object
| Constructor and Description |
|---|
PayrollAuApi() |
PayrollAuApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ByteArrayInputStream |
convertInputToByteArray(InputStream is) |
Employees |
createEmployee(String accessToken,
String xeroTenantId,
List<Employee> employee)
Use this method to create a payroll employee
|
com.google.api.client.http.HttpResponse |
createEmployeeForHttpResponse(String accessToken,
String xeroTenantId,
List<Employee> employee) |
LeaveApplications |
createLeaveApplication(String accessToken,
String xeroTenantId,
List<LeaveApplication> leaveApplication)
Use this method to create a Leave Application
|
com.google.api.client.http.HttpResponse |
createLeaveApplicationForHttpResponse(String accessToken,
String xeroTenantId,
List<LeaveApplication> leaveApplication) |
PayItems |
createPayItem(String accessToken,
String xeroTenantId,
List<PayItem> payItem)
Use this method to create a Pay Item
|
com.google.api.client.http.HttpResponse |
createPayItemForHttpResponse(String accessToken,
String xeroTenantId,
List<PayItem> payItem) |
PayrollCalendars |
createPayrollCalendar(String accessToken,
String xeroTenantId,
List<PayrollCalendar> payrollCalendar)
Use this method to create a Payroll Calendars
|
com.google.api.client.http.HttpResponse |
createPayrollCalendarForHttpResponse(String accessToken,
String xeroTenantId,
List<PayrollCalendar> payrollCalendar) |
PayRuns |
createPayRun(String accessToken,
String xeroTenantId,
List<PayRun> payRun)
Use this method to create a PayRun
|
com.google.api.client.http.HttpResponse |
createPayRunForHttpResponse(String accessToken,
String xeroTenantId,
List<PayRun> payRun) |
SuperFunds |
createSuperfund(String accessToken,
String xeroTenantId,
List<SuperFund> superFund)
Use this method to create a super fund
|
com.google.api.client.http.HttpResponse |
createSuperfundForHttpResponse(String accessToken,
String xeroTenantId,
List<SuperFund> superFund) |
Timesheets |
createTimesheet(String accessToken,
String xeroTenantId,
List<Timesheet> timesheet)
Use this method to create a timesheet
|
com.google.api.client.http.HttpResponse |
createTimesheetForHttpResponse(String accessToken,
String xeroTenantId,
List<Timesheet> timesheet) |
ApiClient |
getApiClient() |
Employees |
getEmployee(String accessToken,
String xeroTenantId,
UUID employeeId)
searches for an employee by unique id
|
com.google.api.client.http.HttpResponse |
getEmployeeForHttpResponse(String accessToken,
String xeroTenantId,
UUID employeeId) |
Employees |
getEmployees(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page)
searches employees
|
com.google.api.client.http.HttpResponse |
getEmployeesForHttpResponse(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page) |
static PayrollAuApi |
getInstance(ApiClient apiClient) |
LeaveApplications |
getLeaveApplication(String accessToken,
String xeroTenantId,
UUID leaveApplicationId)
searches for an Leave Application by unique id
|
com.google.api.client.http.HttpResponse |
getLeaveApplicationForHttpResponse(String accessToken,
String xeroTenantId,
UUID leaveApplicationId) |
LeaveApplications |
getLeaveApplications(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page)
searches Leave Applications
|
com.google.api.client.http.HttpResponse |
getLeaveApplicationsForHttpResponse(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page) |
PayItems |
getPayItems(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page)
searches Pay Items
|
com.google.api.client.http.HttpResponse |
getPayItemsForHttpResponse(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page) |
PayrollCalendars |
getPayrollCalendar(String accessToken,
String xeroTenantId,
UUID payrollCalendarID)
searches Payroll Calendars
|
com.google.api.client.http.HttpResponse |
getPayrollCalendarForHttpResponse(String accessToken,
String xeroTenantId,
UUID payrollCalendarID) |
PayrollCalendars |
getPayrollCalendars(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page)
searches Payroll Calendars
|
com.google.api.client.http.HttpResponse |
getPayrollCalendarsForHttpResponse(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page) |
PayRuns |
getPayRun(String accessToken,
String xeroTenantId,
UUID payRunID)
searches for an payrun by unique id
|
com.google.api.client.http.HttpResponse |
getPayRunForHttpResponse(String accessToken,
String xeroTenantId,
UUID payRunID) |
PayRuns |
getPayRuns(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page)
searches PayRuns
|
com.google.api.client.http.HttpResponse |
getPayRunsForHttpResponse(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page) |
PayslipObject |
getPayslip(String accessToken,
String xeroTenantId,
UUID payslipID)
searches for an payslip by unique id
|
com.google.api.client.http.HttpResponse |
getPayslipForHttpResponse(String accessToken,
String xeroTenantId,
UUID payslipID) |
SettingsObject |
getSettings(String accessToken,
String xeroTenantId)
retrieve settings
|
com.google.api.client.http.HttpResponse |
getSettingsForHttpResponse(String accessToken,
String xeroTenantId) |
SuperFunds |
getSuperfund(String accessToken,
String xeroTenantId,
UUID superFundID)
searches for an Superfund by unique id
|
com.google.api.client.http.HttpResponse |
getSuperfundForHttpResponse(String accessToken,
String xeroTenantId,
UUID superFundID) |
SuperFundProducts |
getSuperfundProducts(String accessToken,
String xeroTenantId,
String ABN,
String USI)
searches SuperfundProducts
|
com.google.api.client.http.HttpResponse |
getSuperfundProductsForHttpResponse(String accessToken,
String xeroTenantId,
String ABN,
String USI) |
SuperFunds |
getSuperfunds(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page)
searches SuperFunds
|
com.google.api.client.http.HttpResponse |
getSuperfundsForHttpResponse(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page) |
TimesheetObject |
getTimesheet(String accessToken,
String xeroTenantId,
UUID timesheetID)
searches for an timesheet by unique id
|
com.google.api.client.http.HttpResponse |
getTimesheetForHttpResponse(String accessToken,
String xeroTenantId,
UUID timesheetID) |
Timesheets |
getTimesheets(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page)
searches timesheets
|
com.google.api.client.http.HttpResponse |
getTimesheetsForHttpResponse(String accessToken,
String xeroTenantId,
String ifModifiedSince,
String where,
String order,
Integer page) |
String |
getUserAgent() |
void |
setApiClient(ApiClient apiClient) |
void |
setUserAgent(String userAgent) |
Employees |
updateEmployee(String accessToken,
String xeroTenantId,
UUID employeeId,
List<Employee> employee)
Update an Employee
Update properties on a single employee
|
com.google.api.client.http.HttpResponse |
updateEmployeeForHttpResponse(String accessToken,
String xeroTenantId,
UUID employeeId,
List<Employee> employee) |
LeaveApplications |
updateLeaveApplication(String accessToken,
String xeroTenantId,
UUID leaveApplicationId,
List<LeaveApplication> leaveApplication)
Use this method to update a Leave Application
|
com.google.api.client.http.HttpResponse |
updateLeaveApplicationForHttpResponse(String accessToken,
String xeroTenantId,
UUID leaveApplicationId,
List<LeaveApplication> leaveApplication) |
PayRuns |
updatePayRun(String accessToken,
String xeroTenantId,
UUID payRunID,
List<PayRun> payRun)
Update a PayRun
Update properties on a single PayRun
|
com.google.api.client.http.HttpResponse |
updatePayRunForHttpResponse(String accessToken,
String xeroTenantId,
UUID payRunID,
List<PayRun> payRun) |
PayslipObject |
updatePayslipByID(String accessToken,
String xeroTenantId,
UUID payslipID,
PayslipObject payslipObject)
Update a Payslip
Update lines on a single payslips
|
com.google.api.client.http.HttpResponse |
updatePayslipByIDForHttpResponse(String accessToken,
String xeroTenantId,
UUID payslipID,
PayslipObject payslipObject) |
SuperFunds |
updateSuperfund(String accessToken,
String xeroTenantId,
UUID superFundID,
List<SuperFund> superFund)
Update a Superfund
Update properties on a single Superfund
|
com.google.api.client.http.HttpResponse |
updateSuperfundForHttpResponse(String accessToken,
String xeroTenantId,
UUID superFundID,
List<SuperFund> superFund) |
Timesheets |
updateTimesheet(String accessToken,
String xeroTenantId,
UUID timesheetID,
List<Timesheet> timesheet)
Update a Timesheet
Update properties on a single timesheet
|
com.google.api.client.http.HttpResponse |
updateTimesheetForHttpResponse(String accessToken,
String xeroTenantId,
UUID timesheetID,
List<Timesheet> timesheet) |
public PayrollAuApi()
public PayrollAuApi(ApiClient apiClient)
public static PayrollAuApi getInstance(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void setUserAgent(String userAgent)
public String getUserAgent()
public Employees createEmployee(String accessToken, String xeroTenantId, List<Employee> employee) throws IOException
200 - A successful request
400 - invalid input, object invalid - TODO
xeroTenantId - Xero identifier for Tenantemployee - The employee parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createEmployeeForHttpResponse(String accessToken, String xeroTenantId, List<Employee> employee) throws IOException
IOExceptionpublic LeaveApplications createLeaveApplication(String accessToken, String xeroTenantId, List<LeaveApplication> leaveApplication) throws IOException
200 - A successful request
400 - invalid input, object invalid - TODO
xeroTenantId - Xero identifier for TenantleaveApplication - The leaveApplication parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createLeaveApplicationForHttpResponse(String accessToken, String xeroTenantId, List<LeaveApplication> leaveApplication) throws IOException
IOExceptionpublic PayItems createPayItem(String accessToken, String xeroTenantId, List<PayItem> payItem) throws IOException
200 - A successful request - currently returns empty array for JSON
400 - invalid input, object invalid - TODO
xeroTenantId - Xero identifier for TenantpayItem - The payItem parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createPayItemForHttpResponse(String accessToken, String xeroTenantId, List<PayItem> payItem) throws IOException
IOExceptionpublic PayRuns createPayRun(String accessToken, String xeroTenantId, List<PayRun> payRun) throws IOException
200 - A successful request
400 - invalid input, object invalid - TODO
xeroTenantId - Xero identifier for TenantpayRun - The payRun parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createPayRunForHttpResponse(String accessToken, String xeroTenantId, List<PayRun> payRun) throws IOException
IOExceptionpublic PayrollCalendars createPayrollCalendar(String accessToken, String xeroTenantId, List<PayrollCalendar> payrollCalendar) throws IOException
200 - A successful request
400 - invalid input, object invalid - TODO
xeroTenantId - Xero identifier for TenantpayrollCalendar - The payrollCalendar parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createPayrollCalendarForHttpResponse(String accessToken, String xeroTenantId, List<PayrollCalendar> payrollCalendar) throws IOException
IOExceptionpublic SuperFunds createSuperfund(String accessToken, String xeroTenantId, List<SuperFund> superFund) throws IOException
200 - A successful request
400 - invalid input, object invalid - TODO
xeroTenantId - Xero identifier for TenantsuperFund - The superFund parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createSuperfundForHttpResponse(String accessToken, String xeroTenantId, List<SuperFund> superFund) throws IOException
IOExceptionpublic Timesheets createTimesheet(String accessToken, String xeroTenantId, List<Timesheet> timesheet) throws IOException
200 - A successful request
400 - invalid input, object invalid - TODO
xeroTenantId - Xero identifier for Tenanttimesheet - The timesheet parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse createTimesheetForHttpResponse(String accessToken, String xeroTenantId, List<Timesheet> timesheet) throws IOException
IOExceptionpublic Employees getEmployee(String accessToken, String xeroTenantId, UUID employeeId) throws IOException
200 - search results matching criteria
xeroTenantId - Xero identifier for TenantemployeeId - Employee id for single objectaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getEmployeeForHttpResponse(String accessToken, String xeroTenantId, UUID employeeId) throws IOException
IOExceptionpublic Employees getEmployees(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
200 - search results matching criteria
400 - validation error for a bad request
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementpage - e.g. page=1 – Up to 100 employees will be returned in a single API callaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getEmployeesForHttpResponse(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
IOExceptionpublic LeaveApplications getLeaveApplication(String accessToken, String xeroTenantId, UUID leaveApplicationId) throws IOException
200 - search results matching criteria
xeroTenantId - Xero identifier for TenantleaveApplicationId - Leave Application id for single objectaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getLeaveApplicationForHttpResponse(String accessToken, String xeroTenantId, UUID leaveApplicationId) throws IOException
IOExceptionpublic LeaveApplications getLeaveApplications(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
200 - search results matching criteria
400 - validation error for a bad request
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementpage - e.g. page=1 – Up to 100 objects will be returned in a single API callaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getLeaveApplicationsForHttpResponse(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
IOExceptionpublic PayItems getPayItems(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
200 - search results matching criteria
400 - validation error for a bad request
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementpage - e.g. page=1 – Up to 100 objects will be returned in a single API callaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPayItemsForHttpResponse(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
IOExceptionpublic PayRuns getPayRun(String accessToken, String xeroTenantId, UUID payRunID) throws IOException
200 - search results matching criteria
xeroTenantId - Xero identifier for TenantpayRunID - PayRun id for single objectaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPayRunForHttpResponse(String accessToken, String xeroTenantId, UUID payRunID) throws IOException
IOExceptionpublic PayRuns getPayRuns(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
200 - search results matching criteria
400 - validation error for a bad request
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementpage - e.g. page=1 – Up to 100 PayRuns will be returned in a single API callaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPayRunsForHttpResponse(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
IOExceptionpublic PayrollCalendars getPayrollCalendar(String accessToken, String xeroTenantId, UUID payrollCalendarID) throws IOException
200 - search results matching criteria
400 - validation error for a bad request
xeroTenantId - Xero identifier for TenantpayrollCalendarID - Payroll Calendar id for single objectaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPayrollCalendarForHttpResponse(String accessToken, String xeroTenantId, UUID payrollCalendarID) throws IOException
IOExceptionpublic PayrollCalendars getPayrollCalendars(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
200 - search results matching criteria
400 - validation error for a bad request
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementpage - e.g. page=1 – Up to 100 objects will be returned in a single API callaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPayrollCalendarsForHttpResponse(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
IOExceptionpublic PayslipObject getPayslip(String accessToken, String xeroTenantId, UUID payslipID) throws IOException
200 - search results matching criteria
xeroTenantId - Xero identifier for TenantpayslipID - Payslip id for single objectaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getPayslipForHttpResponse(String accessToken, String xeroTenantId, UUID payslipID) throws IOException
IOExceptionpublic SettingsObject getSettings(String accessToken, String xeroTenantId) throws IOException
200 - payroll settings
xeroTenantId - Xero identifier for TenantaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getSettingsForHttpResponse(String accessToken, String xeroTenantId) throws IOException
IOExceptionpublic SuperFunds getSuperfund(String accessToken, String xeroTenantId, UUID superFundID) throws IOException
200 - search results matching criteria
xeroTenantId - Xero identifier for TenantsuperFundID - Superfund id for single objectaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getSuperfundForHttpResponse(String accessToken, String xeroTenantId, UUID superFundID) throws IOException
IOExceptionpublic SuperFundProducts getSuperfundProducts(String accessToken, String xeroTenantId, String ABN, String USI) throws IOException
200 - search results matching criteria
400 - validation error for a bad request
xeroTenantId - Xero identifier for TenantABN - The ABN of the Regulated SuperFundUSI - The USI of the Regulated SuperFundaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getSuperfundProductsForHttpResponse(String accessToken, String xeroTenantId, String ABN, String USI) throws IOException
IOExceptionpublic SuperFunds getSuperfunds(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
200 - search results matching criteria
400 - validation error for a bad request
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementpage - e.g. page=1 – Up to 100 SuperFunds will be returned in a single API callaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getSuperfundsForHttpResponse(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
IOExceptionpublic TimesheetObject getTimesheet(String accessToken, String xeroTenantId, UUID timesheetID) throws IOException
200 - search results matching criteria
xeroTenantId - Xero identifier for TenanttimesheetID - Timesheet id for single objectaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getTimesheetForHttpResponse(String accessToken, String xeroTenantId, UUID timesheetID) throws IOException
IOExceptionpublic Timesheets getTimesheets(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
200 - search results matching criteria
400 - validation error for a bad request
xeroTenantId - Xero identifier for TenantifModifiedSince - Only records created or modified since this timestamp will be returnedwhere - Filter by an any elementorder - Order by an any elementpage - e.g. page=1 – Up to 100 timesheets will be returned in a single API callaccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse getTimesheetsForHttpResponse(String accessToken, String xeroTenantId, String ifModifiedSince, String where, String order, Integer page) throws IOException
IOExceptionpublic Employees updateEmployee(String accessToken, String xeroTenantId, UUID employeeId, List<Employee> employee) throws IOException
200 - A successful request
xeroTenantId - Xero identifier for TenantemployeeId - Employee id for single objectemployee - The employee parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateEmployeeForHttpResponse(String accessToken, String xeroTenantId, UUID employeeId, List<Employee> employee) throws IOException
IOExceptionpublic LeaveApplications updateLeaveApplication(String accessToken, String xeroTenantId, UUID leaveApplicationId, List<LeaveApplication> leaveApplication) throws IOException
200 - A successful request
400 - invalid input, object invalid - TODO
xeroTenantId - Xero identifier for TenantleaveApplicationId - Leave Application id for single objectleaveApplication - The leaveApplication parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateLeaveApplicationForHttpResponse(String accessToken, String xeroTenantId, UUID leaveApplicationId, List<LeaveApplication> leaveApplication) throws IOException
IOExceptionpublic PayRuns updatePayRun(String accessToken, String xeroTenantId, UUID payRunID, List<PayRun> payRun) throws IOException
200 - A successful request
xeroTenantId - Xero identifier for TenantpayRunID - PayRun id for single objectpayRun - The payRun parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updatePayRunForHttpResponse(String accessToken, String xeroTenantId, UUID payRunID, List<PayRun> payRun) throws IOException
IOExceptionpublic PayslipObject updatePayslipByID(String accessToken, String xeroTenantId, UUID payslipID, PayslipObject payslipObject) throws IOException
200 - A successful request - currently returns empty array for JSON
xeroTenantId - Xero identifier for TenantpayslipID - Payslip id for single objectpayslipObject - The payslipObject parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updatePayslipByIDForHttpResponse(String accessToken, String xeroTenantId, UUID payslipID, PayslipObject payslipObject) throws IOException
IOExceptionpublic SuperFunds updateSuperfund(String accessToken, String xeroTenantId, UUID superFundID, List<SuperFund> superFund) throws IOException
200 - A successful request
xeroTenantId - Xero identifier for TenantsuperFundID - Superfund id for single objectsuperFund - The superFund parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateSuperfundForHttpResponse(String accessToken, String xeroTenantId, UUID superFundID, List<SuperFund> superFund) throws IOException
IOExceptionpublic Timesheets updateTimesheet(String accessToken, String xeroTenantId, UUID timesheetID, List<Timesheet> timesheet) throws IOException
200 - A successful request
xeroTenantId - Xero identifier for TenanttimesheetID - Timesheet id for single objecttimesheet - The timesheet parameteraccessToken - Authorization token for user set in header of each requestIOException - if an error occurs while attempting to invoke the APIpublic com.google.api.client.http.HttpResponse updateTimesheetForHttpResponse(String accessToken, String xeroTenantId, UUID timesheetID, List<Timesheet> timesheet) throws IOException
IOExceptionpublic ByteArrayInputStream convertInputToByteArray(InputStream is) throws IOException
IOExceptionCopyright © 2020. All rights reserved.