C# Class Nop.Plugin.Tax.CountryStateZip.Services.TaxRateService

Tax rate service
Inheritance: ITaxRateService
Afficher le fichier Open project: emilianionascu/NopCommerce

Méthodes publiques

Méthode Description
DeleteTaxRate ( Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate taxRate ) : void

Deletes a tax rate

GetAllTaxRates ( int taxCategoryId, int countryId, int stateProvinceId, string zip ) : IList

Gets all tax rates

GetAllTaxRates ( int pageIndex, int pageSize = int.MaxValue ) : IPagedList

Gets all tax rates

GetTaxRateById ( int taxRateId ) : Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate

Gets a tax rate

InsertTaxRate ( Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate taxRate ) : void

Inserts a tax rate

TaxRateService ( ICacheManager cacheManager, IRepository taxRateRepository ) : System

Ctor

UpdateTaxRate ( Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate taxRate ) : void

Updates the tax rate

Method Details

DeleteTaxRate() public méthode

Deletes a tax rate
public DeleteTaxRate ( Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate taxRate ) : void
taxRate Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate Tax rate
Résultat void

GetAllTaxRates() public méthode

Gets all tax rates
public GetAllTaxRates ( int taxCategoryId, int countryId, int stateProvinceId, string zip ) : IList
taxCategoryId int The tax category identifier
countryId int The country identifier
stateProvinceId int The state/province identifier
zip string The zip
Résultat IList

GetAllTaxRates() public méthode

Gets all tax rates
public GetAllTaxRates ( int pageIndex, int pageSize = int.MaxValue ) : IPagedList
pageIndex int
pageSize int
Résultat IPagedList

GetTaxRateById() public méthode

Gets a tax rate
public GetTaxRateById ( int taxRateId ) : Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate
taxRateId int Tax rate identifier
Résultat Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate

InsertTaxRate() public méthode

Inserts a tax rate
public InsertTaxRate ( Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate taxRate ) : void
taxRate Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate Tax rate
Résultat void

TaxRateService() public méthode

Ctor
public TaxRateService ( ICacheManager cacheManager, IRepository taxRateRepository ) : System
cacheManager ICacheManager Cache manager
taxRateRepository IRepository Tax rate repository
Résultat System

UpdateTaxRate() public méthode

Updates the tax rate
public UpdateTaxRate ( Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate taxRate ) : void
taxRate Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate Tax rate
Résultat void