4.0.1
See README for more information on breaking changes between 3.x and 4.x
ACCOUNTING (and all other APIs)
XeroApiException class deprecated in favor or error code specific exceptions
400 XeroBadRequestException
401| XeroUnauthorizedException
403 XeroForbiddenException
404 XeroNotFoundException
405 XeroMethodNotAllowedException
429 XeroRateLimitException
500 XeroServerErrorException
Refactor XeroApiExceptionHander to process unique exceptions
Update methods to throw unique 400 and 405 errors with validation data compatiable to that API set
Change date and datetime for Accounting to string with new method "AsDate" to converstion of MS Datetimeformat in the models and not during deserialization
Fix StringUtil to convert date to milliseconds using UTC timezone
LOGGING
Log4J replaced with logging facade,
Started added some "debug" level logging mesages
Note: open to suggestions for where you'd like to see logging
AU PAYROLL
- New model Payslips
- method updatePayslip response type changed to Payslips
UK PAYROLL
Unit tests added
EmployeeLeaveBalances
EmployeeLeavePeriods
EmployeeLeave
EmployeeLeaveTypes
EmployeeOpeningBalances
EmployeeStatutoryLeaveBalances
EmployeeStatutoryLeavesSummary
EmployeeStatutorySickLeave
EmployeeTax
Employee
Employment
Models and Methods modified to support Unit tests