Skip to content

Commit

Permalink
Merge pull request #207 from XeroAPI/fix-leavetype-leaveloadingrate-i…
Browse files Browse the repository at this point in the history
…nt-to-double

Payroll Au, LeaveType's LeaveLoadingRate changed from int to double
  • Loading branch information
jenksguo authored Aug 8, 2020
2 parents 125a7db + 81511be commit 1b280d5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions Xero.NetStandard.OAuth2/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "3.2.0";
public const string Version = "3.2.1";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -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<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Model/PayrollAu/LeaveType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public partial class LeaveType : IEquatable<LeaveType>, IValidatableObject
/// </summary>
/// <value>Enter an amount here if your organisation pays an additional percentage on top of ordinary earnings when your employees take leave (typically 17.5%)</value>
[DataMember(Name="LeaveLoadingRate", EmitDefaultValue=false)]
public int? LeaveLoadingRate { get; set; }
public double? LeaveLoadingRate { get; set; }

/// <summary>
/// Last modified timestamp
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Contact: [email protected]
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>Xero.NetStandard.OAuth2</PackageId>
<Version>3.2.0</Version>
<Version>3.2.1</Version>
<Authors>Xero API</Authors>
<Company>Xero</Company>
<PackageLicenseUrl>https://github.com/XeroAPI/Xero-NetStandard/</PackageLicenseUrl>
Expand Down

0 comments on commit 1b280d5

Please sign in to comment.