using Nop.Core; using Nop.Plugin.Tax.FixedOrByCountryStateZip.Domain; namespace Nop.Plugin.Tax.FixedOrByCountryStateZip.Services; /// /// Tax rate service interface /// public interface ICountryStateZipService { /// /// Deletes a tax rate /// /// Tax rate /// A task that represents the asynchronous operation Task DeleteTaxRateAsync(TaxRate taxRate); /// /// Gets all tax rates /// /// /// A task that represents the asynchronous operation /// The task result contains the ax rates /// Task> GetAllTaxRatesAsync(int pageIndex = 0, int pageSize = int.MaxValue); /// /// Gets a tax rate /// /// Tax rate identifier /// /// A task that represents the asynchronous operation /// The task result contains the ax rate /// Task GetTaxRateByIdAsync(int taxRateId); /// /// Inserts a tax rate /// /// Tax rate /// A task that represents the asynchronous operation Task InsertTaxRateAsync(TaxRate taxRate); /// /// Updates the tax rate /// /// Tax rate /// A task that represents the asynchronous operation Task UpdateTaxRateAsync(TaxRate taxRate); }