public interface TaxRateLookup
extends java.lang.AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
TaxResponse |
lookupByAddress(TaxRateAddress address,
Preferences preferences)
Performs lookup by address
|
TaxResponse |
lookupByLocation(Location location,
Preferences preferences)
Performs lookup by location i.e.
|
TaxResponse lookupByAddress(TaxRateAddress address, Preferences preferences) throws TaxRateLookupException
address - address to use for lookuppreferences - Preferences to useTaxResponseTaxRateLookupException - exception thrown when it fails looking upTaxResponse lookupByLocation(Location location, Preferences preferences) throws TaxRateLookupException
location - location o use for lookuppreferences - Preferences to useTaxResponseTaxRateLookupException - exception thrown when it fails looking up