From 81511be1eafe59fc0352a8e63d1d78a0be2ad199 Mon Sep 17 00:00:00 2001 From: Jenks Guo Date: Sat, 8 Aug 2020 20:41:45 +1000 Subject: [PATCH] Payroll Au, LeaveType's LeaveLoadingRate changed from int to double --- README.md | 2 +- Xero.NetStandard.OAuth2/Client/Configuration.cs | 6 +++--- Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs | 2 +- Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 65bc3e2a..ae42be35 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This code is generated from the openapi-generator based on [Xero OpenAPI 3.0 Specification](https://github.com/XeroAPI/Xero-OpenAPI) -[![NuGet.org](https://img.shields.io/badge/NuGet.org-Xero.NetStandard.OAuth2.v3.2.0-brightgreen?style=plastic&logo=appveyor)](https://www.nuget.org/packages/Xero.NetStandard.OAuth2/) +[![NuGet.org](https://img.shields.io/badge/NuGet.org-Xero.NetStandard.OAuth2.v3.2.1-brightgreen?style=plastic&logo=appveyor)](https://www.nuget.org/packages/Xero.NetStandard.OAuth2/) # Current release of SDK with OAuth2 support Version Xero-NetStandard SDK only supports OAuth2 authentication and the following API sets. diff --git a/Xero.NetStandard.OAuth2/Client/Configuration.cs b/Xero.NetStandard.OAuth2/Client/Configuration.cs index 65f7d6a1..050faf47 100644 --- a/Xero.NetStandard.OAuth2/Client/Configuration.cs +++ b/Xero.NetStandard.OAuth2/Client/Configuration.cs @@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "3.2.0"; + public const string Version = "3.2.1"; /// /// 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-3.2.0"; + UserAgent = "xero-netstandard-3.2.1"; BasePath = "https://api.xero.com/api.xro/2.0"; DefaultHeader = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -329,7 +329,7 @@ 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.2.11\n"; - report += " SDK Package Version: 3.2.0\n"; + report += " SDK Package Version: 3.2.1\n"; return report; } diff --git a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs index 46dd9dbb..c2dfd667 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs @@ -65,7 +65,7 @@ public partial class LeaveType : IEquatable, IValidatableObject /// /// Enter an amount here if your organisation pays an additional percentage on top of ordinary earnings when your employees take leave (typically 17.5%) [DataMember(Name="LeaveLoadingRate", EmitDefaultValue=false)] - public int? LeaveLoadingRate { get; set; } + public double? LeaveLoadingRate { get; set; } /// /// Last modified timestamp diff --git a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj index c6a88661..d2e435a5 100644 --- a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj +++ b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj @@ -10,7 +10,7 @@ Contact: api@xero.com netstandard2.0 Xero.NetStandard.OAuth2 - 3.2.0 + 3.2.1 Xero API Xero https://github.com/XeroAPI/Xero-NetStandard/