Skip to content

Commit 6b6b146

Browse files
authored
Merge pull request #225 from XeroAPI/sid-development
Version 4.2.0 build
2 parents 1606012 + edd4bb7 commit 6b6b146

File tree

347 files changed

+423
-403
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

347 files changed

+423
-403
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>xero-java</artifactId>
66
<packaging>jar</packaging>
77
<name>xero-java</name>
8-
<version>4.1.4</version>
8+
<version>4.2.0</version>
99
<url>https://github.com/XeroAPI/Xero-Java</url>
1010
<description>This is the official Java SDK for Xero API</description>
1111
<licenses>

src/main/java/com/xero/api/client/AccountingApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public class AccountingApi {
8383
private ApiClient apiClient;
8484
private static AccountingApi instance = null;
8585
private String userAgent = "Default";
86-
private String version = "4.1.4";
86+
private String version = "4.2.0";
8787
static final Logger logger = LoggerFactory.getLogger(AccountingApi.class);
8888

8989
public AccountingApi() {

src/main/java/com/xero/api/client/AssetApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class AssetApi {
3535
private ApiClient apiClient;
3636
private static AssetApi instance = null;
3737
private String userAgent = "Default";
38-
private String version = "4.1.4";
38+
private String version = "4.2.0";
3939
static final Logger logger = LoggerFactory.getLogger(AssetApi.class);
4040

4141
public AssetApi() {

src/main/java/com/xero/api/client/BankFeedsApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class BankFeedsApi {
3333
private ApiClient apiClient;
3434
private static BankFeedsApi instance = null;
3535
private String userAgent = "Default";
36-
private String version = "4.1.4";
36+
private String version = "4.2.0";
3737
static final Logger logger = LoggerFactory.getLogger(BankFeedsApi.class);
3838

3939
public BankFeedsApi() {

src/main/java/com/xero/api/client/IdentityApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class IdentityApi {
3131
private ApiClient apiClient;
3232
private static IdentityApi instance = null;
3333
private String userAgent = "Default";
34-
private String version = "4.1.4";
34+
private String version = "4.2.0";
3535
static final Logger logger = LoggerFactory.getLogger(IdentityApi.class);
3636

3737
public IdentityApi() {

src/main/java/com/xero/api/client/PayrollAuApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class PayrollAuApi {
5050
private ApiClient apiClient;
5151
private static PayrollAuApi instance = null;
5252
private String userAgent = "Default";
53-
private String version = "4.1.4";
53+
private String version = "4.2.0";
5454
static final Logger logger = LoggerFactory.getLogger(PayrollAuApi.class);
5555

5656
public PayrollAuApi() {

src/main/java/com/xero/api/client/PayrollUkApi.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public class PayrollUkApi {
9292
private ApiClient apiClient;
9393
private static PayrollUkApi instance = null;
9494
private String userAgent = "Default";
95-
private String version = "4.1.4";
95+
private String version = "4.2.0";
9696
static final Logger logger = LoggerFactory.getLogger(PayrollUkApi.class);
9797

9898
public PayrollUkApi() {
@@ -5068,18 +5068,18 @@ public HttpResponse getPaySlipForHttpResponse(
50685068
* @return Payslips
50695069
* @throws IOException if an error occurs while attempting to invoke the API
50705070
*/
5071-
public Payslips getPayslips(String accessToken, String xeroTenantId, UUID payRunID, Integer page)
5071+
public Payslips getPaySlips(String accessToken, String xeroTenantId, UUID payRunID, Integer page)
50725072
throws IOException {
50735073
try {
50745074
TypeReference<Payslips> typeRef = new TypeReference<Payslips>() {};
5075-
HttpResponse response = getPayslipsForHttpResponse(accessToken, xeroTenantId, payRunID, page);
5075+
HttpResponse response = getPaySlipsForHttpResponse(accessToken, xeroTenantId, payRunID, page);
50765076
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
50775077
} catch (HttpResponseException e) {
50785078
if (logger.isDebugEnabled()) {
50795079
logger.debug(
50805080
"------------------ HttpResponseException "
50815081
+ e.getStatusCode()
5082-
+ " : getPayslips -------------------");
5082+
+ " : getPaySlips -------------------");
50835083
logger.debug(e.toString());
50845084
}
50855085
XeroApiExceptionHandler handler = new XeroApiExceptionHandler();
@@ -5096,20 +5096,20 @@ public Payslips getPayslips(String accessToken, String xeroTenantId, UUID payRun
50965096
return null;
50975097
}
50985098

5099-
public HttpResponse getPayslipsForHttpResponse(
5099+
public HttpResponse getPaySlipsForHttpResponse(
51005100
String accessToken, String xeroTenantId, UUID payRunID, Integer page) throws IOException {
51015101
// verify the required parameter 'xeroTenantId' is set
51025102
if (xeroTenantId == null) {
51035103
throw new IllegalArgumentException(
5104-
"Missing the required parameter 'xeroTenantId' when calling getPayslips");
5104+
"Missing the required parameter 'xeroTenantId' when calling getPaySlips");
51055105
} // verify the required parameter 'payRunID' is set
51065106
if (payRunID == null) {
51075107
throw new IllegalArgumentException(
5108-
"Missing the required parameter 'payRunID' when calling getPayslips");
5108+
"Missing the required parameter 'payRunID' when calling getPaySlips");
51095109
}
51105110
if (accessToken == null) {
51115111
throw new IllegalArgumentException(
5112-
"Missing the required parameter 'accessToken' when calling getPayslips");
5112+
"Missing the required parameter 'accessToken' when calling getPaySlips");
51135113
}
51145114
HttpHeaders headers = new HttpHeaders();
51155115
headers.set("Xero-Tenant-Id", xeroTenantId);

src/main/java/com/xero/api/client/ProjectApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class ProjectApi {
4141
private ApiClient apiClient;
4242
private static ProjectApi instance = null;
4343
private String userAgent = "Default";
44-
private String version = "4.1.4";
44+
private String version = "4.2.0";
4545
static final Logger logger = LoggerFactory.getLogger(ProjectApi.class);
4646

4747
public ProjectApi() {

src/main/java/com/xero/models/accounting/Account.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Accounting API
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: 2.2.10
5+
* The version of the OpenAPI document: 2.2.13
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/xero/models/accounting/AccountType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Accounting API
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: 2.2.10
5+
* The version of the OpenAPI document: 2.2.13
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)