Skip to content

Commit

Permalink
Add Product.Country field
Browse files Browse the repository at this point in the history
The `Product.Country` field specifies the country of origin.
  • Loading branch information
olivere committed Sep 18, 2018
1 parent 09cf2e2 commit 467fbf8
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/Meplato.Store2/Catalogs/Service.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// The file implements the Meplato Store API.
//
// Author: Meplato API Team <support@meplato.com>
// Version: 2.1.3
// Version: 2.1.4
// License: Copyright (c) 2015-2018 Meplato GmbH, Switzerland. All rights reserved.
// See <a href="https://developer.meplato.com/store2/#terms">Terms of Service</a>
// See <a href="https://developer.meplato.com/store2/">External documentation</a>
Expand All @@ -40,7 +40,7 @@ public class Service
{
#region Service
public const string Title = "Meplato Store API";
public const string Version = "2.1.3";
public const string Version = "2.1.4";
public const string UserAgent = "meplato-csharp-client/2.0";
public const string DefaultBaseURL = "https://store.meplato.com/api/v2";

Expand Down
4 changes: 2 additions & 2 deletions src/Meplato.Store2/Jobs/Service.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// The file implements the Meplato Store API.
//
// Author: Meplato API Team <support@meplato.com>
// Version: 2.1.3
// Version: 2.1.4
// License: Copyright (c) 2015-2018 Meplato GmbH, Switzerland. All rights reserved.
// See <a href="https://developer.meplato.com/store2/#terms">Terms of Service</a>
// See <a href="https://developer.meplato.com/store2/">External documentation</a>
Expand All @@ -40,7 +40,7 @@ public class Service
{
#region Service
public const string Title = "Meplato Store API";
public const string Version = "2.1.3";
public const string Version = "2.1.4";
public const string UserAgent = "meplato-csharp-client/2.0";
public const string DefaultBaseURL = "https://store.meplato.com/api/v2";

Expand Down
13 changes: 11 additions & 2 deletions src/Meplato.Store2/Products/Service.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// The file implements the Meplato Store API.
//
// Author: Meplato API Team <support@meplato.com>
// Version: 2.1.3
// Version: 2.1.4
// License: Copyright (c) 2015-2018 Meplato GmbH, Switzerland. All rights reserved.
// See <a href="https://developer.meplato.com/store2/#terms">Terms of Service</a>
// See <a href="https://developer.meplato.com/store2/">External documentation</a>
Expand All @@ -40,7 +40,7 @@ public class Service
{
#region Service
public const string Title = "Meplato Store API";
public const string Version = "2.1.3";
public const string Version = "2.1.4";
public const string UserAgent = "meplato-csharp-client/2.0";
public const string DefaultBaseURL = "https://store.meplato.com/api/v2";

Expand Down Expand Up @@ -1333,6 +1333,15 @@ public class Product
[JsonProperty("conversionNumerator")]
public double? ConversionNumerator { get; set; }

/// <summary>
/// Country represents the ISO code of the country of origin, i.e.
/// the country where the product has been created/produced, e.g.
/// DE. If unspecified, the field is initialized with the catalog's
/// country field.
/// </summary>
[JsonProperty("country")]
public string Country { get; set; }

/// <summary>
/// Created is the creation date and time of the product.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions src/Meplato.Store2/Service.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// The file implements the Meplato Store API.
//
// Author: Meplato API Team <support@meplato.com>
// Version: 2.1.3
// Version: 2.1.4
// License: Copyright (c) 2015-2018 Meplato GmbH, Switzerland. All rights reserved.
// See <a href="https://developer.meplato.com/store2/#terms">Terms of Service</a>
// See <a href="https://developer.meplato.com/store2/">External documentation</a>
Expand All @@ -39,7 +39,7 @@ public class Service
{
#region Service
public const string Title = "Meplato Store API";
public const string Version = "2.1.3";
public const string Version = "2.1.4";
public const string UserAgent = "meplato-csharp-client/2.0";
public const string DefaultBaseURL = "https://store.meplato.com/api/v2";

Expand Down

0 comments on commit 467fbf8

Please sign in to comment.