Skip to content

Commit a574390

Browse files
author
sangeet-joy_xero
committed
Build from OAS 6.3.0
1 parent 67800cf commit a574390

21 files changed

+93
-33
lines changed

docs/v4/accounting/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6212,7 +6212,7 @@
62126212
<nav id="scrollingNav">
62136213
<ul class="sidenav nav nav-list">
62146214
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6215-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>8.2.0</li>
6215+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>8.3.0</li>
62166216
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
62176217
<li data-group="Accounting" data-name="createAccount" class="">
62186218
<a href="#api-Accounting-createAccount">createAccount</a>

docs/v4/appstore/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@
12371237
<nav id="scrollingNav">
12381238
<ul class="sidenav nav nav-list">
12391239
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1240-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>8.2.0</li>
1240+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>8.3.0</li>
12411241
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
12421242
<li data-group="AppStore" data-name="getSubscription" class="">
12431243
<a href="#api-AppStore-getSubscription">getSubscription</a>

docs/v4/assets/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@
13881388
<nav id="scrollingNav">
13891389
<ul class="sidenav nav nav-list">
13901390
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1391-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>8.2.0</li>
1391+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>8.3.0</li>
13921392
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
13931393
<li data-group="Asset" data-name="createAsset" class="">
13941394
<a href="#api-Asset-createAsset">createAsset</a>

docs/v4/files/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@
11441144
<nav id="scrollingNav">
11451145
<ul class="sidenav nav nav-list">
11461146
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1147-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>8.2.0</li>
1147+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>8.3.0</li>
11481148
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11491149
<li data-group="Files" data-name="createFileAssociation" class="">
11501150
<a href="#api-Files-createFileAssociation">createFileAssociation</a>

docs/v4/finance/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2733,7 +2733,7 @@
27332733
<nav id="scrollingNav">
27342734
<ul class="sidenav nav nav-list">
27352735
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2736-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>8.2.0</li>
2736+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>8.3.0</li>
27372737
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
27382738
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
27392739
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>

docs/v4/payroll-au/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3411,7 +3411,7 @@
34113411
<nav id="scrollingNav">
34123412
<ul class="sidenav nav nav-list">
34133413
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3414-
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>8.2.0</li>
3414+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>8.3.0</li>
34153415
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
34163416
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
34173417
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>

docs/v4/payroll-nz/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4027,7 +4027,7 @@
40274027
<nav id="scrollingNav">
40284028
<ul class="sidenav nav nav-list">
40294029
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
4030-
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>8.2.0</li>
4030+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>8.3.0</li>
40314031
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
40324032
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
40334033
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>

docs/v4/payroll-uk/index.html

+9-1
Original file line numberDiff line numberDiff line change
@@ -1748,6 +1748,13 @@
17481748
"type" : "number",
17491749
"description" : "The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\"",
17501750
"format" : "double"
1751+
},
1752+
"scheduleOfAccrualDate" : {
1753+
"type" : "string",
1754+
"description" : "The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\"",
1755+
"format" : "date",
1756+
"example" : "2024-04-01",
1757+
"x-is-date" : true
17511758
}
17521759
},
17531760
"description" : ""
@@ -3506,7 +3513,7 @@
35063513
<nav id="scrollingNav">
35073514
<ul class="sidenav nav nav-list">
35083515
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
3509-
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>8.2.0</li>
3516+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>8.3.0</li>
35103517
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
35113518
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
35123519
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>
@@ -4941,6 +4948,7 @@ <h3>Usage and SDK Samples</h3>
49414948
employeeLeaveType.setLeaveTypeID(UUID.fromString("00000000-0000-0000-0000-000000000000"));
49424949
employeeLeaveType.setScheduleOfAccrual(com.xero.models.payrolluk.EmployeeLeaveType.ScheduleOfAccrualEnum.BeginningOfCalendarYear);
49434950
employeeLeaveType.setOpeningBalance(5.25);
4951+
employeeLeaveType.setScheduleOfAccrualDate();
49444952

49454953
try {
49464954
EmployeeLeaveTypeObject result = apiInstance.createEmployeeLeaveType(accessToken, xeroTenantId, employeeID, employeeLeaveType, idempotencyKey);

pom.xml

+1-1
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>8.2.0</version>
8+
<version>8.3.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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Accounting API
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -102,7 +102,7 @@ public class AccountingApi {
102102
private ApiClient apiClient;
103103
private static AccountingApi instance = null;
104104
private String userAgent = "Default";
105-
private String version = "8.2.0";
105+
private String version = "8.3.0";
106106
static final Logger logger = LoggerFactory.getLogger(AccountingApi.class);
107107

108108
/** AccountingApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero AppStore API
33
* These endpoints are for Xero Partners to interact with the App Store Billing platform
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,7 +46,7 @@ public class AppStoreApi {
4646
private ApiClient apiClient;
4747
private static AppStoreApi instance = null;
4848
private String userAgent = "Default";
49-
private String version = "8.2.0";
49+
private String version = "8.3.0";
5050
static final Logger logger = LoggerFactory.getLogger(AppStoreApi.class);
5151

5252
/** AppStoreApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Assets API
33
* The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -49,7 +49,7 @@ public class AssetApi {
4949
private ApiClient apiClient;
5050
private static AssetApi instance = null;
5151
private String userAgent = "Default";
52-
private String version = "8.2.0";
52+
private String version = "8.3.0";
5353
static final Logger logger = LoggerFactory.getLogger(AssetApi.class);
5454

5555
/** AssetApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Bank Feeds API
33
* The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you're an existing financial services partner that wants access, contact your local Partner Manager. If you're a financial institution who wants to provide bank feeds to your business customers, contact us to become a financial services partner.
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -48,7 +48,7 @@ public class BankFeedsApi {
4848
private ApiClient apiClient;
4949
private static BankFeedsApi instance = null;
5050
private String userAgent = "Default";
51-
private String version = "8.2.0";
51+
private String version = "8.3.0";
5252
static final Logger logger = LoggerFactory.getLogger(BankFeedsApi.class);
5353

5454
/** BankFeedsApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Files API
33
* These endpoints are specific to Xero Files API
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -54,7 +54,7 @@ public class FilesApi {
5454
private ApiClient apiClient;
5555
private static FilesApi instance = null;
5656
private String userAgent = "Default";
57-
private String version = "8.2.0";
57+
private String version = "8.3.0";
5858
static final Logger logger = LoggerFactory.getLogger(FilesApi.class);
5959

6060
/** FilesApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Finance API
33
* The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -53,7 +53,7 @@ public class FinanceApi {
5353
private ApiClient apiClient;
5454
private static FinanceApi instance = null;
5555
private String userAgent = "Default";
56-
private String version = "8.2.0";
56+
private String version = "8.3.0";
5757
static final Logger logger = LoggerFactory.getLogger(FinanceApi.class);
5858

5959
/** FinanceApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero OAuth 2 Identity Service API
33
* These endpoints are related to managing authentication tokens and identity for Xero API
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -45,7 +45,7 @@ public class IdentityApi {
4545
private ApiClient apiClient;
4646
private static IdentityApi instance = null;
4747
private String userAgent = "Default";
48-
private String version = "8.2.0";
48+
private String version = "8.3.0";
4949
static final Logger logger = LoggerFactory.getLogger(IdentityApi.class);
5050

5151
/** IdentityApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Payroll AU API
33
* This is the Xero Payroll API for orgs in Australia region.
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -65,7 +65,7 @@ public class PayrollAuApi {
6565
private ApiClient apiClient;
6666
private static PayrollAuApi instance = null;
6767
private String userAgent = "Default";
68-
private String version = "8.2.0";
68+
private String version = "8.3.0";
6969
static final Logger logger = LoggerFactory.getLogger(PayrollAuApi.class);
7070

7171
/** PayrollAuApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Payroll NZ
33
* This is the Xero Payroll API for orgs in the NZ region.
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -109,7 +109,7 @@ public class PayrollNzApi {
109109
private ApiClient apiClient;
110110
private static PayrollNzApi instance = null;
111111
private String userAgent = "Default";
112-
private String version = "8.2.0";
112+
private String version = "8.3.0";
113113
static final Logger logger = LoggerFactory.getLogger(PayrollNzApi.class);
114114

115115
/** PayrollNzApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Payroll UK
33
* This is the Xero Payroll API for orgs in the UK region.
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -106,7 +106,7 @@ public class PayrollUkApi {
106106
private ApiClient apiClient;
107107
private static PayrollUkApi instance = null;
108108
private String userAgent = "Default";
109-
private String version = "8.2.0";
109+
private String version = "8.3.0";
110110
static final Logger logger = LoggerFactory.getLogger(PayrollUkApi.class);
111111

112112
/** PayrollUkApi */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Projects API
33
* This is the Xero Projects API
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -57,7 +57,7 @@ public class ProjectApi {
5757
private ApiClient apiClient;
5858
private static ProjectApi instance = null;
5959
private String userAgent = "Default";
60-
private String version = "8.2.0";
60+
private String version = "8.3.0";
6161
static final Logger logger = LoggerFactory.getLogger(ProjectApi.class);
6262

6363
/** ProjectApi */

src/main/java/com/xero/models/payrolluk/EmployeeLeaveType.java

+54-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import io.swagger.annotations.ApiModelProperty;
1919
import java.util.Objects;
2020
import java.util.UUID;
21+
import org.threeten.bp.LocalDate;
2122

2223
/** EmployeeLeaveType */
2324
public class EmployeeLeaveType {
@@ -95,6 +96,9 @@ public static ScheduleOfAccrualEnum fromValue(String value) {
9596

9697
@JsonProperty("rateAccruedHourly")
9798
private Double rateAccruedHourly;
99+
100+
@JsonProperty("scheduleOfAccrualDate")
101+
private LocalDate scheduleOfAccrualDate;
98102
/**
99103
* The Xero identifier for leave type
100104
*
@@ -320,6 +324,49 @@ public void setRateAccruedHourly(Double rateAccruedHourly) {
320324
this.rateAccruedHourly = rateAccruedHourly;
321325
}
322326

327+
/**
328+
* The date when an employee becomes entitled to their accrual. Only applicable when
329+
* scheduleOfAccrual is \&quot;OnAnniversaryDate\&quot;
330+
*
331+
* @param scheduleOfAccrualDate LocalDate
332+
* @return EmployeeLeaveType
333+
*/
334+
public EmployeeLeaveType scheduleOfAccrualDate(LocalDate scheduleOfAccrualDate) {
335+
this.scheduleOfAccrualDate = scheduleOfAccrualDate;
336+
return this;
337+
}
338+
339+
/**
340+
* The date when an employee becomes entitled to their accrual. Only applicable when
341+
* scheduleOfAccrual is \&quot;OnAnniversaryDate\&quot;
342+
*
343+
* @return scheduleOfAccrualDate
344+
*/
345+
@ApiModelProperty(
346+
example = "Mon Apr 01 00:00:00 UTC 2024",
347+
value =
348+
"The date when an employee becomes entitled to their accrual. Only applicable when"
349+
+ " scheduleOfAccrual is \"OnAnniversaryDate\"")
350+
/**
351+
* The date when an employee becomes entitled to their accrual. Only applicable when
352+
* scheduleOfAccrual is \&quot;OnAnniversaryDate\&quot;
353+
*
354+
* @return scheduleOfAccrualDate LocalDate
355+
*/
356+
public LocalDate getScheduleOfAccrualDate() {
357+
return scheduleOfAccrualDate;
358+
}
359+
360+
/**
361+
* The date when an employee becomes entitled to their accrual. Only applicable when
362+
* scheduleOfAccrual is \&quot;OnAnniversaryDate\&quot;
363+
*
364+
* @param scheduleOfAccrualDate LocalDate
365+
*/
366+
public void setScheduleOfAccrualDate(LocalDate scheduleOfAccrualDate) {
367+
this.scheduleOfAccrualDate = scheduleOfAccrualDate;
368+
}
369+
323370
@Override
324371
public boolean equals(java.lang.Object o) {
325372
if (this == o) {
@@ -334,7 +381,8 @@ public boolean equals(java.lang.Object o) {
334381
&& Objects.equals(this.hoursAccruedAnnually, employeeLeaveType.hoursAccruedAnnually)
335382
&& Objects.equals(this.maximumToAccrue, employeeLeaveType.maximumToAccrue)
336383
&& Objects.equals(this.openingBalance, employeeLeaveType.openingBalance)
337-
&& Objects.equals(this.rateAccruedHourly, employeeLeaveType.rateAccruedHourly);
384+
&& Objects.equals(this.rateAccruedHourly, employeeLeaveType.rateAccruedHourly)
385+
&& Objects.equals(this.scheduleOfAccrualDate, employeeLeaveType.scheduleOfAccrualDate);
338386
}
339387

340388
@Override
@@ -345,7 +393,8 @@ public int hashCode() {
345393
hoursAccruedAnnually,
346394
maximumToAccrue,
347395
openingBalance,
348-
rateAccruedHourly);
396+
rateAccruedHourly,
397+
scheduleOfAccrualDate);
349398
}
350399

351400
@Override
@@ -360,6 +409,9 @@ public String toString() {
360409
sb.append(" maximumToAccrue: ").append(toIndentedString(maximumToAccrue)).append("\n");
361410
sb.append(" openingBalance: ").append(toIndentedString(openingBalance)).append("\n");
362411
sb.append(" rateAccruedHourly: ").append(toIndentedString(rateAccruedHourly)).append("\n");
412+
sb.append(" scheduleOfAccrualDate: ")
413+
.append(toIndentedString(scheduleOfAccrualDate))
414+
.append("\n");
363415
sb.append("}");
364416
return sb.toString();
365417
}

0 commit comments

Comments
 (0)