C# 클래스 Nop.Plugin.Tax.CountryStateZip.Services.TaxRateService

Tax rate service
상속: ITaxRateService
파일 보기 프로젝트 열기: emilianionascu/NopCommerce

공개 메소드들

메소드 설명
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