C# Класс Nop.Plugin.Tax.CountryStateZip.Services.TaxRateService

Tax rate service
Наследование: ITaxRateService
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

DeleteTaxRate() публичный Метод

Deletes a tax rate
public DeleteTaxRate ( Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate taxRate ) : void
taxRate Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate Tax rate
Результат void

GetAllTaxRates() публичный Метод

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
Результат IList

GetAllTaxRates() публичный Метод

Gets all tax rates
public GetAllTaxRates ( int pageIndex, int pageSize = int.MaxValue ) : IPagedList
pageIndex int
pageSize int
Результат IPagedList

GetTaxRateById() публичный Метод

Gets a tax rate
public GetTaxRateById ( int taxRateId ) : Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate
taxRateId int Tax rate identifier
Результат Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate

InsertTaxRate() публичный Метод

Inserts a tax rate
public InsertTaxRate ( Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate taxRate ) : void
taxRate Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate Tax rate
Результат void

TaxRateService() публичный Метод

Ctor
public TaxRateService ( ICacheManager cacheManager, IRepository taxRateRepository ) : System
cacheManager ICacheManager Cache manager
taxRateRepository IRepository Tax rate repository
Результат System

UpdateTaxRate() публичный Метод

Updates the tax rate
public UpdateTaxRate ( Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate taxRate ) : void
taxRate Nop.Plugin.Tax.CountryStateZip.Domain.TaxRate Tax rate
Результат void