Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 3 additions & 27 deletions docs/v4/payroll-nz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1680,20 +1680,6 @@
"example" : 10.0,
"x-is-money" : true
},
"sickLeaveHoursToAccrueAnnually" : {
"type" : "number",
"description" : "Deprecated use SickLeaveToAccrueAnnually",
"format" : "double",
"example" : 100.5,
"x-is-money" : true
},
"sickLeaveMaximumHoursToAccrue" : {
"type" : "number",
"description" : "Deprecated use SickLeaveMaximumToAccrue",
"format" : "double",
"example" : 200.5,
"x-is-money" : true
},
"SickLeaveToAccrueAnnually" : {
"type" : "number",
"description" : "Number of units accrued annually for sick leave. The type of units is determined by the property \"TypeOfUnitsToAccrue\" on the \"Sick Leave\" leave type",
Expand Down Expand Up @@ -1767,13 +1753,7 @@
"description" : "The schedule of accrual",
"enum" : [ "AnnuallyAfter6Months", "OnAnniversaryDate", "PercentageOfGrossEarnings", "NoAccruals" ]
},
"hoursAccruedAnnually" : {
"type" : "number",
"description" : "Deprecated use UnitsAccruedAnnually",
"format" : "double",
"x-is-money" : true
},
"UnitsAccruedAnnually" : {
"unitsAccruedAnnually" : {
"type" : "number",
"description" : "The number of units accrued for the leave annually. This is 0 when the ScheduleOfAccrual chosen is \"NoAccruals\"",
"format" : "double",
Expand Down Expand Up @@ -1801,7 +1781,7 @@
},
"rateAccruedHourly" : {
"type" : "number",
"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\"",
"description" : "not supported in Payroll NZ",
"format" : "double",
"x-is-money" : true
},
Expand Down Expand Up @@ -5400,8 +5380,6 @@ <h3>Usage and SDK Samples</h3>
employeeLeaveSetup.setIncludeHolidayPay(false);
employeeLeaveSetup.setHolidayPayOpeningBalance(10.5);
employeeLeaveSetup.setAnnualLeaveOpeningBalance(25.89);
employeeLeaveSetup.setSickLeaveHoursToAccrueAnnually(100.0);
employeeLeaveSetup.setSickLeaveMaximumHoursToAccrue(200.0);
employeeLeaveSetup.setSickLeaveOpeningBalance(10.5);
employeeLeaveSetup.setSickLeaveToAccrueAnnually(100.0);
employeeLeaveSetup.setSickLeaveMaximumToAccrue(200.0);
Expand Down Expand Up @@ -5545,7 +5523,6 @@ <h2>Parameters</h2>
"example" : {
"holidayPayOpeningBalance" : 10,
"annualLeaveOpeningBalance" : 100,
"sickLeaveHoursToAccrueAnnually" : 20,
"sickLeaveToAccrueAnnually" : 20,
"sickLeaveOpeningBalance" : 10,
"sickLeaveScheduleOfAccrual" : "OnAnniversaryDate",
Expand Down Expand Up @@ -5744,13 +5721,12 @@ <h2>Parameters</h2>
"example" : {
"leaveTypeID" : "35da97ae-05b9-427f-9a98-69157ba42cec",
"scheduleOfAccrual" : "AnnuallyAfter6Months",
"hoursAccruedAnnually" : 10,
"unitsAccruedAnnually" : 10,
"typeOfUnitsToAccrue" : "Hours",
"openingBalanceTypeOfUnits" : "Hours",
"maximumToAccrue" : 80,
"openingBalance" : 100,
"rateAccruedHourly" : 3.5
"rateAccruedHourly" : null
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/AccountingApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Accounting API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 9.3.0
* The version of the OpenAPI document: 10.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/AppStoreApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero AppStore API
* These endpoints are for Xero Partners to interact with the App Store Billing platform
*
* The version of the OpenAPI document: 9.3.0
* The version of the OpenAPI document: 10.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/AssetApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Assets API
* 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.
*
* The version of the OpenAPI document: 9.3.0
* The version of the OpenAPI document: 10.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/BankFeedsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Bank Feeds API
* 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.
*
* The version of the OpenAPI document: 9.3.0
* The version of the OpenAPI document: 10.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/FilesApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Files API
* These endpoints are specific to Xero Files API
*
* The version of the OpenAPI document: 9.3.0
* The version of the OpenAPI document: 10.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/FinanceApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Finance API
* 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.
*
* The version of the OpenAPI document: 9.3.0
* The version of the OpenAPI document: 10.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/IdentityApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero OAuth 2 Identity Service API
* These endpoints are related to managing authentication tokens and identity for Xero API
*
* The version of the OpenAPI document: 9.3.0
* The version of the OpenAPI document: 10.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/PayrollAuApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll AU API
* This is the Xero Payroll API for orgs in Australia region.
*
* The version of the OpenAPI document: 9.3.0
* The version of the OpenAPI document: 10.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/PayrollNzApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll NZ
* This is the Xero Payroll API for orgs in the NZ region.
*
* The version of the OpenAPI document: 9.3.0
* The version of the OpenAPI document: 10.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/PayrollUkApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll UK
* This is the Xero Payroll API for orgs in the UK region.
*
* The version of the OpenAPI document: 9.3.0
* The version of the OpenAPI document: 10.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/ProjectApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Projects API
* This is the Xero Projects API
*
* The version of the OpenAPI document: 9.3.0
* The version of the OpenAPI document: 10.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
88 changes: 0 additions & 88 deletions src/main/java/com/xero/models/payrollnz/EmployeeLeaveSetup.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ public class EmployeeLeaveSetup {
@JsonProperty("negativeAnnualLeaveBalancePaidAmount")
private Double negativeAnnualLeaveBalancePaidAmount;

@JsonProperty("sickLeaveHoursToAccrueAnnually")
private Double sickLeaveHoursToAccrueAnnually;

@JsonProperty("sickLeaveMaximumHoursToAccrue")
private Double sickLeaveMaximumHoursToAccrue;

@JsonProperty("SickLeaveToAccrueAnnually")
private Double sickLeaveToAccrueAnnually;

Expand Down Expand Up @@ -218,76 +212,6 @@ public void setNegativeAnnualLeaveBalancePaidAmount(Double negativeAnnualLeaveBa
this.negativeAnnualLeaveBalancePaidAmount = negativeAnnualLeaveBalancePaidAmount;
}

/**
* Deprecated use SickLeaveToAccrueAnnually
*
* @param sickLeaveHoursToAccrueAnnually Double
* @return EmployeeLeaveSetup
*/
public EmployeeLeaveSetup sickLeaveHoursToAccrueAnnually(Double sickLeaveHoursToAccrueAnnually) {
this.sickLeaveHoursToAccrueAnnually = sickLeaveHoursToAccrueAnnually;
return this;
}

/**
* Deprecated use SickLeaveToAccrueAnnually
*
* @return sickLeaveHoursToAccrueAnnually
*/
@ApiModelProperty(example = "100.5", value = "Deprecated use SickLeaveToAccrueAnnually")
/**
* Deprecated use SickLeaveToAccrueAnnually
*
* @return sickLeaveHoursToAccrueAnnually Double
*/
public Double getSickLeaveHoursToAccrueAnnually() {
return sickLeaveHoursToAccrueAnnually;
}

/**
* Deprecated use SickLeaveToAccrueAnnually
*
* @param sickLeaveHoursToAccrueAnnually Double
*/
public void setSickLeaveHoursToAccrueAnnually(Double sickLeaveHoursToAccrueAnnually) {
this.sickLeaveHoursToAccrueAnnually = sickLeaveHoursToAccrueAnnually;
}

/**
* Deprecated use SickLeaveMaximumToAccrue
*
* @param sickLeaveMaximumHoursToAccrue Double
* @return EmployeeLeaveSetup
*/
public EmployeeLeaveSetup sickLeaveMaximumHoursToAccrue(Double sickLeaveMaximumHoursToAccrue) {
this.sickLeaveMaximumHoursToAccrue = sickLeaveMaximumHoursToAccrue;
return this;
}

/**
* Deprecated use SickLeaveMaximumToAccrue
*
* @return sickLeaveMaximumHoursToAccrue
*/
@ApiModelProperty(example = "200.5", value = "Deprecated use SickLeaveMaximumToAccrue")
/**
* Deprecated use SickLeaveMaximumToAccrue
*
* @return sickLeaveMaximumHoursToAccrue Double
*/
public Double getSickLeaveMaximumHoursToAccrue() {
return sickLeaveMaximumHoursToAccrue;
}

/**
* Deprecated use SickLeaveMaximumToAccrue
*
* @param sickLeaveMaximumHoursToAccrue Double
*/
public void setSickLeaveMaximumHoursToAccrue(Double sickLeaveMaximumHoursToAccrue) {
this.sickLeaveMaximumHoursToAccrue = sickLeaveMaximumHoursToAccrue;
}

/**
* Number of units accrued annually for sick leave. The type of units is determined by the
* property \&quot;TypeOfUnitsToAccrue\&quot; on the \&quot;Sick Leave\&quot; leave type
Expand Down Expand Up @@ -558,10 +482,6 @@ public boolean equals(java.lang.Object o) {
&& Objects.equals(
this.negativeAnnualLeaveBalancePaidAmount,
employeeLeaveSetup.negativeAnnualLeaveBalancePaidAmount)
&& Objects.equals(
this.sickLeaveHoursToAccrueAnnually, employeeLeaveSetup.sickLeaveHoursToAccrueAnnually)
&& Objects.equals(
this.sickLeaveMaximumHoursToAccrue, employeeLeaveSetup.sickLeaveMaximumHoursToAccrue)
&& Objects.equals(
this.sickLeaveToAccrueAnnually, employeeLeaveSetup.sickLeaveToAccrueAnnually)
&& Objects.equals(
Expand All @@ -582,8 +502,6 @@ public int hashCode() {
holidayPayOpeningBalance,
annualLeaveOpeningBalance,
negativeAnnualLeaveBalancePaidAmount,
sickLeaveHoursToAccrueAnnually,
sickLeaveMaximumHoursToAccrue,
sickLeaveToAccrueAnnually,
sickLeaveMaximumToAccrue,
sickLeaveOpeningBalance,
Expand All @@ -606,12 +524,6 @@ public String toString() {
sb.append(" negativeAnnualLeaveBalancePaidAmount: ")
.append(toIndentedString(negativeAnnualLeaveBalancePaidAmount))
.append("\n");
sb.append(" sickLeaveHoursToAccrueAnnually: ")
.append(toIndentedString(sickLeaveHoursToAccrueAnnually))
.append("\n");
sb.append(" sickLeaveMaximumHoursToAccrue: ")
.append(toIndentedString(sickLeaveMaximumHoursToAccrue))
.append("\n");
sb.append(" sickLeaveToAccrueAnnually: ")
.append(toIndentedString(sickLeaveToAccrueAnnually))
.append("\n");
Expand Down
Loading