Skip to content

Commit

Permalink
Release 4.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
WorldlineConnect committed Jun 4, 2024
1 parent dd337b4 commit b118de6
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The .NET SDK supports .NET Framework 4.5 and [.NET Standard](https://docs.micros

### .NET Framework 4.5

When using .NET Framework 4.5, the following packages are rquired:
When using .NET Framework 4.5, the following packages are required:

* [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) 13.0.1 or higher
* [NLog](https://www.nuget.org/packages/NLog/) 4.3.7 or higher
Expand All @@ -41,7 +41,7 @@ In addition, the following references are required, which are part of the .NET F

### .NET Standard 2.0 and 2.1

When using .NET Standard 2.0 or 2.1, the following packages are rquired:
When using .NET Standard 2.0 or 2.1, the following packages are required:

* [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) 13.0.1 or higher
* [NLog](https://www.nuget.org/packages/NLog/) 4.6.8 or higher
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFrameworks>net45;netstandard2.0;netstandard2.1</TargetFrameworks>
<RootNamespace>Worldline.Connect.Sdk</RootNamespace>
<AssemblyVersion>4.0.2</AssemblyVersion>
<Version>4.0.2</Version>
<AssemblyVersion>4.1.0</AssemblyVersion>
<Version>4.1.0</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Company>Worldline Global Collect</Company>
<Product>Worldline Connect .NET SDK examples</Product>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFrameworks>net45;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<RootNamespace>Worldline.Connect.Sdk</RootNamespace>
<AssemblyVersion>4.0.2</AssemblyVersion>
<Version>4.0.2</Version>
<AssemblyVersion>4.1.0</AssemblyVersion>
<Version>4.1.0</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Company>Worldline Global Collect</Company>
<Product>Worldline Connect .NET SDK integration tests</Product>
Expand All @@ -16,7 +16,7 @@
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageIcon>packageIcon.png</PackageIcon>
<PackageIconUrl>https://github.com/Worldline-Global-Collect/connect-sdk-dotnet/blob/master/packageIcon.png</PackageIconUrl>
<RepositoryUrl>https://github.com/Woldline-Global-Collect/connect-sdk-dotnet</RepositoryUrl>
<RepositoryUrl>https://github.com/Worldline-Global-Collect/connect-sdk-dotnet</RepositoryUrl>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFrameworks>net45;netstandard2.0;netstandard2.1</TargetFrameworks>
<RootNamespace>Worldline.Connect.Sdk</RootNamespace>
<AssemblyVersion>4.0.2</AssemblyVersion>
<Version>4.0.2</Version>
<AssemblyVersion>4.1.0</AssemblyVersion>
<Version>4.1.0</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Company>Worldline Global Collect</Company>
<Product>Worldline Connect .NET SDK</Product>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFrameworks>net45;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<RootNamespace>Worldline.Connect.Sdk</RootNamespace>
<AssemblyVersion>4.0.2</AssemblyVersion>
<Version>4.0.2</Version>
<AssemblyVersion>4.1.0</AssemblyVersion>
<Version>4.1.0</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Company>Worldline Global Collect</Company>
<Product>Worldline Connect .NET SDK unit tests</Product>
Expand Down
2 changes: 1 addition & 1 deletion Worldline.Connect.Sdk/Communication/MetadataProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ internal class ServerMetaInfo
.Append(Environment.Version)
.ToString();

private const string SdkVersion = "4.0.2";
private const string SdkVersion = "4.1.0";

private const string ServerMetaInfoHeader = "X-GCS-ServerMetaInfo";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ public class CardPaymentMethodSpecificOutput : AbstractPaymentMethodSpecificOutp
/// </summary>
public string InitialSchemeTransactionId { get; set; }

/// <summary>
/// Indicates if a network token was used during the payment.
/// </summary>
public bool? NetworkTokenUsed { get; set; }

/// <summary>
/// The unique scheme transactionId of this transaction.
/// <br />Should be stored by the merchant to allow it to be submitted in future transactions. Use this value in case the initialSchemeTransactionId property is empty.
Expand Down
5 changes: 5 additions & 0 deletions Worldline.Connect.Sdk/V1/Domain/OrderLineDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ public class OrderLineDetails
/// </summary>
public long? LineAmountTotal { get; set; }

/// <summary>
/// The UNSPC commodity code of the item.
/// </summary>
public string NaicsCommodityCode { get; set; }

/// <summary>
/// The category of the product (i.e. home appliance). This property can be used for fraud screening on the Ogone Platform.
/// </summary>
Expand Down
5 changes: 5 additions & 0 deletions Worldline.Connect.Sdk/V1/Domain/Shipping.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ public class Shipping
/// </summary>
public bool? IsFirstUsage { get; set; }

/// <summary>
/// The zip/postal code of the location from which the goods were shipped.
/// </summary>
public string ShippedFromZip { get; set; }

/// <summary>
/// Shipment tracking number
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions Worldline.Connect.Sdk/Worldline.Connect.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFrameworks>net45;netstandard2.0;netstandard2.1</TargetFrameworks>
<RootNamespace>Worldline.Connect.Sdk</RootNamespace>
<AssemblyVersion>4.0.2</AssemblyVersion>
<Version>4.0.2</Version>
<AssemblyVersion>4.1.0</AssemblyVersion>
<Version>4.1.0</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Company>Worldline Global Collect</Company>
<Product>Worldline Connect .NET SDK</Product>
Expand Down

0 comments on commit b118de6

Please sign in to comment.