diff --git a/.travis.yml b/.travis.yml index 3fb07a3..ec1e1b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,4 @@ script: - msbuild /t:restore Wallee.sln - msbuild Wallee.sln /t:build /p:Configuration=Release - mono testrunner/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./src/Wallee.Test/bin/Release/net452/Wallee.Test.dll --inprocess - - nuget push ./src/Wallee/bin/Release/Wallee.2.2.2.nupkg -Source nuget.org -ApiKey $NUGET_API_KEY_WALLEE -Verbosity detailed -SkipDuplicate + - nuget push ./src/Wallee/bin/Release/Wallee.3.0.0.nupkg -Source nuget.org -ApiKey $NUGET_API_KEY_WALLEE -Verbosity detailed -SkipDuplicate diff --git a/README.md b/README.md index 7fe748d..1323cec 100644 --- a/README.md +++ b/README.md @@ -34,13 +34,13 @@ NOTE: RestSharp versions greater than 106.2.1 have a bug which causes file uploa ## Installation ``` # Package Manager -Install-Package Wallee -Version 2.2.2 +Install-Package Wallee -Version 3.0.0 # .NET CLI -dotnet add package Wallee --version 2.2.2 +dotnet add package Wallee --version 3.0.0 # Paket CLI -paket add Wallee --version 2.2.2 +paket add Wallee --version 3.0.0 # PackageReference - + ``` Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces: diff --git a/src/Wallee/Client/Configuration.cs b/src/Wallee/Client/Configuration.cs index 02e33d8..472be5f 100644 --- a/src/Wallee/Client/Configuration.cs +++ b/src/Wallee/Client/Configuration.cs @@ -19,7 +19,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "2.2.2"; + public const string Version = "3.0.0"; /// /// Identifier for ISO 8601 DateTime Format @@ -90,7 +90,7 @@ public Configuration(string applicationUserID, string authenticationKey) } _authenticationKey = authenticationKey; _applicationUserID = applicationUserID; - UserAgent = "Wallee/2.2.2/csharp"; + UserAgent = "Wallee/3.0.0/csharp"; BasePath = "https://app-wallee.com:443/api"; DefaultHeader = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -338,8 +338,8 @@ public static String ToDebugReport() String report = "C# SDK (Wallee) Debug Report:\n"; report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; - report += " Version of the API: 2.2.2\n"; - report += " SDK Package Version: 2.2.2\n"; + report += " Version of the API: 3.0.0\n"; + report += " SDK Package Version: 3.0.0\n"; return report; } diff --git a/src/Wallee/Model/TaxCalculation.cs b/src/Wallee/Model/TaxCalculation.cs index d2aa86d..529d34b 100644 --- a/src/Wallee/Model/TaxCalculation.cs +++ b/src/Wallee/Model/TaxCalculation.cs @@ -24,16 +24,16 @@ public enum TaxCalculation { /// - /// Enum INCLUDED for value: TAX_INCLUDED + /// Enum TAX_INCLUDED for value: TAX_INCLUDED /// [EnumMember(Value = "TAX_INCLUDED")] - INCLUDED, + TAX_INCLUDED, /// - /// Enum NOT_INCLUDED for value: TAX_NOT_INCLUDED + /// Enum TAX_NOT_INCLUDED for value: TAX_NOT_INCLUDED /// [EnumMember(Value = "TAX_NOT_INCLUDED")] - NOT_INCLUDED + TAX_NOT_INCLUDED } } diff --git a/src/Wallee/Wallee.csproj b/src/Wallee/Wallee.csproj index 907177f..496449c 100644 --- a/src/Wallee/Wallee.csproj +++ b/src/Wallee/Wallee.csproj @@ -20,11 +20,11 @@ Wallee https://www.apache.org/licenses/LICENSE-2.0.txt https://github.com/wallee-payment/csharp-sdk - 2.2.2 + 3.0.0 Wallee;payment;sdk;Payment Integration Library customweb - 2.2.2 + 3.0.0 git https://github.com/wallee-payment/csharp-sdk.git Wallee