namespace CoreConnect.Commerce.Catalog;
/// The search products response.
public class SearchProductsResponse
public IEnumerable<Product>? Products { get; set; }
/// Gets or sets the filters.
public IEnumerable<Facets>? Facets { get; set; }
/// Gets or sets the categories filters.
public IEnumerable<CategoryFacets>? CategoriesFacets { get; set; }
/// Gets or sets the products response totals.
public ProductsResponseTotals? ProductsResponseTotals { get; set; }
/// Category Resolve response.
public Category? CategoryResolveSearch { get; set; }
public class CategoryFacets
/// Gets or sets the category.
public Category? Category { get; set; }
/// Gets or sets the product count.
public int? ProductCount { get; set; }
/// Gets or sets the filters.
public IEnumerable<Facets>? Facets { get; set; }
public Facets(string name, List<Options> options, string? friendlyName = null)
FriendlyName = friendlyName;
/// Gets or sets the name.
public string Name { get; set; }
/// Gets or sets the friendly name.
public string? FriendlyName { get; set; }
/// Gets or sets the options.
public List<Options> Options { get; set; }
/// Gets or sets the name.
public string? Name { get; set; }
/// Gets or sets the value.
public string? Value { get; set; }
/// Gets or sets the count.
public int? Count { get; set; }