Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

ProductService

API reference for ProductService in Vendr, the eCommerce solution for Umbraco v8+

ProductService

public class ProductService : ServiceBase, IProductService

Inheritance

Namespace

Constructors

ProductService

public ProductService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, 
    ILogger logger, ICache cache, IStoreService storeService, IProductAdapter productAdapter)

Methods

GetProduct

public IProductSnapshot GetProduct(string productReference, string languageIsoCode)

GetProductStock

public decimal? GetProductStock(string productReference)

IncreaseProductStock

public void IncreaseProductStock(string productReference, decimal increaseBy)

ReduceProductStock

public void ReduceProductStock(string productReference, decimal reduceBy)

SetProductStock

public void SetProductStock(string productReference, decimal value)

Edit this page on GitHub

Site + logo design © 2024 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.