diff --git a/Xero.NetStandard.OAuth2/Api/AccountingApi.cs b/Xero.NetStandard.OAuth2/Api/AccountingApi.cs index 11314c23..240f84cb 100644 --- a/Xero.NetStandard.OAuth2/Api/AccountingApi.cs +++ b/Xero.NetStandard.OAuth2/Api/AccountingApi.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -2234,6 +2234,29 @@ public interface IAccountingApiAsync : IApiAccessor /// Task of ApiResponse (Attachments) System.Threading.Tasks.Task> GetContactAttachmentsAsyncWithHttpInfo (string accessToken, string xeroTenantId, Guid contactID); /// + /// Allows you to retrieve a single contact by Contact Number in a Xero organisation + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Xero identifier for Tenant + /// This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). + /// Task of Contacts + System.Threading.Tasks.Task GetContactByContactNumberAsync (string accessToken, string xeroTenantId, string contactNumber); + + /// + /// Allows you to retrieve a single contact by Contact Number in a Xero organisation + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Xero identifier for Tenant + /// This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). + /// Task of ApiResponse (Contacts) + System.Threading.Tasks.Task> GetContactByContactNumberAsyncWithHttpInfo (string accessToken, string xeroTenantId, string contactNumber); + /// /// Allows you to retrieve CISSettings for a contact in a Xero organisation /// /// @@ -12985,6 +13008,81 @@ public async System.Threading.Tasks.Task GetContactAttachmentsAsync } + /// + /// Allows you to retrieve a single contact by Contact Number in a Xero organisation + /// + /// Thrown when fails to make API call + /// Xero identifier for Tenant + /// This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). + /// Task of Contacts + public async System.Threading.Tasks.Task GetContactByContactNumberAsync (string accessToken, string xeroTenantId, string contactNumber) + { + Xero.NetStandard.OAuth2.Client.ApiResponse localVarResponse = await GetContactByContactNumberAsyncWithHttpInfo(accessToken, xeroTenantId, contactNumber); + return localVarResponse.Data; + + } + + /// + /// Allows you to retrieve a single contact by Contact Number in a Xero organisation + /// + /// Thrown when fails to make API call + /// Xero identifier for Tenant + /// This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). + /// Task of ApiResponse (Contacts) + public async System.Threading.Tasks.Task> GetContactByContactNumberAsyncWithHttpInfo (string accessToken, string xeroTenantId, string contactNumber) + { + // verify the required parameter 'xeroTenantId' is set + if (xeroTenantId == null) + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling AccountingApi->GetContactByContactNumber"); + + // verify the required parameter 'contactNumber' is set + if (contactNumber == null) + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'contactNumber' when calling AccountingApi->GetContactByContactNumber"); + + + Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); + + String[] @contentTypes = new String[] { + }; + + // to determine the Accept header + String[] @accepts = new String[] { + "application/json" + }; + + foreach (var cType in @contentTypes) + requestOptions.HeaderParameters.Add("Content-Type", cType); + + foreach (var accept in @accepts) + requestOptions.HeaderParameters.Add("Accept", accept); + + if (contactNumber != null) + requestOptions.PathParameters.Add("ContactNumber", Xero.NetStandard.OAuth2.Client.ClientUtils.ParameterToString(contactNumber)); // path parameter + if (xeroTenantId != null) + requestOptions.HeaderParameters.Add("xero-tenant-id", Xero.NetStandard.OAuth2.Client.ClientUtils.ParameterToString(xeroTenantId)); // header parameter + + // authentication (OAuth2) required + // oauth required + if (!String.IsNullOrEmpty(accessToken)) + { + requestOptions.HeaderParameters.Add("Authorization", "Bearer " + accessToken); + } + // make the HTTP request + + + + var response = await this.AsynchronousClient.GetAsync("/Contacts/{ContactNumber}", requestOptions, this.Configuration); + + if (this.ExceptionFactory != null) + { + Exception exception = this.ExceptionFactory("GetContactByContactNumber", response); + if (exception != null) throw exception; + } + + return response; + } + + /// /// Allows you to retrieve CISSettings for a contact in a Xero organisation /// diff --git a/Xero.NetStandard.OAuth2/Api/AssetApi.cs b/Xero.NetStandard.OAuth2/Api/AssetApi.cs index c4d6a2e4..36a81b1c 100644 --- a/Xero.NetStandard.OAuth2/Api/AssetApi.cs +++ b/Xero.NetStandard.OAuth2/Api/AssetApi.cs @@ -3,7 +3,7 @@ * * This is the Xero Assets API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Api/IdentityApi.cs b/Xero.NetStandard.OAuth2/Api/IdentityApi.cs index 495be4d4..3248fe5e 100644 --- a/Xero.NetStandard.OAuth2/Api/IdentityApi.cs +++ b/Xero.NetStandard.OAuth2/Api/IdentityApi.cs @@ -3,7 +3,7 @@ * * This specifing endpoints related to managing authentication tokens and identity for Xero API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs b/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs index e1911635..d6e10cbf 100644 --- a/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs +++ b/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -24,7 +24,7 @@ namespace Xero.NetStandard.OAuth2.Api /// /// Represents a collection of functions to interact with the API endpoints /// - public interface IPayrollAUApiAsync : IApiAccessor + public interface IPayrollAuApiAsync : IApiAccessor { #region Asynchronous Operations /// @@ -754,7 +754,7 @@ public interface IPayrollAUApiAsync : IApiAccessor /// /// Represents a collection of functions to interact with the API endpoints /// - public interface IPayrollAUApi : IPayrollAUApiAsync + public interface IPayrollAuApi : IPayrollAuApiAsync { } @@ -762,15 +762,15 @@ public interface IPayrollAUApi : IPayrollAUApiAsync /// /// Represents a collection of functions to interact with the API endpoints /// - public partial class PayrollAUApi : IPayrollAUApi + public partial class PayrollAuApi : IPayrollAuApi { private Xero.NetStandard.OAuth2.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - public PayrollAUApi() : this((string) null) + public PayrollAuApi() : this((string) null) { this.Configuration = Xero.NetStandard.OAuth2.Client.Configuration.MergeConfigurations( Xero.NetStandard.OAuth2.Client.GlobalConfiguration.Instance, @@ -781,10 +781,10 @@ public PayrollAUApi() : this((string) null) } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - public PayrollAUApi(String basePath) + public PayrollAuApi(String basePath) { this.Configuration = Xero.NetStandard.OAuth2.Client.Configuration.MergeConfigurations( Xero.NetStandard.OAuth2.Client.GlobalConfiguration.Instance, @@ -795,12 +795,12 @@ public PayrollAUApi(String basePath) } /// - /// Initializes a new instance of the class + /// Initializes a new instance of the class /// using Configuration object /// /// An instance of Configuration /// - public PayrollAUApi(Xero.NetStandard.OAuth2.Client.Configuration configuration) + public PayrollAuApi(Xero.NetStandard.OAuth2.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); @@ -819,7 +819,7 @@ public PayrollAUApi(Xero.NetStandard.OAuth2.Client.Configuration configuration) /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public PayrollAUApi(Xero.NetStandard.OAuth2.Client.ISynchronousClient client,Xero.NetStandard.OAuth2.Client.IAsynchronousClient asyncClient, Xero.NetStandard.OAuth2.Client.IReadableConfiguration configuration) + public PayrollAuApi(Xero.NetStandard.OAuth2.Client.ISynchronousClient client,Xero.NetStandard.OAuth2.Client.IAsynchronousClient asyncClient, Xero.NetStandard.OAuth2.Client.IReadableConfiguration configuration) { if(client == null) throw new ArgumentNullException("client"); if(asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -893,11 +893,11 @@ public async System.Threading.Tasks.Task CreateEmployeeAsync (string { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->CreateEmployee"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->CreateEmployee"); // verify the required parameter 'employee' is set if (employee == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'employee' when calling PayrollAUApi->CreateEmployee"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'employee' when calling PayrollAuApi->CreateEmployee"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -968,11 +968,11 @@ public async System.Threading.Tasks.Task CreateLeaveApplicati { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->CreateLeaveApplication"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->CreateLeaveApplication"); // verify the required parameter 'leaveApplication' is set if (leaveApplication == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'leaveApplication' when calling PayrollAUApi->CreateLeaveApplication"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'leaveApplication' when calling PayrollAuApi->CreateLeaveApplication"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -1043,11 +1043,11 @@ public async System.Threading.Tasks.Task CreatePayItemAsync (string ac { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->CreatePayItem"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->CreatePayItem"); // verify the required parameter 'payItem' is set if (payItem == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payItem' when calling PayrollAUApi->CreatePayItem"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payItem' when calling PayrollAuApi->CreatePayItem"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -1118,11 +1118,11 @@ public async System.Threading.Tasks.Task CreatePayRunAsync (string acce { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->CreatePayRun"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->CreatePayRun"); // verify the required parameter 'payRun' is set if (payRun == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payRun' when calling PayrollAUApi->CreatePayRun"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payRun' when calling PayrollAuApi->CreatePayRun"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -1193,11 +1193,11 @@ public async System.Threading.Tasks.Task CreatePayrollCalendar { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->CreatePayrollCalendar"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->CreatePayrollCalendar"); // verify the required parameter 'payrollCalendar' is set if (payrollCalendar == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payrollCalendar' when calling PayrollAUApi->CreatePayrollCalendar"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payrollCalendar' when calling PayrollAuApi->CreatePayrollCalendar"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -1268,11 +1268,11 @@ public async System.Threading.Tasks.Task CreateSuperfundAsync (strin { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->CreateSuperfund"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->CreateSuperfund"); // verify the required parameter 'superFund' is set if (superFund == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'superFund' when calling PayrollAUApi->CreateSuperfund"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'superFund' when calling PayrollAuApi->CreateSuperfund"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -1343,11 +1343,11 @@ public async System.Threading.Tasks.Task CreateTimesheetAsync (strin { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->CreateTimesheet"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->CreateTimesheet"); // verify the required parameter 'timesheet' is set if (timesheet == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'timesheet' when calling PayrollAUApi->CreateTimesheet"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'timesheet' when calling PayrollAuApi->CreateTimesheet"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -1418,11 +1418,11 @@ public async System.Threading.Tasks.Task GetEmployeeAsync (string acc { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetEmployee"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetEmployee"); // verify the required parameter 'employeeId' is set if (employeeId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'employeeId' when calling PayrollAUApi->GetEmployee"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'employeeId' when calling PayrollAuApi->GetEmployee"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -1499,7 +1499,7 @@ public async System.Threading.Tasks.Task GetEmployeesAsync (string ac { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetEmployees"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetEmployees"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -1603,11 +1603,11 @@ public async System.Threading.Tasks.Task GetLeaveApplicationA { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetLeaveApplication"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetLeaveApplication"); // verify the required parameter 'leaveApplicationId' is set if (leaveApplicationId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'leaveApplicationId' when calling PayrollAUApi->GetLeaveApplication"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'leaveApplicationId' when calling PayrollAuApi->GetLeaveApplication"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -1684,7 +1684,7 @@ public async System.Threading.Tasks.Task GetLeaveApplications { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetLeaveApplications"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetLeaveApplications"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -1794,7 +1794,7 @@ public async System.Threading.Tasks.Task GetPayItemsAsync (string acce { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetPayItems"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetPayItems"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -1898,11 +1898,11 @@ public async System.Threading.Tasks.Task GetPayRunAsync (string accessT { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetPayRun"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetPayRun"); // verify the required parameter 'payRunID' is set if (payRunID == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payRunID' when calling PayrollAUApi->GetPayRun"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payRunID' when calling PayrollAuApi->GetPayRun"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -1979,7 +1979,7 @@ public async System.Threading.Tasks.Task GetPayRunsAsync (string access { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetPayRuns"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetPayRuns"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -2083,11 +2083,11 @@ public async System.Threading.Tasks.Task GetPayrollCalendarAsy { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetPayrollCalendar"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetPayrollCalendar"); // verify the required parameter 'payrollCalendarID' is set if (payrollCalendarID == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payrollCalendarID' when calling PayrollAUApi->GetPayrollCalendar"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payrollCalendarID' when calling PayrollAuApi->GetPayrollCalendar"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -2164,7 +2164,7 @@ public async System.Threading.Tasks.Task GetPayrollCalendarsAs { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetPayrollCalendars"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetPayrollCalendars"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -2268,11 +2268,11 @@ public async System.Threading.Tasks.Task GetPayslipAsync (string { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetPayslip"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetPayslip"); // verify the required parameter 'payslipID' is set if (payslipID == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payslipID' when calling PayrollAUApi->GetPayslip"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payslipID' when calling PayrollAuApi->GetPayslip"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -2341,7 +2341,7 @@ public async System.Threading.Tasks.Task GetSettingsAsync (strin { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetSettings"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetSettings"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -2410,11 +2410,11 @@ public async System.Threading.Tasks.Task GetSuperfundAsync (string a { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetSuperfund"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetSuperfund"); // verify the required parameter 'superFundID' is set if (superFundID == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'superFundID' when calling PayrollAUApi->GetSuperfund"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'superFundID' when calling PayrollAuApi->GetSuperfund"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -2487,7 +2487,7 @@ public async System.Threading.Tasks.Task GetSuperfundProducts { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetSuperfundProducts"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetSuperfundProducts"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -2584,7 +2584,7 @@ public async System.Threading.Tasks.Task GetSuperfundsAsync (string { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetSuperfunds"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetSuperfunds"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -2688,11 +2688,11 @@ public async System.Threading.Tasks.Task GetTimesheetAsync (str { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetTimesheet"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetTimesheet"); // verify the required parameter 'timesheetID' is set if (timesheetID == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'timesheetID' when calling PayrollAUApi->GetTimesheet"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'timesheetID' when calling PayrollAuApi->GetTimesheet"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -2769,7 +2769,7 @@ public async System.Threading.Tasks.Task GetTimesheetsAsync (string { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->GetTimesheets"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->GetTimesheets"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -2875,11 +2875,11 @@ public async System.Threading.Tasks.Task UpdateEmployeeAsync (string { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->UpdateEmployee"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->UpdateEmployee"); // verify the required parameter 'employeeId' is set if (employeeId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'employeeId' when calling PayrollAUApi->UpdateEmployee"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'employeeId' when calling PayrollAuApi->UpdateEmployee"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -2954,15 +2954,15 @@ public async System.Threading.Tasks.Task UpdateLeaveApplicati { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->UpdateLeaveApplication"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->UpdateLeaveApplication"); // verify the required parameter 'leaveApplicationId' is set if (leaveApplicationId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'leaveApplicationId' when calling PayrollAUApi->UpdateLeaveApplication"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'leaveApplicationId' when calling PayrollAuApi->UpdateLeaveApplication"); // verify the required parameter 'leaveApplication' is set if (leaveApplication == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'leaveApplication' when calling PayrollAUApi->UpdateLeaveApplication"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'leaveApplication' when calling PayrollAuApi->UpdateLeaveApplication"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -3037,11 +3037,11 @@ public async System.Threading.Tasks.Task UpdatePayRunAsync (string acce { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->UpdatePayRun"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->UpdatePayRun"); // verify the required parameter 'payRunID' is set if (payRunID == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payRunID' when calling PayrollAUApi->UpdatePayRun"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payRunID' when calling PayrollAuApi->UpdatePayRun"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -3116,11 +3116,11 @@ public async System.Threading.Tasks.Task UpdatePayslipAsync (string ac { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->UpdatePayslip"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->UpdatePayslip"); // verify the required parameter 'payslipID' is set if (payslipID == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payslipID' when calling PayrollAUApi->UpdatePayslip"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'payslipID' when calling PayrollAuApi->UpdatePayslip"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -3195,11 +3195,11 @@ public async System.Threading.Tasks.Task UpdateSuperfundAsync (strin { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->UpdateSuperfund"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->UpdateSuperfund"); // verify the required parameter 'superFundID' is set if (superFundID == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'superFundID' when calling PayrollAUApi->UpdateSuperfund"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'superFundID' when calling PayrollAuApi->UpdateSuperfund"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); @@ -3274,11 +3274,11 @@ public async System.Threading.Tasks.Task UpdateTimesheetAsync (strin { // verify the required parameter 'xeroTenantId' is set if (xeroTenantId == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAUApi->UpdateTimesheet"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'xeroTenantId' when calling PayrollAuApi->UpdateTimesheet"); // verify the required parameter 'timesheetID' is set if (timesheetID == null) - throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'timesheetID' when calling PayrollAUApi->UpdateTimesheet"); + throw new Xero.NetStandard.OAuth2.Client.ApiException(400, "Missing required parameter 'timesheetID' when calling PayrollAuApi->UpdateTimesheet"); Xero.NetStandard.OAuth2.Client.RequestOptions requestOptions = new Xero.NetStandard.OAuth2.Client.RequestOptions(); diff --git a/Xero.NetStandard.OAuth2/Client/ApiClient.cs b/Xero.NetStandard.OAuth2/Client/ApiClient.cs index 6c1ed8fc..ee192d11 100644 --- a/Xero.NetStandard.OAuth2/Client/ApiClient.cs +++ b/Xero.NetStandard.OAuth2/Client/ApiClient.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Client/ApiException.cs b/Xero.NetStandard.OAuth2/Client/ApiException.cs index ee5c5369..210aa6d5 100644 --- a/Xero.NetStandard.OAuth2/Client/ApiException.cs +++ b/Xero.NetStandard.OAuth2/Client/ApiException.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Client/ApiResponse.cs b/Xero.NetStandard.OAuth2/Client/ApiResponse.cs index d6b6b4dc..ad6f3b19 100644 --- a/Xero.NetStandard.OAuth2/Client/ApiResponse.cs +++ b/Xero.NetStandard.OAuth2/Client/ApiResponse.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Client/ClientUtils.cs b/Xero.NetStandard.OAuth2/Client/ClientUtils.cs index 6758e820..ff948420 100644 --- a/Xero.NetStandard.OAuth2/Client/ClientUtils.cs +++ b/Xero.NetStandard.OAuth2/Client/ClientUtils.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Client/Configuration.cs b/Xero.NetStandard.OAuth2/Client/Configuration.cs index b7cdc73d..803329b8 100644 --- a/Xero.NetStandard.OAuth2/Client/Configuration.cs +++ b/Xero.NetStandard.OAuth2/Client/Configuration.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "2.3.0"; + public const string Version = "3.0.0"; /// /// Identifier for ISO 8601 DateTime Format @@ -96,7 +96,7 @@ public class Configuration : IReadableConfiguration [System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")] public Configuration() { - UserAgent = "xero-netstandard-2.3.0"; + UserAgent = "xero-netstandard-3.0.0"; BasePath = "https://api.xero.com/api.xro/2.0"; DefaultHeader = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -328,8 +328,8 @@ public static String ToDebugReport() { String report = "C# SDK (Xero.NetStandard.OAuth2) Debug Report:\n"; report += " OS: " + System.Runtime.InteropServices.RuntimeInformation.OSDescription + "\n"; - report += " Version of the API: 2.1.4\n"; - report += " SDK Package Version: 2.3.0\n"; + report += " Version of the API: 2.1.7\n"; + report += " SDK Package Version: 3.0.0\n"; return report; } diff --git a/Xero.NetStandard.OAuth2/Client/ExceptionFactory.cs b/Xero.NetStandard.OAuth2/Client/ExceptionFactory.cs index cfc056f4..f8397ff4 100644 --- a/Xero.NetStandard.OAuth2/Client/ExceptionFactory.cs +++ b/Xero.NetStandard.OAuth2/Client/ExceptionFactory.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Client/GlobalConfiguration.cs b/Xero.NetStandard.OAuth2/Client/GlobalConfiguration.cs index 47b966e7..cbf7a23a 100644 --- a/Xero.NetStandard.OAuth2/Client/GlobalConfiguration.cs +++ b/Xero.NetStandard.OAuth2/Client/GlobalConfiguration.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Client/HttpMethod.cs b/Xero.NetStandard.OAuth2/Client/HttpMethod.cs index a63a96b8..2d1feac1 100644 --- a/Xero.NetStandard.OAuth2/Client/HttpMethod.cs +++ b/Xero.NetStandard.OAuth2/Client/HttpMethod.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Client/IApiAccessor.cs b/Xero.NetStandard.OAuth2/Client/IApiAccessor.cs index 6910795f..28230b51 100644 --- a/Xero.NetStandard.OAuth2/Client/IApiAccessor.cs +++ b/Xero.NetStandard.OAuth2/Client/IApiAccessor.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Client/IAsynchronousClient.cs b/Xero.NetStandard.OAuth2/Client/IAsynchronousClient.cs index 00b15e37..3d70e489 100644 --- a/Xero.NetStandard.OAuth2/Client/IAsynchronousClient.cs +++ b/Xero.NetStandard.OAuth2/Client/IAsynchronousClient.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Client/IReadableConfiguration.cs b/Xero.NetStandard.OAuth2/Client/IReadableConfiguration.cs index 08827c7a..04bb6596 100644 --- a/Xero.NetStandard.OAuth2/Client/IReadableConfiguration.cs +++ b/Xero.NetStandard.OAuth2/Client/IReadableConfiguration.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Client/ISynchronousClient.cs b/Xero.NetStandard.OAuth2/Client/ISynchronousClient.cs index c303aeac..7bb3e7d7 100644 --- a/Xero.NetStandard.OAuth2/Client/ISynchronousClient.cs +++ b/Xero.NetStandard.OAuth2/Client/ISynchronousClient.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Client/Multimap.cs b/Xero.NetStandard.OAuth2/Client/Multimap.cs index 6087e2ce..7b99a7ed 100644 --- a/Xero.NetStandard.OAuth2/Client/Multimap.cs +++ b/Xero.NetStandard.OAuth2/Client/Multimap.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Client/OpenAPIDateConverter.cs b/Xero.NetStandard.OAuth2/Client/OpenAPIDateConverter.cs index 10962be4..95f77d7e 100644 --- a/Xero.NetStandard.OAuth2/Client/OpenAPIDateConverter.cs +++ b/Xero.NetStandard.OAuth2/Client/OpenAPIDateConverter.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Client/RequestOptions.cs b/Xero.NetStandard.OAuth2/Client/RequestOptions.cs index 997b2458..999413f5 100644 --- a/Xero.NetStandard.OAuth2/Client/RequestOptions.cs +++ b/Xero.NetStandard.OAuth2/Client/RequestOptions.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Account.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Account.cs index 06389bd5..c8ad0614 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Account.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Account.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/AccountType.cs b/Xero.NetStandard.OAuth2/Model/Accounting/AccountType.cs index bab5dde3..407ddd28 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/AccountType.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/AccountType.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Accounts.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Accounts.cs index fba918f7..326519d0 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Accounts.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Accounts.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/AccountsPayable.cs b/Xero.NetStandard.OAuth2/Model/Accounting/AccountsPayable.cs index 90875e07..1ac8e5f0 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/AccountsPayable.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/AccountsPayable.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -36,13 +36,13 @@ public partial class AccountsPayable : IEquatable, IValidatabl /// Gets or Sets Outstanding /// [DataMember(Name="Outstanding", EmitDefaultValue=false)] - public double? Outstanding { get; set; } + public decimal? Outstanding { get; set; } /// /// Gets or Sets Overdue /// [DataMember(Name="Overdue", EmitDefaultValue=false)] - public double? Overdue { get; set; } + public decimal? Overdue { get; set; } /// /// Returns the string presentation of the object diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/AccountsReceivable.cs b/Xero.NetStandard.OAuth2/Model/Accounting/AccountsReceivable.cs index c21bafeb..488338e1 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/AccountsReceivable.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/AccountsReceivable.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -36,13 +36,13 @@ public partial class AccountsReceivable : IEquatable, IVali /// Gets or Sets Outstanding /// [DataMember(Name="Outstanding", EmitDefaultValue=false)] - public double? Outstanding { get; set; } + public decimal? Outstanding { get; set; } /// /// Gets or Sets Overdue /// [DataMember(Name="Overdue", EmitDefaultValue=false)] - public double? Overdue { get; set; } + public decimal? Overdue { get; set; } /// /// Returns the string presentation of the object diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Address.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Address.cs index ec1f0802..9d2f14e2 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Address.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Address.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Allocation.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Allocation.cs index d53f7a40..04256434 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Allocation.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Allocation.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -50,7 +50,7 @@ public Allocation() /// /// the amount being applied to the invoice [DataMember(Name="Amount", EmitDefaultValue=false)] - public double? Amount { get; set; } + public decimal? Amount { get; set; } /// /// the date the allocation is applied YYYY-MM-DD. diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Allocations.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Allocations.cs index 0b2677f4..6d45c9a2 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Allocations.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Allocations.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Attachment.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Attachment.cs index b5cbc679..24e25eb4 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Attachment.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Attachment.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Attachments.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Attachments.cs index 8ad5c7f8..3d0aa14f 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Attachments.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Attachments.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Balances.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Balances.cs index 9b972f13..6e926029 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Balances.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Balances.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/BankTransaction.cs b/Xero.NetStandard.OAuth2/Model/Accounting/BankTransaction.cs index a36ec8e1..3667b0de 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/BankTransaction.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/BankTransaction.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -193,7 +193,7 @@ public BankTransaction() /// /// Exchange rate to base currency when money is spent or received. e.g.0.7500 Only used for bank transactions in non base currency. If this isn’t specified for non base currency accounts then either the user-defined rate (preference) or the XE.com day rate will be used. Setting currency is only supported on overpayments. [DataMember(Name="CurrencyRate", EmitDefaultValue=false)] - public double? CurrencyRate { get; set; } + public decimal? CurrencyRate { get; set; } /// /// URL link to a source document – shown as “Go to App Name” @@ -207,21 +207,21 @@ public BankTransaction() /// /// Total of bank transaction excluding taxes [DataMember(Name="SubTotal", EmitDefaultValue=false)] - public double? SubTotal { get; set; } + public decimal? SubTotal { get; set; } /// /// Total tax on bank transaction /// /// Total tax on bank transaction [DataMember(Name="TotalTax", EmitDefaultValue=false)] - public double? TotalTax { get; set; } + public decimal? TotalTax { get; set; } /// /// Total of bank transaction tax inclusive /// /// Total of bank transaction tax inclusive [DataMember(Name="Total", EmitDefaultValue=false)] - public double? Total { get; set; } + public decimal? Total { get; set; } /// /// Xero generated unique identifier for bank transaction diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/BankTransactions.cs b/Xero.NetStandard.OAuth2/Model/Accounting/BankTransactions.cs index 192fae52..63ab7228 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/BankTransactions.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/BankTransactions.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/BankTransfer.cs b/Xero.NetStandard.OAuth2/Model/Accounting/BankTransfer.cs index 5c2544be..e830d190 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/BankTransfer.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/BankTransfer.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -57,7 +57,7 @@ public BankTransfer() /// /// amount of the transaction [DataMember(Name="Amount", EmitDefaultValue=false)] - public float? Amount { get; set; } + public decimal? Amount { get; set; } /// /// The date of the Transfer YYYY-MM-DD @@ -79,7 +79,7 @@ public BankTransfer() /// /// The currency rate [DataMember(Name="CurrencyRate", EmitDefaultValue=false)] - public double? CurrencyRate { get; private set; } + public decimal? CurrencyRate { get; private set; } /// /// The Bank Transaction ID for the source account diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/BankTransfers.cs b/Xero.NetStandard.OAuth2/Model/Accounting/BankTransfers.cs index 040a4903..40d42c55 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/BankTransfers.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/BankTransfers.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/BatchPayment.cs b/Xero.NetStandard.OAuth2/Model/Accounting/BatchPayment.cs index 4be472b8..f078e0ae 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/BatchPayment.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/BatchPayment.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -154,7 +154,7 @@ public enum StatusEnum /// /// The amount of the payment. Must be less than or equal to the outstanding amount owing on the invoice e.g. 200.00 [DataMember(Name="Amount", EmitDefaultValue=false)] - public double? Amount { get; set; } + public decimal? Amount { get; set; } /// /// Gets or Sets Payments diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/BatchPaymentDetails.cs b/Xero.NetStandard.OAuth2/Model/Accounting/BatchPaymentDetails.cs index 89022126..732afa1a 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/BatchPaymentDetails.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/BatchPaymentDetails.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/BatchPayments.cs b/Xero.NetStandard.OAuth2/Model/Accounting/BatchPayments.cs index c6ce7599..9a4bd626 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/BatchPayments.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/BatchPayments.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Bill.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Bill.cs index 5cbf905a..fb3f8a34 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Bill.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Bill.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/BrandingTheme.cs b/Xero.NetStandard.OAuth2/Model/Accounting/BrandingTheme.cs index c6e19651..e81de514 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/BrandingTheme.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/BrandingTheme.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/BrandingThemes.cs b/Xero.NetStandard.OAuth2/Model/Accounting/BrandingThemes.cs index 147acf21..4c91d87f 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/BrandingThemes.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/BrandingThemes.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/CISOrgSetting.cs b/Xero.NetStandard.OAuth2/Model/Accounting/CISOrgSetting.cs index 663b9db4..5f9341cd 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/CISOrgSetting.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/CISOrgSetting.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/CISSetting.cs b/Xero.NetStandard.OAuth2/Model/Accounting/CISSetting.cs index 03942d04..fb42f479 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/CISSetting.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/CISSetting.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/CISSettings.cs b/Xero.NetStandard.OAuth2/Model/Accounting/CISSettings.cs index 9352e9cf..e8460c32 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/CISSettings.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/CISSettings.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Contact.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Contact.cs index 283fe6a9..eaf5b753 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Contact.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Contact.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -282,7 +282,7 @@ public enum ContactStatusEnum /// /// The default discount rate for the contact (read only) [DataMember(Name="Discount", EmitDefaultValue=false)] - public double? Discount { get; private set; } + public decimal? Discount { get; private set; } /// /// Gets or Sets Balances diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ContactGroup.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ContactGroup.cs index e18b0f08..0c5464f3 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ContactGroup.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ContactGroup.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ContactGroups.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ContactGroups.cs index 655f237f..99843a34 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ContactGroups.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ContactGroups.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ContactPerson.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ContactPerson.cs index 98d7b161..19d5d569 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ContactPerson.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ContactPerson.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Contacts.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Contacts.cs index 462a72f7..50176f2b 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Contacts.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Contacts.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/CountryCode.cs b/Xero.NetStandard.OAuth2/Model/Accounting/CountryCode.cs index 8b63fbfc..20c7099c 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/CountryCode.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/CountryCode.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/CreditNote.cs b/Xero.NetStandard.OAuth2/Model/Accounting/CreditNote.cs index 6daa2217..39932d8c 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/CreditNote.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/CreditNote.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -146,21 +146,21 @@ public enum StatusEnum /// /// The subtotal of the credit note excluding taxes [DataMember(Name="SubTotal", EmitDefaultValue=false)] - public double? SubTotal { get; set; } + public decimal? SubTotal { get; set; } /// /// The total tax on the credit note /// /// The total tax on the credit note [DataMember(Name="TotalTax", EmitDefaultValue=false)] - public double? TotalTax { get; set; } + public decimal? TotalTax { get; set; } /// /// The total of the Credit Note(subtotal + total tax) /// /// The total of the Credit Note(subtotal + total tax) [DataMember(Name="Total", EmitDefaultValue=false)] - public double? Total { get; set; } + public decimal? Total { get; set; } /// /// UTC timestamp of last update to the credit note @@ -210,14 +210,14 @@ public enum StatusEnum /// /// The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used [DataMember(Name="CurrencyRate", EmitDefaultValue=false)] - public double? CurrencyRate { get; set; } + public decimal? CurrencyRate { get; set; } /// /// The remaining credit balance on the Credit Note /// /// The remaining credit balance on the Credit Note [DataMember(Name="RemainingCredit", EmitDefaultValue=false)] - public double? RemainingCredit { get; set; } + public decimal? RemainingCredit { get; set; } /// /// See Allocations diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/CreditNotes.cs b/Xero.NetStandard.OAuth2/Model/Accounting/CreditNotes.cs index b6bc6aa9..e05ba3ef 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/CreditNotes.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/CreditNotes.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Currencies.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Currencies.cs index 164a18ce..7abbeb6e 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Currencies.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Currencies.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Currency.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Currency.cs index 4af50f49..0f3b1b33 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Currency.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Currency.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/CurrencyCode.cs b/Xero.NetStandard.OAuth2/Model/Accounting/CurrencyCode.cs index 9b44cbc9..1591d06c 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/CurrencyCode.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/CurrencyCode.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Element.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Element.cs index c43b67c1..bda2a704 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Element.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Element.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Employee.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Employee.cs index 5b737cc4..b42d63e1 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Employee.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Employee.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Employees.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Employees.cs index 192f9ec7..b5abad74 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Employees.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Employees.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Error.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Error.cs index 2e397f49..14562caf 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Error.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Error.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ExpenseClaim.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ExpenseClaim.cs index ed0fe737..f1cb088a 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ExpenseClaim.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ExpenseClaim.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -100,7 +100,7 @@ public enum StatusEnum /// /// Gets or Sets Receipts /// - [DataMember(Name="Receipts", EmitDefaultValue=true)] + [DataMember(Name="Receipts", EmitDefaultValue=false)] public List Receipts { get; set; } /// @@ -115,27 +115,27 @@ public enum StatusEnum /// /// The total of an expense claim being paid [DataMember(Name="Total", EmitDefaultValue=false)] - public double? Total { get; private set; } + public decimal? Total { get; private set; } /// /// The amount due to be paid for an expense claim /// /// The amount due to be paid for an expense claim [DataMember(Name="AmountDue", EmitDefaultValue=false)] - public double? AmountDue { get; private set; } + public decimal? AmountDue { get; private set; } /// /// The amount still to pay for an expense claim /// /// The amount still to pay for an expense claim [DataMember(Name="AmountPaid", EmitDefaultValue=false)] - public double? AmountPaid { get; private set; } + public decimal? AmountPaid { get; private set; } /// /// The date when the expense claim is due to be paid YYYY-MM-DD /// /// The date when the expense claim is due to be paid YYYY-MM-DD - [DataMember(Name="PaymentDueDate", EmitDefaultValue=true)] + [DataMember(Name="PaymentDueDate", EmitDefaultValue=false)] [JsonConverter(typeof(OpenAPIDateConverter))] public DateTime? PaymentDueDate { get; private set; } @@ -151,7 +151,7 @@ public enum StatusEnum /// The Xero identifier for the Receipt e.g. e59a2c7f-1306-4078-a0f3-73537afcbba9 /// /// The Xero identifier for the Receipt e.g. e59a2c7f-1306-4078-a0f3-73537afcbba9 - [DataMember(Name="ReceiptID", EmitDefaultValue=true)] + [DataMember(Name="ReceiptID", EmitDefaultValue=false)] public Guid? ReceiptID { get; set; } /// diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ExpenseClaims.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ExpenseClaims.cs index baddb3f6..943c546d 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ExpenseClaims.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ExpenseClaims.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ExternalLink.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ExternalLink.cs index 28070851..4f522436 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ExternalLink.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ExternalLink.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/HistoryRecord.cs b/Xero.NetStandard.OAuth2/Model/Accounting/HistoryRecord.cs index 573d5078..8e73ef04 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/HistoryRecord.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/HistoryRecord.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/HistoryRecords.cs b/Xero.NetStandard.OAuth2/Model/Accounting/HistoryRecords.cs index b1be029d..eae50c35 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/HistoryRecords.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/HistoryRecords.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Invoice.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Invoice.cs index a0a05021..147e8e96 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Invoice.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Invoice.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -218,7 +218,7 @@ public enum StatusEnum /// /// The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used. (max length = [18].[6]) [DataMember(Name="CurrencyRate", EmitDefaultValue=false)] - public double? CurrencyRate { get; set; } + public decimal? CurrencyRate { get; set; } /// /// Boolean to set whether the invoice in the Xero app should be marked as “sent”. This can be set only on invoices that have been approved @@ -248,35 +248,35 @@ public enum StatusEnum /// /// CIS deduction for UK contractors [DataMember(Name="CISDeduction", EmitDefaultValue=false)] - public double? CISDeduction { get; private set; } + public decimal? CISDeduction { get; private set; } /// /// Total of invoice excluding taxes /// /// Total of invoice excluding taxes [DataMember(Name="SubTotal", EmitDefaultValue=false)] - public double? SubTotal { get; private set; } + public decimal? SubTotal { get; private set; } /// /// Total tax on invoice /// /// Total tax on invoice [DataMember(Name="TotalTax", EmitDefaultValue=false)] - public double? TotalTax { get; private set; } + public decimal? TotalTax { get; private set; } /// /// Total of Invoice tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts /// /// Total of Invoice tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts [DataMember(Name="Total", EmitDefaultValue=false)] - public double? Total { get; private set; } + public decimal? Total { get; private set; } /// /// Total of discounts applied on the invoice line items /// /// Total of discounts applied on the invoice line items [DataMember(Name="TotalDiscount", EmitDefaultValue=false)] - public double? TotalDiscount { get; private set; } + public decimal? TotalDiscount { get; private set; } /// /// Xero generated unique identifier for invoice @@ -325,14 +325,14 @@ public enum StatusEnum /// /// Amount remaining to be paid on invoice [DataMember(Name="AmountDue", EmitDefaultValue=false)] - public double? AmountDue { get; private set; } + public decimal? AmountDue { get; private set; } /// /// Sum of payments received for invoice /// /// Sum of payments received for invoice [DataMember(Name="AmountPaid", EmitDefaultValue=false)] - public double? AmountPaid { get; private set; } + public decimal? AmountPaid { get; private set; } /// /// The date the invoice was fully paid. Only returned on fully paid invoices @@ -347,7 +347,7 @@ public enum StatusEnum /// /// Sum of all credit notes, over-payments and pre-payments applied to invoice [DataMember(Name="AmountCredited", EmitDefaultValue=false)] - public double? AmountCredited { get; private set; } + public decimal? AmountCredited { get; private set; } /// /// Last modified date UTC format diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/InvoiceReminder.cs b/Xero.NetStandard.OAuth2/Model/Accounting/InvoiceReminder.cs index cb0f7079..367962a6 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/InvoiceReminder.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/InvoiceReminder.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/InvoiceReminders.cs b/Xero.NetStandard.OAuth2/Model/Accounting/InvoiceReminders.cs index 6c2a8048..e3c54002 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/InvoiceReminders.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/InvoiceReminders.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Invoices.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Invoices.cs index c7ddbeae..0e6a03a3 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Invoices.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Invoices.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Item.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Item.cs index 76ca8895..5172c0a6 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Item.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Item.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -113,14 +113,14 @@ public Item() /// /// The value of the item on hand. Calculated using average cost accounting. [DataMember(Name="TotalCostPool", EmitDefaultValue=false)] - public double? TotalCostPool { get; set; } + public decimal? TotalCostPool { get; set; } /// /// The quantity of the item on hand /// /// The quantity of the item on hand [DataMember(Name="QuantityOnHand", EmitDefaultValue=false)] - public float? QuantityOnHand { get; set; } + public decimal? QuantityOnHand { get; set; } /// /// Last modified date in UTC format diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Items.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Items.cs index 045c7a6e..e6087e43 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Items.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Items.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Journal.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Journal.cs index 0e66d50e..4a7fb858 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Journal.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Journal.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/JournalLine.cs b/Xero.NetStandard.OAuth2/Model/Accounting/JournalLine.cs index 098a5f87..68cfa9cb 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/JournalLine.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/JournalLine.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -77,21 +77,21 @@ public partial class JournalLine : IEquatable, IValidatableObject /// /// Net amount of journal line. This will be a positive value for a debit and negative for a credit [DataMember(Name="NetAmount", EmitDefaultValue=false)] - public double? NetAmount { get; set; } + public decimal? NetAmount { get; set; } /// /// Gross amount of journal line (NetAmount + TaxAmount). /// /// Gross amount of journal line (NetAmount + TaxAmount). [DataMember(Name="GrossAmount", EmitDefaultValue=false)] - public double? GrossAmount { get; set; } + public decimal? GrossAmount { get; set; } /// /// Total tax on a journal line /// /// Total tax on a journal line [DataMember(Name="TaxAmount", EmitDefaultValue=false)] - public double? TaxAmount { get; private set; } + public decimal? TaxAmount { get; private set; } /// /// The tax type from TaxRates diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Journals.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Journals.cs index f9f1164c..b41e67b7 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Journals.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Journals.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/LineAmountTypes.cs b/Xero.NetStandard.OAuth2/Model/Accounting/LineAmountTypes.cs index a0e8a73b..22eb1e55 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/LineAmountTypes.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/LineAmountTypes.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/LineItem.cs b/Xero.NetStandard.OAuth2/Model/Accounting/LineItem.cs index c28be719..11406e46 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/LineItem.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/LineItem.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -51,14 +51,14 @@ public partial class LineItem : IEquatable, IValidatableObject /// /// LineItem Quantity [DataMember(Name="Quantity", EmitDefaultValue=false)] - public float? Quantity { get; set; } + public decimal? Quantity { get; set; } /// /// LineItem Unit Amount /// /// LineItem Unit Amount [DataMember(Name="UnitAmount", EmitDefaultValue=false)] - public float? UnitAmount { get; set; } + public decimal? UnitAmount { get; set; } /// /// See Items @@ -86,14 +86,14 @@ public partial class LineItem : IEquatable, IValidatableObject /// /// The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated <TaxAmount> is not correct. [DataMember(Name="TaxAmount", EmitDefaultValue=false)] - public double? TaxAmount { get; set; } + public decimal? TaxAmount { get; set; } /// /// If you wish to omit either of 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 a DiscountRate has been used . i.e LineAmount = Quantity * Unit Amount * ((100 – DiscountRate)/100) /// /// If you wish to omit either of 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 a DiscountRate has been used . i.e LineAmount = Quantity * Unit Amount * ((100 – DiscountRate)/100) [DataMember(Name="LineAmount", EmitDefaultValue=false)] - public double? LineAmount { get; set; } + public decimal? LineAmount { get; set; } /// /// Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 <TrackingCategory> elements. @@ -107,14 +107,14 @@ public partial class LineItem : IEquatable, IValidatableObject /// /// Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts [DataMember(Name="DiscountRate", EmitDefaultValue=false)] - public double? DiscountRate { get; set; } + public decimal? DiscountRate { get; set; } /// /// Discount amount being applied to a line item. Only supported on ACCREC invoices - ACCPAY invoices and credit notes in Xero do not support discounts. /// /// Discount amount being applied to a line item. Only supported on ACCREC invoices - ACCPAY invoices and credit notes in Xero do not support discounts. [DataMember(Name="DiscountAmount", EmitDefaultValue=false)] - public double? DiscountAmount { get; set; } + public decimal? DiscountAmount { get; set; } /// /// The Xero identifier for a Repeating Invoice diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/LineItemTracking.cs b/Xero.NetStandard.OAuth2/Model/Accounting/LineItemTracking.cs index 1b373c9f..6d6a5c69 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/LineItemTracking.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/LineItemTracking.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/LinkedTransaction.cs b/Xero.NetStandard.OAuth2/Model/Accounting/LinkedTransaction.cs index 90b61de3..96049afc 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/LinkedTransaction.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/LinkedTransaction.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/LinkedTransactions.cs b/Xero.NetStandard.OAuth2/Model/Accounting/LinkedTransactions.cs index 323ed6f6..64bd49f4 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/LinkedTransactions.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/LinkedTransactions.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ManualJournal.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ManualJournal.cs index 09bfe40c..fe063663 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ManualJournal.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ManualJournal.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ManualJournalLine.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ManualJournalLine.cs index a3cfd34a..ece23475 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ManualJournalLine.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ManualJournalLine.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -37,7 +37,7 @@ public partial class ManualJournalLine : IEquatable, IValida /// /// total for line. Debits are positive, credits are negative value [DataMember(Name="LineAmount", EmitDefaultValue=false)] - public double? LineAmount { get; set; } + public decimal? LineAmount { get; set; } /// /// See Accounts @@ -72,7 +72,7 @@ public partial class ManualJournalLine : IEquatable, IValida /// /// The calculated tax amount based on the TaxType and LineAmount [DataMember(Name="TaxAmount", EmitDefaultValue=false)] - public double? TaxAmount { get; private set; } + public decimal? TaxAmount { get; private set; } /// /// is the line blank diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ManualJournals.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ManualJournals.cs index efc6e30a..331c3c94 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ManualJournals.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ManualJournals.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/OnlineInvoice.cs b/Xero.NetStandard.OAuth2/Model/Accounting/OnlineInvoice.cs index 4ee4bf00..bfbc452e 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/OnlineInvoice.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/OnlineInvoice.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/OnlineInvoices.cs b/Xero.NetStandard.OAuth2/Model/Accounting/OnlineInvoices.cs index 5a3628eb..30c0377f 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/OnlineInvoices.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/OnlineInvoices.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs index e6539366..90be81a6 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Organisations.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Organisations.cs index c0a9bd40..47c02f0e 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Organisations.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Organisations.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Overpayment.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Overpayment.cs index 5013dfb1..e77f224b 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Overpayment.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Overpayment.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -134,21 +134,21 @@ public enum StatusEnum /// /// The subtotal of the overpayment excluding taxes [DataMember(Name="SubTotal", EmitDefaultValue=false)] - public double? SubTotal { get; set; } + public decimal? SubTotal { get; set; } /// /// The total tax on the overpayment /// /// The total tax on the overpayment [DataMember(Name="TotalTax", EmitDefaultValue=false)] - public double? TotalTax { get; set; } + public decimal? TotalTax { get; set; } /// /// The total of the overpayment (subtotal + total tax) /// /// The total of the overpayment (subtotal + total tax) [DataMember(Name="Total", EmitDefaultValue=false)] - public double? Total { get; set; } + public decimal? Total { get; set; } /// /// UTC timestamp of last update to the overpayment @@ -169,14 +169,14 @@ public enum StatusEnum /// /// The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used [DataMember(Name="CurrencyRate", EmitDefaultValue=false)] - public double? CurrencyRate { get; set; } + public decimal? CurrencyRate { get; set; } /// /// The remaining credit balance on the overpayment /// /// The remaining credit balance on the overpayment [DataMember(Name="RemainingCredit", EmitDefaultValue=false)] - public double? RemainingCredit { get; set; } + public decimal? RemainingCredit { get; set; } /// /// See Allocations diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Overpayments.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Overpayments.cs index 6ffb0be0..38132f85 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Overpayments.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Overpayments.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Payment.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Payment.cs index bf1eec7c..11346658 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Payment.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Payment.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -186,14 +186,14 @@ public enum PaymentTypeEnum /// /// Exchange rate when payment is received. Only used for non base currency invoices and credit notes e.g. 0.7500 [DataMember(Name="CurrencyRate", EmitDefaultValue=false)] - public double? CurrencyRate { get; set; } + public decimal? CurrencyRate { get; set; } /// /// The amount of the payment. Must be less than or equal to the outstanding amount owing on the invoice e.g. 200.00 /// /// The amount of the payment. Must be less than or equal to the outstanding amount owing on the invoice e.g. 200.00 [DataMember(Name="Amount", EmitDefaultValue=false)] - public double? Amount { get; set; } + public decimal? Amount { get; set; } /// /// An optional description for the payment e.g. Direct Debit diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/PaymentDelete.cs b/Xero.NetStandard.OAuth2/Model/Accounting/PaymentDelete.cs index d87f53ec..fa77ffee 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/PaymentDelete.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/PaymentDelete.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/PaymentService.cs b/Xero.NetStandard.OAuth2/Model/Accounting/PaymentService.cs index 445f500c..18422e1a 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/PaymentService.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/PaymentService.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/PaymentServices.cs b/Xero.NetStandard.OAuth2/Model/Accounting/PaymentServices.cs index c605e3c1..c22422fb 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/PaymentServices.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/PaymentServices.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/PaymentTerm.cs b/Xero.NetStandard.OAuth2/Model/Accounting/PaymentTerm.cs index 6f0b51f3..ba870498 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/PaymentTerm.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/PaymentTerm.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/PaymentTermType.cs b/Xero.NetStandard.OAuth2/Model/Accounting/PaymentTermType.cs index 2f8f8bbc..c4fccf42 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/PaymentTermType.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/PaymentTermType.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Payments.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Payments.cs index 0a19f7f2..a2ad2864 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Payments.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Payments.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Phone.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Phone.cs index b7c84cb9..54ebadbf 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Phone.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Phone.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Prepayment.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Prepayment.cs index d72cebd4..0628999f 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Prepayment.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Prepayment.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -140,21 +140,21 @@ public enum StatusEnum /// /// The subtotal of the prepayment excluding taxes [DataMember(Name="SubTotal", EmitDefaultValue=false)] - public double? SubTotal { get; set; } + public decimal? SubTotal { get; set; } /// /// The total tax on the prepayment /// /// The total tax on the prepayment [DataMember(Name="TotalTax", EmitDefaultValue=false)] - public double? TotalTax { get; set; } + public decimal? TotalTax { get; set; } /// /// The total of the prepayment(subtotal + total tax) /// /// The total of the prepayment(subtotal + total tax) [DataMember(Name="Total", EmitDefaultValue=false)] - public double? Total { get; set; } + public decimal? Total { get; set; } /// /// Returns Invoice number field. Reference field isn't available. @@ -182,14 +182,14 @@ public enum StatusEnum /// /// The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used [DataMember(Name="CurrencyRate", EmitDefaultValue=false)] - public double? CurrencyRate { get; set; } + public decimal? CurrencyRate { get; set; } /// /// The remaining credit balance on the prepayment /// /// The remaining credit balance on the prepayment [DataMember(Name="RemainingCredit", EmitDefaultValue=false)] - public double? RemainingCredit { get; set; } + public decimal? RemainingCredit { get; set; } /// /// See Allocations diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Prepayments.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Prepayments.cs index 1fbe47db..9bcede18 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Prepayments.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Prepayments.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Purchase.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Purchase.cs index a0dd99a6..61897f47 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Purchase.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Purchase.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -37,7 +37,7 @@ public partial class Purchase : IEquatable, IValidatableObject /// /// Unit Price of the item. By default UnitPrice is rounded to two decimal places. You can use 4 decimal places by adding the unitdp=4 querystring parameter to your request. [DataMember(Name="UnitPrice", EmitDefaultValue=false)] - public float? UnitPrice { get; set; } + public decimal? UnitPrice { get; set; } /// /// Default account code to be used for purchased/sale. Not applicable to the purchase details of tracked items diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/PurchaseOrder.cs b/Xero.NetStandard.OAuth2/Model/Accounting/PurchaseOrder.cs index f4fc4ea9..bbeb0873 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/PurchaseOrder.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/PurchaseOrder.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -192,35 +192,35 @@ public enum StatusEnum /// /// The currency rate for a multicurrency purchase order. If no rate is specified, the XE.com day rate is used. [DataMember(Name="CurrencyRate", EmitDefaultValue=false)] - public double? CurrencyRate { get; set; } + public decimal? CurrencyRate { get; set; } /// /// Total of purchase order excluding taxes /// /// Total of purchase order excluding taxes [DataMember(Name="SubTotal", EmitDefaultValue=false)] - public double? SubTotal { get; private set; } + public decimal? SubTotal { get; private set; } /// /// Total tax on purchase order /// /// Total tax on purchase order [DataMember(Name="TotalTax", EmitDefaultValue=false)] - public double? TotalTax { get; private set; } + public decimal? TotalTax { get; private set; } /// /// Total of Purchase Order tax inclusive (i.e. SubTotal + TotalTax) /// /// Total of Purchase Order tax inclusive (i.e. SubTotal + TotalTax) [DataMember(Name="Total", EmitDefaultValue=false)] - public double? Total { get; private set; } + public decimal? Total { get; private set; } /// /// Total of discounts applied on the purchase order line items /// /// Total of discounts applied on the purchase order line items [DataMember(Name="TotalDiscount", EmitDefaultValue=false)] - public double? TotalDiscount { get; private set; } + public decimal? TotalDiscount { get; private set; } /// /// boolean to indicate if a purchase order has an attachment diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/PurchaseOrders.cs b/Xero.NetStandard.OAuth2/Model/Accounting/PurchaseOrders.cs index 4dff0bf5..ac392f2a 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/PurchaseOrders.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/PurchaseOrders.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Quote.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Quote.cs index 4a0dead5..de2d8a86 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Quote.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Quote.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -130,28 +130,28 @@ public partial class Quote : IEquatable, IValidatableObject /// /// Total of quote excluding taxes. [DataMember(Name="SubTotal", EmitDefaultValue=false)] - public double? SubTotal { get; private set; } + public decimal? SubTotal { get; private set; } /// /// Total tax on quote /// /// Total tax on quote [DataMember(Name="TotalTax", EmitDefaultValue=false)] - public double? TotalTax { get; private set; } + public decimal? TotalTax { get; private set; } /// /// Total of Quote tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts /// /// Total of Quote tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts [DataMember(Name="Total", EmitDefaultValue=false)] - public double? Total { get; private set; } + public decimal? Total { get; private set; } /// /// Total of discounts applied on the quote line items /// /// Total of discounts applied on the quote line items [DataMember(Name="TotalDiscount", EmitDefaultValue=false)] - public double? TotalDiscount { get; private set; } + public decimal? TotalDiscount { get; private set; } /// /// Title text for the quote diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/QuoteLineAmountTypes.cs b/Xero.NetStandard.OAuth2/Model/Accounting/QuoteLineAmountTypes.cs index 9ee5cf45..9be952d9 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/QuoteLineAmountTypes.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/QuoteLineAmountTypes.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/QuoteStatusCodes.cs b/Xero.NetStandard.OAuth2/Model/Accounting/QuoteStatusCodes.cs index f2c9d72f..ac631233 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/QuoteStatusCodes.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/QuoteStatusCodes.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Quotes.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Quotes.cs index 547e9c99..1244bb30 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Quotes.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Quotes.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Receipt.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Receipt.cs index 76bc67af..c88593e4 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Receipt.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Receipt.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -120,21 +120,21 @@ public enum StatusEnum /// /// Total of receipt excluding taxes [DataMember(Name="SubTotal", EmitDefaultValue=false)] - public double? SubTotal { get; set; } + public decimal? SubTotal { get; set; } /// /// Total tax on receipt /// /// Total tax on receipt [DataMember(Name="TotalTax", EmitDefaultValue=false)] - public double? TotalTax { get; set; } + public decimal? TotalTax { get; set; } /// /// Total of receipt tax inclusive (i.e. SubTotal + TotalTax) /// /// Total of receipt tax inclusive (i.e. SubTotal + TotalTax) [DataMember(Name="Total", EmitDefaultValue=false)] - public double? Total { get; set; } + public decimal? Total { get; set; } /// /// Xero generated unique identifier for receipt diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Receipts.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Receipts.cs index ceda176d..0ee47777 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Receipts.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Receipts.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/RepeatingInvoice.cs b/Xero.NetStandard.OAuth2/Model/Accounting/RepeatingInvoice.cs index be6fd93b..43aaac89 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/RepeatingInvoice.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/RepeatingInvoice.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -140,21 +140,21 @@ public enum StatusEnum /// /// Total of invoice excluding taxes [DataMember(Name="SubTotal", EmitDefaultValue=false)] - public double? SubTotal { get; set; } + public decimal? SubTotal { get; set; } /// /// Total tax on invoice /// /// Total tax on invoice [DataMember(Name="TotalTax", EmitDefaultValue=false)] - public double? TotalTax { get; set; } + public decimal? TotalTax { get; set; } /// /// Total of Invoice tax inclusive (i.e. SubTotal + TotalTax) /// /// Total of Invoice tax inclusive (i.e. SubTotal + TotalTax) [DataMember(Name="Total", EmitDefaultValue=false)] - public double? Total { get; set; } + public decimal? Total { get; set; } /// /// Xero generated unique identifier for repeating invoice template diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/RepeatingInvoices.cs b/Xero.NetStandard.OAuth2/Model/Accounting/RepeatingInvoices.cs index caa28c86..b0968211 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/RepeatingInvoices.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/RepeatingInvoices.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Report.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Report.cs index e4319551..487c4d67 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Report.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Report.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ReportAttribute.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ReportAttribute.cs index 48255f1f..1df40bca 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ReportAttribute.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ReportAttribute.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ReportCell.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ReportCell.cs index e36023f4..e59bcbb0 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ReportCell.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ReportCell.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ReportFields.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ReportFields.cs index ee0be55f..a02c2063 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ReportFields.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ReportFields.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ReportRow.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ReportRow.cs index 5a9c36d6..c299d9bc 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ReportRow.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ReportRow.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ReportRows.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ReportRows.cs index f748176f..4fce0e35 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ReportRows.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ReportRows.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ReportWithRow.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ReportWithRow.cs index fe3ea979..fbe3d5cb 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ReportWithRow.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ReportWithRow.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ReportWithRows.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ReportWithRows.cs index f21da472..9b380058 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ReportWithRows.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ReportWithRows.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Reports.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Reports.cs index 31a970e4..7e7e726a 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Reports.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Reports.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/RequestEmpty.cs b/Xero.NetStandard.OAuth2/Model/Accounting/RequestEmpty.cs index a400feaf..14efef1c 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/RequestEmpty.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/RequestEmpty.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/RowType.cs b/Xero.NetStandard.OAuth2/Model/Accounting/RowType.cs index bdb85ef1..e35f1657 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/RowType.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/RowType.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/SalesTrackingCategory.cs b/Xero.NetStandard.OAuth2/Model/Accounting/SalesTrackingCategory.cs index 6158a64b..0b74da85 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/SalesTrackingCategory.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/SalesTrackingCategory.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Schedule.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Schedule.cs index e082f992..fe9f4252 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Schedule.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Schedule.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/TaxComponent.cs b/Xero.NetStandard.OAuth2/Model/Accounting/TaxComponent.cs index a4fa5154..eb935540 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/TaxComponent.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/TaxComponent.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -44,7 +44,7 @@ public partial class TaxComponent : IEquatable, IValidatableObjec /// /// Tax Rate (up to 4dp) [DataMember(Name="Rate", EmitDefaultValue=false)] - public double? Rate { get; set; } + public decimal? Rate { get; set; } /// /// Boolean to describe if Tax rate is compounded. diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/TaxRate.cs b/Xero.NetStandard.OAuth2/Model/Accounting/TaxRate.cs index 0230d633..25ef23d5 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/TaxRate.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/TaxRate.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -471,14 +471,14 @@ public enum ReportTaxTypeEnum /// /// Tax Rate (decimal to 4dp) e.g 12.5000 [DataMember(Name="DisplayTaxRate", EmitDefaultValue=false)] - public double? DisplayTaxRate { get; private set; } + public decimal? DisplayTaxRate { get; private set; } /// /// Effective Tax Rate (decimal to 4dp) e.g 12.5000 /// /// Effective Tax Rate (decimal to 4dp) e.g 12.5000 [DataMember(Name="EffectiveRate", EmitDefaultValue=false)] - public double? EffectiveRate { get; private set; } + public decimal? EffectiveRate { get; private set; } /// /// Returns the string presentation of the object diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/TaxRates.cs b/Xero.NetStandard.OAuth2/Model/Accounting/TaxRates.cs index b61f9c16..e8a80dfc 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/TaxRates.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/TaxRates.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/TaxType.cs b/Xero.NetStandard.OAuth2/Model/Accounting/TaxType.cs index 775a8e26..d9ee3307 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/TaxType.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/TaxType.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/TenNinteyNineContact.cs b/Xero.NetStandard.OAuth2/Model/Accounting/TenNinteyNineContact.cs index 98275f62..36c8bce3 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/TenNinteyNineContact.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/TenNinteyNineContact.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -37,91 +37,91 @@ public partial class TenNinteyNineContact : IEquatable, I /// /// Box 1 on 1099 Form [DataMember(Name="Box1", EmitDefaultValue=false)] - public double? Box1 { get; set; } + public decimal? Box1 { get; set; } /// /// Box 2 on 1099 Form /// /// Box 2 on 1099 Form [DataMember(Name="Box2", EmitDefaultValue=false)] - public double? Box2 { get; set; } + public decimal? Box2 { get; set; } /// /// Box 3 on 1099 Form /// /// Box 3 on 1099 Form [DataMember(Name="Box3", EmitDefaultValue=false)] - public double? Box3 { get; set; } + public decimal? Box3 { get; set; } /// /// Box 4 on 1099 Form /// /// Box 4 on 1099 Form [DataMember(Name="Box4", EmitDefaultValue=false)] - public double? Box4 { get; set; } + public decimal? Box4 { get; set; } /// /// Box 5 on 1099 Form /// /// Box 5 on 1099 Form [DataMember(Name="Box5", EmitDefaultValue=false)] - public double? Box5 { get; set; } + public decimal? Box5 { get; set; } /// /// Box 6 on 1099 Form /// /// Box 6 on 1099 Form [DataMember(Name="Box6", EmitDefaultValue=false)] - public double? Box6 { get; set; } + public decimal? Box6 { get; set; } /// /// Box 7 on 1099 Form /// /// Box 7 on 1099 Form [DataMember(Name="Box7", EmitDefaultValue=false)] - public double? Box7 { get; set; } + public decimal? Box7 { get; set; } /// /// Box 8 on 1099 Form /// /// Box 8 on 1099 Form [DataMember(Name="Box8", EmitDefaultValue=false)] - public double? Box8 { get; set; } + public decimal? Box8 { get; set; } /// /// Box 9 on 1099 Form /// /// Box 9 on 1099 Form [DataMember(Name="Box9", EmitDefaultValue=false)] - public double? Box9 { get; set; } + public decimal? Box9 { get; set; } /// /// Box 10 on 1099 Form /// /// Box 10 on 1099 Form [DataMember(Name="Box10", EmitDefaultValue=false)] - public double? Box10 { get; set; } + public decimal? Box10 { get; set; } /// /// Box 11 on 1099 Form /// /// Box 11 on 1099 Form [DataMember(Name="Box11", EmitDefaultValue=false)] - public double? Box11 { get; set; } + public decimal? Box11 { get; set; } /// /// Box 13 on 1099 Form /// /// Box 13 on 1099 Form [DataMember(Name="Box13", EmitDefaultValue=false)] - public double? Box13 { get; set; } + public decimal? Box13 { get; set; } /// /// Box 14 on 1099 Form /// /// Box 14 on 1099 Form [DataMember(Name="Box14", EmitDefaultValue=false)] - public double? Box14 { get; set; } + public decimal? Box14 { get; set; } /// /// Contact name on 1099 Form diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/TimeZone.cs b/Xero.NetStandard.OAuth2/Model/Accounting/TimeZone.cs index ca0d07cd..98648b95 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/TimeZone.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/TimeZone.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/TrackingCategories.cs b/Xero.NetStandard.OAuth2/Model/Accounting/TrackingCategories.cs index 0d3ca33a..75831a16 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/TrackingCategories.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/TrackingCategories.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/TrackingCategory.cs b/Xero.NetStandard.OAuth2/Model/Accounting/TrackingCategory.cs index d17bb16a..4bee98c0 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/TrackingCategory.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/TrackingCategory.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/TrackingOption.cs b/Xero.NetStandard.OAuth2/Model/Accounting/TrackingOption.cs index 8762c4ca..cdd16710 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/TrackingOption.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/TrackingOption.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/TrackingOptions.cs b/Xero.NetStandard.OAuth2/Model/Accounting/TrackingOptions.cs index 576f994c..4e43e945 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/TrackingOptions.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/TrackingOptions.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/User.cs b/Xero.NetStandard.OAuth2/Model/Accounting/User.cs index 43e9226b..79f80ef6 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/User.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/User.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Users.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Users.cs index 70108f04..7e0bdaf7 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Users.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Users.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/ValidationError.cs b/Xero.NetStandard.OAuth2/Model/Accounting/ValidationError.cs index f0a5f05e..91296cd7 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/ValidationError.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/ValidationError.cs @@ -3,7 +3,7 @@ * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Asset/Asset.cs b/Xero.NetStandard.OAuth2/Model/Asset/Asset.cs index 0cd8c9cf..577575ed 100644 --- a/Xero.NetStandard.OAuth2/Model/Asset/Asset.cs +++ b/Xero.NetStandard.OAuth2/Model/Asset/Asset.cs @@ -3,7 +3,7 @@ * * This is the Xero Assets API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -85,14 +85,14 @@ public Asset() /// /// The purchase price of the asset [DataMember(Name="purchasePrice", EmitDefaultValue=false)] - public float? PurchasePrice { get; set; } + public decimal? PurchasePrice { get; set; } /// /// The price the asset was disposed at /// /// The price the asset was disposed at [DataMember(Name="disposalPrice", EmitDefaultValue=false)] - public float? DisposalPrice { get; set; } + public decimal? DisposalPrice { get; set; } /// /// The date the asset’s warranty expires (if needed) YYYY-MM-DD @@ -132,7 +132,7 @@ public Asset() /// /// The accounting value of the asset [DataMember(Name="accountingBookValue", EmitDefaultValue=false)] - public float? AccountingBookValue { get; set; } + public decimal? AccountingBookValue { get; set; } /// /// Boolean to indicate whether delete is enabled diff --git a/Xero.NetStandard.OAuth2/Model/Asset/AssetStatus.cs b/Xero.NetStandard.OAuth2/Model/Asset/AssetStatus.cs index 9612f29b..d72ed0cb 100644 --- a/Xero.NetStandard.OAuth2/Model/Asset/AssetStatus.cs +++ b/Xero.NetStandard.OAuth2/Model/Asset/AssetStatus.cs @@ -3,7 +3,7 @@ * * This is the Xero Assets API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Asset/AssetStatusQueryParam.cs b/Xero.NetStandard.OAuth2/Model/Asset/AssetStatusQueryParam.cs index 4c350031..ac5c37cc 100644 --- a/Xero.NetStandard.OAuth2/Model/Asset/AssetStatusQueryParam.cs +++ b/Xero.NetStandard.OAuth2/Model/Asset/AssetStatusQueryParam.cs @@ -3,7 +3,7 @@ * * This is the Xero Assets API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Asset/AssetType.cs b/Xero.NetStandard.OAuth2/Model/Asset/AssetType.cs index fa486714..91a2a4fa 100644 --- a/Xero.NetStandard.OAuth2/Model/Asset/AssetType.cs +++ b/Xero.NetStandard.OAuth2/Model/Asset/AssetType.cs @@ -3,7 +3,7 @@ * * This is the Xero Assets API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Asset/Assets.cs b/Xero.NetStandard.OAuth2/Model/Asset/Assets.cs index ef7adb6f..6d77021f 100644 --- a/Xero.NetStandard.OAuth2/Model/Asset/Assets.cs +++ b/Xero.NetStandard.OAuth2/Model/Asset/Assets.cs @@ -3,7 +3,7 @@ * * This is the Xero Assets API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Asset/BookDepreciationDetail.cs b/Xero.NetStandard.OAuth2/Model/Asset/BookDepreciationDetail.cs index ea84b1ab..adc22dbf 100644 --- a/Xero.NetStandard.OAuth2/Model/Asset/BookDepreciationDetail.cs +++ b/Xero.NetStandard.OAuth2/Model/Asset/BookDepreciationDetail.cs @@ -3,7 +3,7 @@ * * This is the Xero Assets API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -37,14 +37,14 @@ public partial class BookDepreciationDetail : IEquatable /// When an asset is disposed, this will be the sell price minus the purchase price if a profit was made. [DataMember(Name="currentCapitalGain", EmitDefaultValue=false)] - public float? CurrentCapitalGain { get; set; } + public decimal? CurrentCapitalGain { get; set; } /// /// When an asset is disposed, this will be the lowest one of sell price or purchase price, minus the current book value. /// /// When an asset is disposed, this will be the lowest one of sell price or purchase price, minus the current book value. [DataMember(Name="currentGainLoss", EmitDefaultValue=false)] - public float? CurrentGainLoss { get; set; } + public decimal? CurrentGainLoss { get; set; } /// /// YYYY-MM-DD @@ -59,28 +59,28 @@ public partial class BookDepreciationDetail : IEquatable /// The value of the asset you want to depreciate, if this is less than the cost of the asset. [DataMember(Name="costLimit", EmitDefaultValue=false)] - public float? CostLimit { get; set; } + public decimal? CostLimit { get; set; } /// /// The value of the asset remaining when you've fully depreciated it. /// /// The value of the asset remaining when you've fully depreciated it. [DataMember(Name="residualValue", EmitDefaultValue=false)] - public float? ResidualValue { get; set; } + public decimal? ResidualValue { get; set; } /// /// All depreciation prior to the current financial year. /// /// All depreciation prior to the current financial year. [DataMember(Name="priorAccumDepreciationAmount", EmitDefaultValue=false)] - public float? PriorAccumDepreciationAmount { get; set; } + public decimal? PriorAccumDepreciationAmount { get; set; } /// /// All depreciation occurring in the current financial year. /// /// All depreciation occurring in the current financial year. [DataMember(Name="currentAccumDepreciationAmount", EmitDefaultValue=false)] - public float? CurrentAccumDepreciationAmount { get; set; } + public decimal? CurrentAccumDepreciationAmount { get; set; } /// /// Returns the string presentation of the object diff --git a/Xero.NetStandard.OAuth2/Model/Asset/BookDepreciationSetting.cs b/Xero.NetStandard.OAuth2/Model/Asset/BookDepreciationSetting.cs index a81f38ba..c24c5672 100644 --- a/Xero.NetStandard.OAuth2/Model/Asset/BookDepreciationSetting.cs +++ b/Xero.NetStandard.OAuth2/Model/Asset/BookDepreciationSetting.cs @@ -3,7 +3,7 @@ * * This is the Xero Assets API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -148,7 +148,7 @@ public enum DepreciationCalculationMethodEnum /// /// The rate of depreciation (e.g. 0.05) [DataMember(Name="depreciationRate", EmitDefaultValue=false)] - public float? DepreciationRate { get; set; } + public decimal? DepreciationRate { get; set; } /// /// Effective life of the asset in years (e.g. 5) diff --git a/Xero.NetStandard.OAuth2/Model/Asset/Error.cs b/Xero.NetStandard.OAuth2/Model/Asset/Error.cs index 746ddce7..e62d04a2 100644 --- a/Xero.NetStandard.OAuth2/Model/Asset/Error.cs +++ b/Xero.NetStandard.OAuth2/Model/Asset/Error.cs @@ -3,7 +3,7 @@ * * This is the Xero Assets API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Asset/FieldValidationErrorsElement.cs b/Xero.NetStandard.OAuth2/Model/Asset/FieldValidationErrorsElement.cs index dede3260..3088160e 100644 --- a/Xero.NetStandard.OAuth2/Model/Asset/FieldValidationErrorsElement.cs +++ b/Xero.NetStandard.OAuth2/Model/Asset/FieldValidationErrorsElement.cs @@ -3,7 +3,7 @@ * * This is the Xero Assets API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Asset/Pagination.cs b/Xero.NetStandard.OAuth2/Model/Asset/Pagination.cs index e3605b13..777f054b 100644 --- a/Xero.NetStandard.OAuth2/Model/Asset/Pagination.cs +++ b/Xero.NetStandard.OAuth2/Model/Asset/Pagination.cs @@ -3,7 +3,7 @@ * * This is the Xero Assets API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Asset/ResourceValidationErrorsElement.cs b/Xero.NetStandard.OAuth2/Model/Asset/ResourceValidationErrorsElement.cs index 3abb4ae7..d3d69a34 100644 --- a/Xero.NetStandard.OAuth2/Model/Asset/ResourceValidationErrorsElement.cs +++ b/Xero.NetStandard.OAuth2/Model/Asset/ResourceValidationErrorsElement.cs @@ -3,7 +3,7 @@ * * This is the Xero Assets API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Asset/Setting.cs b/Xero.NetStandard.OAuth2/Model/Asset/Setting.cs index 6184808d..f4222cb4 100644 --- a/Xero.NetStandard.OAuth2/Model/Asset/Setting.cs +++ b/Xero.NetStandard.OAuth2/Model/Asset/Setting.cs @@ -3,7 +3,7 @@ * * This is the Xero Assets API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Identity/AccessToken.cs b/Xero.NetStandard.OAuth2/Model/Identity/AccessToken.cs index 84a6e7f4..ea1674cb 100644 --- a/Xero.NetStandard.OAuth2/Model/Identity/AccessToken.cs +++ b/Xero.NetStandard.OAuth2/Model/Identity/AccessToken.cs @@ -3,7 +3,7 @@ * * This specifing endpoints related to managing authentication tokens and identity for Xero API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Identity/Connection.cs b/Xero.NetStandard.OAuth2/Model/Identity/Connection.cs index 7cff4764..428e46e0 100644 --- a/Xero.NetStandard.OAuth2/Model/Identity/Connection.cs +++ b/Xero.NetStandard.OAuth2/Model/Identity/Connection.cs @@ -3,7 +3,7 @@ * * This specifing endpoints related to managing authentication tokens and identity for Xero API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/Identity/RefreshToken.cs b/Xero.NetStandard.OAuth2/Model/Identity/RefreshToken.cs index 28ba1c59..0be9489a 100644 --- a/Xero.NetStandard.OAuth2/Model/Identity/RefreshToken.cs +++ b/Xero.NetStandard.OAuth2/Model/Identity/RefreshToken.cs @@ -3,7 +3,7 @@ * * This specifing endpoints related to managing authentication tokens and identity for Xero API * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/APIException.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/APIException.cs index f954f044..be5b8132 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/APIException.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/APIException.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/Account.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/Account.cs index d7c80b01..63e8a287 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/Account.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/Account.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/AccountType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/AccountType.cs index 2f1a162b..60789a77 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/AccountType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/AccountType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/AllowanceType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/AllowanceType.cs index a77f6d2b..5fe0617b 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/AllowanceType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/AllowanceType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/BankAccount.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/BankAccount.cs index 197c4a4e..2f738092 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/BankAccount.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/BankAccount.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -72,7 +72,7 @@ public partial class BankAccount : IEquatable, IValidatableObject /// /// Fixed amounts (for example, if an employee wants to have $100 of their salary transferred to one account, and the remaining amount to another) [DataMember(Name="Amount", EmitDefaultValue=false)] - public float? Amount { get; set; } + public decimal? Amount { get; set; } /// /// Returns the string presentation of the object diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/CalendarType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/CalendarType.cs index 1426e592..2babf760 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/CalendarType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/CalendarType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/DeductionLine.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/DeductionLine.cs index 58b92d3f..25b3b8eb 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/DeductionLine.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/DeductionLine.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -56,21 +56,21 @@ public DeductionLine() /// /// Deduction type amount [DataMember(Name="Amount", EmitDefaultValue=false)] - public float? Amount { get; set; } + public decimal? Amount { get; set; } /// /// The Percentage of the Deduction /// /// The Percentage of the Deduction [DataMember(Name="Percentage", EmitDefaultValue=false)] - public float? Percentage { get; set; } + public decimal? Percentage { get; set; } /// /// Deduction number of units /// /// Deduction number of units [DataMember(Name="NumberOfUnits", EmitDefaultValue=false)] - public float? NumberOfUnits { get; set; } + public decimal? NumberOfUnits { get; set; } /// /// Returns the string presentation of the object diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/DeductionType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/DeductionType.cs index e762ca57..18f35165 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/DeductionType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/DeductionType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/DeductionTypeCalculationType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/DeductionTypeCalculationType.cs index 23eda5fe..f716faff 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/DeductionTypeCalculationType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/DeductionTypeCalculationType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsLine.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsLine.cs index ee9a6b3e..19972fc9 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsLine.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsLine.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -56,49 +56,49 @@ public EarningsLine() /// /// Annual salary for earnings line [DataMember(Name="AnnualSalary", EmitDefaultValue=false)] - public float? AnnualSalary { get; set; } + public decimal? AnnualSalary { get; set; } /// /// number of units for earning line /// /// number of units for earning line [DataMember(Name="NumberOfUnitsPerWeek", EmitDefaultValue=false)] - public float? NumberOfUnitsPerWeek { get; set; } + public decimal? NumberOfUnitsPerWeek { get; set; } /// /// Rate per unit of the EarningsLine. /// /// Rate per unit of the EarningsLine. [DataMember(Name="RatePerUnit", EmitDefaultValue=false)] - public float? RatePerUnit { get; set; } + public decimal? RatePerUnit { get; set; } /// /// Normal number of units for EarningsLine. Applicable when RateType is \"MULTIPLE\" /// /// Normal number of units for EarningsLine. Applicable when RateType is \"MULTIPLE\" [DataMember(Name="NormalNumberOfUnits", EmitDefaultValue=false)] - public float? NormalNumberOfUnits { get; set; } + public decimal? NormalNumberOfUnits { get; set; } /// /// Earnings rate amount /// /// Earnings rate amount [DataMember(Name="Amount", EmitDefaultValue=false)] - public float? Amount { get; set; } + public decimal? Amount { get; set; } /// /// Earnings rate number of units. /// /// Earnings rate number of units. [DataMember(Name="NumberOfUnits", EmitDefaultValue=false)] - public float? NumberOfUnits { get; set; } + public decimal? NumberOfUnits { get; set; } /// /// Earnings rate amount. Only applicable if the EarningsRate RateType is Fixed /// /// Earnings rate amount. Only applicable if the EarningsRate RateType is Fixed [DataMember(Name="FixedAmount", EmitDefaultValue=false)] - public float? FixedAmount { get; set; } + public decimal? FixedAmount { get; set; } /// /// Returns the string presentation of the object diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsRate.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsRate.cs index 539ff840..38cedb0a 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsRate.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsRate.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -113,21 +113,21 @@ public partial class EarningsRate : IEquatable, IValidatableObjec /// /// This is the multiplier used to calculate the rate per unit, based on the employee’s ordinary earnings rate. For example, for time and a half enter 1.5. Only applicable if RateType is MULTIPLE [DataMember(Name="Multiplier", EmitDefaultValue=false)] - public float? Multiplier { get; set; } + public decimal? Multiplier { get; set; } /// /// Indicates that this earnings rate should accrue leave. Only applicable if RateType is MULTIPLE /// /// Indicates that this earnings rate should accrue leave. Only applicable if RateType is MULTIPLE [DataMember(Name="AccrueLeave", EmitDefaultValue=false)] - public float? AccrueLeave { get; set; } + public decimal? AccrueLeave { get; set; } /// /// Optional Amount for FIXEDAMOUNT RateType EarningsRate /// /// Optional Amount for FIXEDAMOUNT RateType EarningsRate [DataMember(Name="Amount", EmitDefaultValue=false)] - public float? Amount { get; set; } + public decimal? Amount { get; set; } /// /// Last modified timestamp diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsRateCalculationType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsRateCalculationType.cs index e65ad207..2c550377 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsRateCalculationType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsRateCalculationType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsType.cs index e6ddf9a6..e473206b 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/EarningsType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/Employee.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/Employee.cs index 4aea5b32..be22d3e2 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/Employee.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/Employee.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/EmployeeStatus.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/EmployeeStatus.cs index e460bf75..eb38b678 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/EmployeeStatus.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/EmployeeStatus.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/Employees.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/Employees.cs index 064f6ef5..4e2d7deb 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/Employees.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/Employees.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/EmploymentBasis.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/EmploymentBasis.cs index 757e2d91..9fd01215 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/EmploymentBasis.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/EmploymentBasis.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/EmploymentTerminationPaymentType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/EmploymentTerminationPaymentType.cs index 4394b9eb..8ac795bc 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/EmploymentTerminationPaymentType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/EmploymentTerminationPaymentType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/EntitlementFinalPayPayoutType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/EntitlementFinalPayPayoutType.cs index 2e0fa62a..65d2764d 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/EntitlementFinalPayPayoutType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/EntitlementFinalPayPayoutType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/HomeAddress.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/HomeAddress.cs index 487bbd50..a3ca9a1d 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/HomeAddress.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/HomeAddress.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveAccrualLine.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveAccrualLine.cs index b3cede5e..4f7e2cde 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveAccrualLine.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveAccrualLine.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -44,7 +44,7 @@ public partial class LeaveAccrualLine : IEquatable, IValidata /// /// Leave Accrual number of units [DataMember(Name="NumberOfUnits", EmitDefaultValue=false)] - public float? NumberOfUnits { get; set; } + public decimal? NumberOfUnits { get; set; } /// /// If you want to auto calculate leave. diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveApplication.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveApplication.cs index 6eb5d6ec..8800df26 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveApplication.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveApplication.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveApplications.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveApplications.cs index 51e3656f..f00746d5 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveApplications.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveApplications.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveBalance.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveBalance.cs index b1d538fc..8805d449 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveBalance.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveBalance.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -51,7 +51,7 @@ public partial class LeaveBalance : IEquatable, IValidatableObjec /// /// The balance of the leave available [DataMember(Name="NumberOfUnits", EmitDefaultValue=false)] - public float? NumberOfUnits { get; set; } + public decimal? NumberOfUnits { get; set; } /// /// The type of units as specified by the LeaveType (see PayItems) diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveEarningsLine.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveEarningsLine.cs index 6d15c8e8..b7f6ea93 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveEarningsLine.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveEarningsLine.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -44,14 +44,14 @@ public partial class LeaveEarningsLine : IEquatable, IValida /// /// Rate per unit of the EarningsLine. [DataMember(Name="RatePerUnit", EmitDefaultValue=false)] - public float? RatePerUnit { get; set; } + public decimal? RatePerUnit { get; set; } /// /// Earnings rate number of units. /// /// Earnings rate number of units. [DataMember(Name="NumberOfUnits", EmitDefaultValue=false)] - public float? NumberOfUnits { get; set; } + public decimal? NumberOfUnits { get; set; } /// /// Returns the string presentation of the object diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLine.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLine.cs index 593c859b..befe8039 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLine.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLine.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -66,7 +66,7 @@ public partial class LeaveLine : IEquatable, IValidatableObject /// /// Leave number of units [DataMember(Name="NumberOfUnits", EmitDefaultValue=false)] - public float? NumberOfUnits { get; set; } + public decimal? NumberOfUnits { get; set; } /// /// Returns the string presentation of the object diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLineCalculationType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLineCalculationType.cs index d244e8b8..9bd72f6f 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLineCalculationType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLineCalculationType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLines.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLines.cs index 78e1d8bc..07ad2675 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLines.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveLines.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeavePeriod.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeavePeriod.cs index 5dc76974..38470719 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeavePeriod.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeavePeriod.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -42,7 +42,7 @@ public partial class LeavePeriod : IEquatable, IValidatableObject /// /// The Number of Units for the leave [DataMember(Name="NumberOfUnits", EmitDefaultValue=false)] - public float? NumberOfUnits { get; set; } + public decimal? NumberOfUnits { get; set; } /// /// The Pay Period End Date (YYYY-MM-DD) diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeavePeriodStatus.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeavePeriodStatus.cs index c9729781..42f3d6b5 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeavePeriodStatus.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeavePeriodStatus.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs index ff6c0171..01f83cdc 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveTypeContributionType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveTypeContributionType.cs index b94da159..f00bfdb3 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveTypeContributionType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveTypeContributionType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/ManualTaxType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/ManualTaxType.cs index c90ce162..1e75bc7a 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/ManualTaxType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/ManualTaxType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/OpeningBalances.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/OpeningBalances.cs index 7dc02c2f..261d6aff 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/OpeningBalances.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/OpeningBalances.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayItem.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayItem.cs index 370b5d17..d2e098b9 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayItem.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayItem.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayItems.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayItems.cs index d875150c..b9b0d066 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayItems.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayItems.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayRun.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayRun.cs index 0b1051a9..5adc2f92 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayRun.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayRun.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -107,42 +107,42 @@ public PayRun() /// /// The total Wages for the Payrun [DataMember(Name="Wages", EmitDefaultValue=false)] - public float? Wages { get; set; } + public decimal? Wages { get; set; } /// /// The total Deductions for the Payrun /// /// The total Deductions for the Payrun [DataMember(Name="Deductions", EmitDefaultValue=false)] - public float? Deductions { get; set; } + public decimal? Deductions { get; set; } /// /// The total Tax for the Payrun /// /// The total Tax for the Payrun [DataMember(Name="Tax", EmitDefaultValue=false)] - public float? Tax { get; set; } + public decimal? Tax { get; set; } /// /// The total Super for the Payrun /// /// The total Super for the Payrun [DataMember(Name="Super", EmitDefaultValue=false)] - public float? Super { get; set; } + public decimal? Super { get; set; } /// /// The total Reimbursements for the Payrun /// /// The total Reimbursements for the Payrun [DataMember(Name="Reimbursement", EmitDefaultValue=false)] - public float? Reimbursement { get; set; } + public decimal? Reimbursement { get; set; } /// /// The total NetPay for the Payrun /// /// The total NetPay for the Payrun [DataMember(Name="NetPay", EmitDefaultValue=false)] - public float? NetPay { get; set; } + public decimal? NetPay { get; set; } /// /// Displays array of validation error messages from the API diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayRunStatus.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayRunStatus.cs index 7a9fe705..73a182db 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayRunStatus.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayRunStatus.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayRuns.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayRuns.cs index ee7ad46c..28b5c0aa 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayRuns.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayRuns.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayTemplate.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayTemplate.cs index 8248dd62..319a646d 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayTemplate.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayTemplate.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/PaymentFrequencyType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/PaymentFrequencyType.cs index 6aa0d2e0..c21b9d6f 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/PaymentFrequencyType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/PaymentFrequencyType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayrollCalendar.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayrollCalendar.cs index ababba65..c21d9a88 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayrollCalendar.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayrollCalendar.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayrollCalendars.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayrollCalendars.cs index e64a8d50..4d9fc1a6 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayrollCalendars.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayrollCalendars.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/Payslip.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/Payslip.cs index 225eb3d5..9e355a6b 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/Payslip.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/Payslip.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -65,42 +65,42 @@ public partial class Payslip : IEquatable, IValidatableObject /// /// The Wages for the Payslip [DataMember(Name="Wages", EmitDefaultValue=false)] - public float? Wages { get; set; } + public decimal? Wages { get; set; } /// /// The Deductions for the Payslip /// /// The Deductions for the Payslip [DataMember(Name="Deductions", EmitDefaultValue=false)] - public float? Deductions { get; set; } + public decimal? Deductions { get; set; } /// /// The Tax for the Payslip /// /// The Tax for the Payslip [DataMember(Name="Tax", EmitDefaultValue=false)] - public float? Tax { get; set; } + public decimal? Tax { get; set; } /// /// The Super for the Payslip /// /// The Super for the Payslip [DataMember(Name="Super", EmitDefaultValue=false)] - public float? Super { get; set; } + public decimal? Super { get; set; } /// /// The Reimbursements for the Payslip /// /// The Reimbursements for the Payslip [DataMember(Name="Reimbursements", EmitDefaultValue=false)] - public float? Reimbursements { get; set; } + public decimal? Reimbursements { get; set; } /// /// The NetPay for the Payslip /// /// The NetPay for the Payslip [DataMember(Name="NetPay", EmitDefaultValue=false)] - public float? NetPay { get; set; } + public decimal? NetPay { get; set; } /// /// Gets or Sets EarningsLines diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayslipLines.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayslipLines.cs index 578b8ada..0c6225ef 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayslipLines.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayslipLines.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayslipObject.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayslipObject.cs index 4a8c23d2..079a0aa7 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayslipObject.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayslipObject.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayslipSummary.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayslipSummary.cs index ca407583..e92a881c 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/PayslipSummary.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/PayslipSummary.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -72,42 +72,42 @@ public partial class PayslipSummary : IEquatable, IValidatableO /// /// The Wages for the Payslip [DataMember(Name="Wages", EmitDefaultValue=false)] - public float? Wages { get; set; } + public decimal? Wages { get; set; } /// /// The Deductions for the Payslip /// /// The Deductions for the Payslip [DataMember(Name="Deductions", EmitDefaultValue=false)] - public float? Deductions { get; set; } + public decimal? Deductions { get; set; } /// /// The Tax for the Payslip /// /// The Tax for the Payslip [DataMember(Name="Tax", EmitDefaultValue=false)] - public float? Tax { get; set; } + public decimal? Tax { get; set; } /// /// The Super for the Payslip /// /// The Super for the Payslip [DataMember(Name="Super", EmitDefaultValue=false)] - public float? Super { get; set; } + public decimal? Super { get; set; } /// /// The Reimbursements for the Payslip /// /// The Reimbursements for the Payslip [DataMember(Name="Reimbursements", EmitDefaultValue=false)] - public float? Reimbursements { get; set; } + public decimal? Reimbursements { get; set; } /// /// The NetPay for the Payslip /// /// The NetPay for the Payslip [DataMember(Name="NetPay", EmitDefaultValue=false)] - public float? NetPay { get; set; } + public decimal? NetPay { get; set; } /// /// Last modified timestamp diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/Payslips.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/Payslips.cs index 4e50ab9f..76b9bb14 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/Payslips.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/Payslips.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/RateType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/RateType.cs index 9d0dc3f3..c5d99310 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/RateType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/RateType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/ReimbursementLine.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/ReimbursementLine.cs index cb75a069..8e4de611 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/ReimbursementLine.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/ReimbursementLine.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -44,7 +44,7 @@ public partial class ReimbursementLine : IEquatable, IValida /// /// Reimbursement type amount [DataMember(Name="Amount", EmitDefaultValue=false)] - public float? Amount { get; set; } + public decimal? Amount { get; set; } /// /// Reimbursement lines description (max length 50) diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/ReimbursementLines.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/ReimbursementLines.cs index 125bc9d7..ba79d5b2 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/ReimbursementLines.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/ReimbursementLines.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/ReimbursementType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/ReimbursementType.cs index 0f721ae7..d233601f 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/ReimbursementType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/ReimbursementType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/ResidencyStatus.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/ResidencyStatus.cs index bf7588af..4ddc607e 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/ResidencyStatus.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/ResidencyStatus.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/Settings.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/Settings.cs index b5e375b3..5b92c552 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/Settings.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/Settings.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsObject.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsObject.cs index 0f44d79d..4720fb8a 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsObject.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsObject.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsTrackingCategories.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsTrackingCategories.cs index 14147e5f..2795e37f 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsTrackingCategories.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsTrackingCategories.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsTrackingCategoriesEmployeeGroups.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsTrackingCategoriesEmployeeGroups.cs index e03437a1..864f2894 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsTrackingCategoriesEmployeeGroups.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsTrackingCategoriesEmployeeGroups.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsTrackingCategoriesTimesheetCategories.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsTrackingCategoriesTimesheetCategories.cs index 5a2b1dec..6978f5c1 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsTrackingCategoriesTimesheetCategories.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SettingsTrackingCategoriesTimesheetCategories.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/State.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/State.cs index 6117bfe7..b4cbafeb 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/State.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/State.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFund.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFund.cs index b9fc3465..bc87eeb6 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFund.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFund.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFundProduct.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFundProduct.cs index fdcf0063..9d203323 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFundProduct.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFundProduct.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFundProducts.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFundProducts.cs index 5fdb7168..b9ae463d 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFundProducts.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFundProducts.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFundType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFundType.cs index fd77df70..0fb7e6e9 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFundType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFundType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFunds.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFunds.cs index 6199efe9..70312027 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFunds.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperFunds.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperLine.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperLine.cs index 8f202634..11d8e0f8 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperLine.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperLine.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -54,7 +54,7 @@ public partial class SuperLine : IEquatable, IValidatableObject /// /// amount of mimimum earnings [DataMember(Name="MinimumMonthlyEarnings", EmitDefaultValue=false)] - public float? MinimumMonthlyEarnings { get; set; } + public decimal? MinimumMonthlyEarnings { get; set; } /// /// expense account code @@ -75,14 +75,14 @@ public partial class SuperLine : IEquatable, IValidatableObject /// /// percentage for super line [DataMember(Name="Percentage", EmitDefaultValue=false)] - public float? Percentage { get; set; } + public decimal? Percentage { get; set; } /// /// Super membership amount /// /// Super membership amount [DataMember(Name="Amount", EmitDefaultValue=false)] - public float? Amount { get; set; } + public decimal? Amount { get; set; } /// /// Returns the string presentation of the object diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperMembership.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperMembership.cs index 0da55f6a..b04a544d 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperMembership.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperMembership.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperannuationCalculationType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperannuationCalculationType.cs index 4c8b61c9..2eca6f99 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperannuationCalculationType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperannuationCalculationType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperannuationContributionType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperannuationContributionType.cs index 4418cb6e..ef6787f0 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperannuationContributionType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperannuationContributionType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperannuationLine.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperannuationLine.cs index b5617c4c..545347f6 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperannuationLine.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/SuperannuationLine.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -54,7 +54,7 @@ public partial class SuperannuationLine : IEquatable, IVali /// /// Superannuation minimum monthly earnings. [DataMember(Name="MinimumMonthlyEarnings", EmitDefaultValue=false)] - public float? MinimumMonthlyEarnings { get; set; } + public decimal? MinimumMonthlyEarnings { get; set; } /// /// Superannuation expense account code. @@ -82,14 +82,14 @@ public partial class SuperannuationLine : IEquatable, IVali /// /// Superannuation percentage [DataMember(Name="Percentage", EmitDefaultValue=false)] - public float? Percentage { get; set; } + public decimal? Percentage { get; set; } /// /// Superannuation amount /// /// Superannuation amount [DataMember(Name="Amount", EmitDefaultValue=false)] - public float? Amount { get; set; } + public decimal? Amount { get; set; } /// /// Returns the string presentation of the object diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/TFNExemptionType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/TFNExemptionType.cs index bcd7df06..1b9eae5d 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/TFNExemptionType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/TFNExemptionType.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/TaxDeclaration.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/TaxDeclaration.cs index 2d40fb63..65545627 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/TaxDeclaration.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/TaxDeclaration.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/TaxLine.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/TaxLine.cs index 03e34cd0..2d195a27 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/TaxLine.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/TaxLine.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -49,7 +49,7 @@ public partial class TaxLine : IEquatable, IValidatableObject /// /// The tax line amount [DataMember(Name="Amount", EmitDefaultValue=false)] - public float? Amount { get; set; } + public decimal? Amount { get; set; } /// /// Name of the tax type. diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/Timesheet.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/Timesheet.cs index 47de042c..81b3f90e 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/Timesheet.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/Timesheet.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -72,7 +72,7 @@ public Timesheet() /// /// Timesheet total hours [DataMember(Name="Hours", EmitDefaultValue=false)] - public float? Hours { get; set; } + public decimal? Hours { get; set; } /// /// The Xero identifier for a Payroll Timesheet diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/TimesheetLine.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/TimesheetLine.cs index 52560ded..aa279185 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/TimesheetLine.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/TimesheetLine.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -51,7 +51,7 @@ public partial class TimesheetLine : IEquatable, IValidatableObj /// /// The number of units on a timesheet line [DataMember(Name="NumberOfUnits", EmitDefaultValue=false)] - public List NumberOfUnits { get; set; } + public List NumberOfUnits { get; set; } /// /// Last modified timestamp diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/TimesheetObject.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/TimesheetObject.cs index 7533cbdb..64bf909c 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/TimesheetObject.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/TimesheetObject.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/TimesheetStatus.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/TimesheetStatus.cs index 2f7e6e23..3e001cbc 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/TimesheetStatus.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/TimesheetStatus.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/Timesheets.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/Timesheets.cs index dc59d9fd..605ca8f8 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/Timesheets.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/Timesheets.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/ValidationError.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/ValidationError.cs index 5bcf812a..3a0115a4 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/ValidationError.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/ValidationError.cs @@ -3,7 +3,7 @@ * * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 2.1.4 + * The version of the OpenAPI document: 2.1.7 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj index 3a82d891..9648ad63 100644 --- a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj +++ b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj @@ -3,14 +3,14 @@ Accounting API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.4 +The version of the OpenAPI document: 2.1.7 Contact: api@xero.com --> netstandard2.0 Xero.NetStandard.OAuth2 - 2.3.0 + 3.0.0 Xero API Xero https://github.com/XeroAPI/Xero-NetStandard/