Table of Contents

Interface IProductStore

Namespace
Rescope.Commerce.Core.Services
Assembly
Rescope.Commerce.Core.dll
public interface IProductStore

Methods

GetProduct(string)

Task<IProduct?> GetProduct(string sku)

Parameters

sku string

Returns

Task<IProduct>

GetProductFromUmbracoNode(int)

Internally used by property editors rendered in the backoffice. In custom implementations, you may return null here if your products are managed elsewhere.

Task<IProductOrVariant?> GetProductFromUmbracoNode(int umbracoNodeId)

Parameters

umbracoNodeId int

Returns

Task<IProductOrVariant>

GetProductOrVariant(string)

Task<IProductOrVariant?> GetProductOrVariant(string sku)

Parameters

sku string

Returns

Task<IProductOrVariant>

List()

Task<IEnumerable<IProduct>> List()

Returns

Task<IEnumerable<IProduct>>

ListWithVariants()

Task<IEnumerable<IProductOrVariant>> ListWithVariants()

Returns

Task<IEnumerable<IProductOrVariant>>