Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
namespace Grand.Web.Models.Common;
/// <summary>
/// Facts for the site-wide JSON-LD (Organization and WebSite). Urls that depend on the
/// request are built in the view; everything here is store data.
/// </summary>
public class SiteStructuredDataModel
{
public string StoreName { get; set; }
/// <summary>
/// Logo url as the picture service returns it (may be relative)
/// </summary>
public string LogoUrl { get; set; }
public IList<string> SameAs { get; set; } = new List<string>();
/// <summary>
/// Null when merchandise returns are off - then no return policy is declared at all
/// </summary>
public ReturnPolicyModel ReturnPolicy { get; set; }
public class ReturnPolicyModel
{
/// <summary>
/// No day limit is configured. A configured limit is not published as merchantReturnDays:
/// the store counts it from the order date, schema.org from delivery, so the number
/// would promise a longer window than the store gives.
/// </summary>
public bool UnlimitedWindow { get; set; }
/// <summary>
/// schema.org ReturnFeesEnumeration member, or null when the store has not declared it
/// </summary>
public string ReturnFees { get; set; }
/// <summary>
/// schema.org ReturnMethodEnumeration member, or null when the store has not declared it
/// </summary>
public string ReturnMethod { get; set; }
/// <summary>
/// ISO 3166-1 alpha-2 codes of the countries the store ships to
/// </summary>
public IList<string> CountryCodes { get; set; } = new List<string>();
}
}