public class PayrollService extends Object implements IDisposable
| Constructor and Description |
|---|
PayrollService(PayrollConfig config) |
PayrollService(PayrollConfig config,
String configName) |
public PayrollService(PayrollConfig config) throws ApiException
ApiExceptionpublic PayrollService(PayrollConfig config, String configName) throws ApiException
ApiExceptionpublic List<ClientInfo> getClientInfo(int federalEin) throws ApiException
ApiExceptionpublic EmployeeFinder getEmployees(String clientCode) throws ApiException
ApiExceptionpublic Employee addEmployee(Employee employee) throws ApiException
ApiExceptionpublic Employee updateEmployee(Employee employee) throws ApiException
ApiExceptionpublic Employee terminateEmployee(Employee employee, org.joda.time.DateTime terminationDate, TerminationReason terminationReason) throws ApiException
ApiExceptionpublic Employee terminateEmployee(Employee employee, org.joda.time.DateTime terminationDate, TerminationReason terminationReason, boolean deactivateAccounts) throws ApiException
ApiExceptionpublic List<TerminationReason> getTerminationReasons(String clientCode) throws ApiException
ApiExceptionpublic List<TerminationReason> getTerminationReasons(ClientInfo client) throws ApiException
ApiExceptionpublic List<WorkLocation> getWorkLocations(String clientCode) throws ApiException
ApiExceptionpublic List<WorkLocation> getWorkLocations(ClientInfo client) throws ApiException
ApiExceptionpublic List<LaborField> getLaborFields(String clientCode) throws ApiException
ApiExceptionpublic List<LaborField> getLaborFields(ClientInfo client) throws ApiException
ApiExceptionpublic List<PayGroup> getPayGroups(String clientCode) throws ApiException
ApiExceptionpublic List<PayGroup> getPayGroups(ClientInfo client) throws ApiException
ApiExceptionpublic List<PayItem> getPayItems(String clientCode) throws ApiException
ApiExceptionpublic List<PayItem> getPayItems(ClientInfo client) throws ApiException
ApiExceptionpublic boolean postPayrollData(PayrollRecord... payrollRecords) throws ApiException
ApiExceptionpublic boolean postPayrollData(PayrollData payrollData) throws ApiException
ApiExceptionpublic void dispose()
dispose in interface IDisposableCopyright © 2024. All rights reserved.