Table of Contents

Class ProductVatGroupService

Namespace
Dynamicweb.Ecommerce.Products
Assembly
Dynamicweb.Ecommerce.dll
public class ProductVatGroupService : ICacheStorage<ProductVatGroupKey, IEnumerable<ProductVatGroup>>, ICacheStorage<ProductVatGroupKey>, ICacheStorage
Inheritance
ProductVatGroupService
Implements
ICacheStorage<ProductVatGroupKey>
Inherited Members

Properties

Info

Information about the object cache

public CacheInformation Info { get; }

Property Value

CacheInformation

Methods

ClearCache()

Resets all keys to the default value for objects stored in the object cache

public void ClearCache()

ClearCache(string, string)

public virtual void ClearCache(string productId, string variantId)

Parameters

productId string
variantId string

Delete(ProductVatGroup)

public virtual void Delete(ProductVatGroup productVatGroup)

Parameters

productVatGroup ProductVatGroup

GetByProductId(string, string)

public virtual IEnumerable<ProductVatGroup> GetByProductId(string productId, string variantId)

Parameters

productId string
variantId string

Returns

IEnumerable<ProductVatGroup>

GetVatGroupId(string, string, string)

public virtual string? GetVatGroupId(string productId, string variantId, string vatCountryCode)

Parameters

productId string
variantId string
vatCountryCode string

Returns

string

Save(ProductVatGroup)

public virtual void Save(ProductVatGroup productVatGroup)

Parameters

productVatGroup ProductVatGroup
To top