Skip to content

Commit

Permalink
Merge pull request #373 from XeroAPI/OAS-6.2.0-xero-java
Browse files Browse the repository at this point in the history
Build from OAS 6.2.0
  • Loading branch information
manishT72 authored Aug 26, 2024
2 parents ac72fca + fe0d703 commit f3635d3
Show file tree
Hide file tree
Showing 21 changed files with 39 additions and 39 deletions.
6 changes: 3 additions & 3 deletions docs/v4/accounting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2492,7 +2492,7 @@
},
"SentToContact" : {
"type" : "boolean",
"description" : "boolean to indicate if a credit note has been sent to a contact via the Xero app (currently read only)",
"description" : "Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved",
"readOnly" : true
},
"CurrencyRate" : {
Expand Down Expand Up @@ -6212,7 +6212,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>8.1.0</li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>8.2.0</li>
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
<li data-group="Accounting" data-name="createAccount" class="">
<a href="#api-Accounting-createAccount">createAccount</a>
Expand Down Expand Up @@ -42418,7 +42418,7 @@ <h2>Parameters</h2>
"schema" : {
"$ref" : "#/components/schemas/CreditNotes"
},
"example" : "{ \"CreditNotes\": [ { \"Type\": \"ACCPAYCREDIT\", \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\" }, \"Date\": \"2019-01-05\", \"Status\": \"AUTHORISED\", \"Reference\": \"HelloWorld\", \"LineItems\": [ { \"Description\": \"Foobar\", \"Quantity\": 2, \"UnitAmount\": 20, \"AccountCode\": \"400\" } ] } ] }"
"example" : "{ \"CreditNotes\": [ { \"Type\": \"ACCPAYCREDIT\", \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\" }, \"Date\": \"2019-01-05\", \"Status\": \"AUTHORISED\", \"Reference\": \"HelloWorld\", \"SentToContact\": true, \"LineItems\": [ { \"Description\": \"Foobar\", \"Quantity\": 2, \"UnitAmount\": 20, \"AccountCode\": \"400\" } ] } ] }"
}
},
"required" : true
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/appstore/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>8.1.0</li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>8.2.0</li>
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
<li data-group="AppStore" data-name="getSubscription" class="">
<a href="#api-AppStore-getSubscription">getSubscription</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>8.1.0</li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>8.2.0</li>
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
<li data-group="Asset" data-name="createAsset" class="">
<a href="#api-Asset-createAsset">createAsset</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>8.1.0</li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>8.2.0</li>
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
<li data-group="Files" data-name="createFileAssociation" class="">
<a href="#api-Files-createFileAssociation">createFileAssociation</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/finance/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2733,7 +2733,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>8.1.0</li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>8.2.0</li>
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/payroll-au/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3411,7 +3411,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>8.1.0</li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>8.2.0</li>
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/payroll-nz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4027,7 +4027,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>8.1.0</li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>8.2.0</li>
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/payroll-uk/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3506,7 +3506,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>8.1.0</li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>8.2.0</li>
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>xero-java</artifactId>
<packaging>jar</packaging>
<name>xero-java</name>
<version>8.1.0</version>
<version>8.2.0</version>
<url>https://github.com/XeroAPI/Xero-Java</url>
<description>This is the official Java SDK for Xero API</description>
<licenses>
Expand Down
4 changes: 2 additions & 2 deletions 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: 6.1.1
* The version of the OpenAPI document: 6.2.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -102,7 +102,7 @@ public class AccountingApi {
private ApiClient apiClient;
private static AccountingApi instance = null;
private String userAgent = "Default";
private String version = "8.1.0";
private String version = "8.2.0";
static final Logger logger = LoggerFactory.getLogger(AccountingApi.class);

/** AccountingApi */
Expand Down
4 changes: 2 additions & 2 deletions 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: 6.1.1
* The version of the OpenAPI document: 6.2.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -46,7 +46,7 @@ public class AppStoreApi {
private ApiClient apiClient;
private static AppStoreApi instance = null;
private String userAgent = "Default";
private String version = "8.1.0";
private String version = "8.2.0";
static final Logger logger = LoggerFactory.getLogger(AppStoreApi.class);

/** AppStoreApi */
Expand Down
4 changes: 2 additions & 2 deletions 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: 6.1.1
* The version of the OpenAPI document: 6.2.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -49,7 +49,7 @@ public class AssetApi {
private ApiClient apiClient;
private static AssetApi instance = null;
private String userAgent = "Default";
private String version = "8.1.0";
private String version = "8.2.0";
static final Logger logger = LoggerFactory.getLogger(AssetApi.class);

/** AssetApi */
Expand Down
4 changes: 2 additions & 2 deletions 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: 6.1.1
* The version of the OpenAPI document: 6.2.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -48,7 +48,7 @@ public class BankFeedsApi {
private ApiClient apiClient;
private static BankFeedsApi instance = null;
private String userAgent = "Default";
private String version = "8.1.0";
private String version = "8.2.0";
static final Logger logger = LoggerFactory.getLogger(BankFeedsApi.class);

/** BankFeedsApi */
Expand Down
4 changes: 2 additions & 2 deletions 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: 6.1.1
* The version of the OpenAPI document: 6.2.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -54,7 +54,7 @@ public class FilesApi {
private ApiClient apiClient;
private static FilesApi instance = null;
private String userAgent = "Default";
private String version = "8.1.0";
private String version = "8.2.0";
static final Logger logger = LoggerFactory.getLogger(FilesApi.class);

/** FilesApi */
Expand Down
4 changes: 2 additions & 2 deletions 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: 6.1.1
* The version of the OpenAPI document: 6.2.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -53,7 +53,7 @@ public class FinanceApi {
private ApiClient apiClient;
private static FinanceApi instance = null;
private String userAgent = "Default";
private String version = "8.1.0";
private String version = "8.2.0";
static final Logger logger = LoggerFactory.getLogger(FinanceApi.class);

/** FinanceApi */
Expand Down
4 changes: 2 additions & 2 deletions 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: 6.1.1
* The version of the OpenAPI document: 6.2.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -45,7 +45,7 @@ public class IdentityApi {
private ApiClient apiClient;
private static IdentityApi instance = null;
private String userAgent = "Default";
private String version = "8.1.0";
private String version = "8.2.0";
static final Logger logger = LoggerFactory.getLogger(IdentityApi.class);

/** IdentityApi */
Expand Down
4 changes: 2 additions & 2 deletions 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: 6.1.1
* The version of the OpenAPI document: 6.2.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -65,7 +65,7 @@ public class PayrollAuApi {
private ApiClient apiClient;
private static PayrollAuApi instance = null;
private String userAgent = "Default";
private String version = "8.1.0";
private String version = "8.2.0";
static final Logger logger = LoggerFactory.getLogger(PayrollAuApi.class);

/** PayrollAuApi */
Expand Down
4 changes: 2 additions & 2 deletions 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: 6.1.1
* The version of the OpenAPI document: 6.2.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -109,7 +109,7 @@ public class PayrollNzApi {
private ApiClient apiClient;
private static PayrollNzApi instance = null;
private String userAgent = "Default";
private String version = "8.1.0";
private String version = "8.2.0";
static final Logger logger = LoggerFactory.getLogger(PayrollNzApi.class);

/** PayrollNzApi */
Expand Down
4 changes: 2 additions & 2 deletions 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: 6.1.1
* The version of the OpenAPI document: 6.2.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -106,7 +106,7 @@ public class PayrollUkApi {
private ApiClient apiClient;
private static PayrollUkApi instance = null;
private String userAgent = "Default";
private String version = "8.1.0";
private String version = "8.2.0";
static final Logger logger = LoggerFactory.getLogger(PayrollUkApi.class);

/** PayrollUkApi */
Expand Down
4 changes: 2 additions & 2 deletions 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: 6.1.1
* The version of the OpenAPI document: 6.2.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -57,7 +57,7 @@ public class ProjectApi {
private ApiClient apiClient;
private static ProjectApi instance = null;
private String userAgent = "Default";
private String version = "8.1.0";
private String version = "8.2.0";
static final Logger logger = LoggerFactory.getLogger(ProjectApi.class);

/** ProjectApi */
Expand Down
12 changes: 6 additions & 6 deletions src/main/java/com/xero/models/accounting/CreditNote.java
Original file line number Diff line number Diff line change
Expand Up @@ -932,18 +932,18 @@ public void setReference(String reference) {
}

/**
* boolean to indicate if a credit note has been sent to a contact via the Xero app (currently
* read only)
* Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be
* set only on credit notes that have been approved
*
* @return sentToContact
*/
@ApiModelProperty(
value =
"boolean to indicate if a credit note has been sent to a contact via the Xero app"
+ " (currently read only)")
"Boolean to set whether the credit note in the Xero app should be marked as “sent”. This"
+ " can be set only on credit notes that have been approved")
/**
* boolean to indicate if a credit note has been sent to a contact via the Xero app (currently
* read only)
* Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be
* set only on credit notes that have been approved
*
* @return sentToContact Boolean
*/
Expand Down

0 comments on commit f3635d3

Please sign in to comment.