Class VatGroupService
- Namespace
- Dynamicweb.Ecommerce.International
- Assembly
- Dynamicweb.Ecommerce.dll
public class VatGroupService : ICacheStorage<string, VatGroup>, ICacheStorage<string>, ICacheStorage
- Inheritance
-
Vat
Group Service
- Implements
- Inherited Members
Methods
ClearCache()
Clears cached countries.
ClearCache(IEnumerable<string>)
Resets the specified keys to the default value for objects stored in the object cache
Parameters
keys
IEnumerable<string>Keys to reset
ClearCache(string)
Resets the specified key to the default value for objects stored in the object cache
Parameters
key
stringKey to reset
Delete(string)
Deletes an instance with the specified parameters.
Parameters
vatGroupId
stringThe VAT group id.
DeleteVatGroupCountryRelation(string, string)
Deletes the country relation for the country with the given id from the VAT group with the given id.
Parameters
DeleteVatGroupCountryRelations(string)
Deletes all country relations from the VAT group with the given id.
Parameters
vatGroupId
stringThe vat group id.
GetVatGroup(string)
Gets the vatGroup.
Parameters
vatGroupId
stringThe vatGroup Id.
Returns
GetVatGroup(string, string, string)
Gets the products VatGroup based upon code2 from country.
Parameters
Returns
- Vat
Group vatGroup
GetVatGroupCountryRelation(string, string)
Gets the Vat
Parameters
Returns
GetVatGroups()
Gets all VatGroups.
Returns
- IEnumerable<Vat
Group > A collection of the Vat
Group .
Save(VatGroup)
Saves a vatGroup instance
Parameters
vatGroup
VatGroup The vatGroup.
Save(VatGroupCountryRelation)
Saves an instance with the specified parameters.
Parameters
vatGroupCountryRelation
VatGroup Country Relation The vat group country relation.