Skip to content

Commit

Permalink
Release 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
edgaraswallee committed Apr 1, 2021
1 parent 5d73f71 commit f6d821e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<PackageReference Include="Wallee" Version="2.2.2" />
<PackageReference Include="Wallee" Version="3.0.0" />
```

Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
Expand Down
8 changes: 4 additions & 4 deletions src/Wallee/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "2.2.2";
public const string Version = "3.0.0";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -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<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -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;
}
Expand Down
8 changes: 4 additions & 4 deletions src/Wallee/Model/TaxCalculation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ public enum TaxCalculation
{

/// <summary>
/// Enum INCLUDED for value: TAX_INCLUDED
/// Enum TAX_INCLUDED for value: TAX_INCLUDED
/// </summary>
[EnumMember(Value = "TAX_INCLUDED")]
INCLUDED,
TAX_INCLUDED,

/// <summary>
/// Enum NOT_INCLUDED for value: TAX_NOT_INCLUDED
/// Enum TAX_NOT_INCLUDED for value: TAX_NOT_INCLUDED
/// </summary>
[EnumMember(Value = "TAX_NOT_INCLUDED")]
NOT_INCLUDED
TAX_NOT_INCLUDED
}

}
4 changes: 2 additions & 2 deletions src/Wallee/Wallee.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<PackageId>Wallee</PackageId>
<PackageLicense>https://www.apache.org/licenses/LICENSE-2.0.txt</PackageLicense>
<PackageProjectUrl>https://github.com/wallee-payment/csharp-sdk</PackageProjectUrl>
<PackageVersion>2.2.2</PackageVersion>
<PackageVersion>3.0.0</PackageVersion>
<PackageTags>Wallee;payment;sdk;Payment Integration</PackageTags>
<OutputType>Library</OutputType>
<Owners>customweb</Owners>
<ReleaseVersion>2.2.2</ReleaseVersion>
<ReleaseVersion>3.0.0</ReleaseVersion>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/wallee-payment/csharp-sdk.git</RepositoryUrl>
<RootNamespace>Wallee</RootNamespace>
Expand Down

0 comments on commit f6d821e

Please sign in to comment.