From f30030ab501197a98c2dfc638b986f4a9dbf2e05 Mon Sep 17 00:00:00 2001 From: Richard DeMarco Date: Thu, 3 Nov 2022 10:43:52 -0600 Subject: [PATCH] update sdk to OAS version 31 --- docs/v4/accounting/index.html | 6 +- docs/v4/appstore/index.html | 550 +++++++++++++++++- docs/v4/assets/index.html | 2 +- docs/v4/files/index.html | 2 +- docs/v4/finance/index.html | 2 +- docs/v4/payroll-au/index.html | 2 +- docs/v4/payroll-nz/index.html | 2 +- docs/v4/payroll-uk/index.html | 2 +- pom.xml | 2 +- .../com/xero/api/client/AccountingApi.java | 4 +- .../java/com/xero/api/client/AppStoreApi.java | 329 ++++++++++- .../java/com/xero/api/client/AssetApi.java | 4 +- .../com/xero/api/client/BankFeedsApi.java | 4 +- .../java/com/xero/api/client/FilesApi.java | 4 +- .../java/com/xero/api/client/FinanceApi.java | 4 +- .../java/com/xero/api/client/IdentityApi.java | 4 +- .../com/xero/api/client/PayrollAuApi.java | 4 +- .../com/xero/api/client/PayrollNzApi.java | 4 +- .../com/xero/api/client/PayrollUkApi.java | 4 +- .../java/com/xero/api/client/ProjectApi.java | 4 +- .../com/xero/models/accounting/LineItem.java | 67 ++- .../models/appstore/CreateUsageRecord.java | 148 +++++ .../models/appstore/UpdateUsageRecord.java | 105 ++++ .../com/xero/models/appstore/UsageRecord.java | 385 ++++++++++++ .../models/appstore/UsageRecordsList.java | 110 ++++ 25 files changed, 1690 insertions(+), 64 deletions(-) create mode 100644 src/main/java/com/xero/models/appstore/CreateUsageRecord.java create mode 100644 src/main/java/com/xero/models/appstore/UpdateUsageRecord.java create mode 100644 src/main/java/com/xero/models/appstore/UsageRecord.java create mode 100644 src/main/java/com/xero/models/appstore/UsageRecordsList.java diff --git a/docs/v4/accounting/index.html b/docs/v4/accounting/index.html index de30604c..4c9f99c7 100644 --- a/docs/v4/accounting/index.html +++ b/docs/v4/accounting/index.html @@ -3575,7 +3575,7 @@ }, "LineAmount" : { "type" : "number", - "description" : "If you wish to omit either of the or you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if a DiscountRate has been used . i.e LineAmount = Quantity * Unit Amount * ((100 – DiscountRate)/100)", + "description" : "If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount", "format" : "double", "x-is-money" : true }, @@ -3594,7 +3594,7 @@ }, "DiscountAmount" : { "type" : "number", - "description" : "Discount amount being applied to a line item. Only supported on ACCREC invoices - ACCPAY invoices and credit notes in Xero do not support discounts.", + "description" : "Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.", "format" : "double", "x-is-money" : true }, @@ -6065,7 +6065,7 @@