public interface TaxRateCache
Modifier and Type | Method and Description |
---|---|
int |
getTaxCodeId(GUID shopGuid,
java.lang.Double percentage)
Gets the identifier of the tax rate with the passed percentage rate.
|
int getTaxCodeId(GUID shopGuid, java.lang.Double percentage) throws TaxRateNotFoundException
shopGuid
- GUID of the shop.percentage
- The percentage rate of the tax rate.TaxRateNotFoundException
- in case no tax rate was found for the passed percentage.