public class DefaultTaxRateLookupFactory extends java.lang.Object implements TaxRateLookupFactory
Weighted.WeightedComparator| Constructor and Description |
|---|
DefaultTaxRateLookupFactory(boolean remoteOnly)
Constructor
|
DefaultTaxRateLookupFactory(java.util.List<TaxRateLookupFactory> addressFactories,
boolean remoteOnly)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
TaxRateLookup |
getTaxRateLookupProvider(TaxRateLookupConfiguration configuration)
Gets
TaxRateLookup |
java.lang.String |
label()
Gets the label
|
int |
priority()
Gets priority
|
public DefaultTaxRateLookupFactory(boolean remoteOnly)
remoteOnly - set true if is remote onlypublic DefaultTaxRateLookupFactory(java.util.List<TaxRateLookupFactory> addressFactories, boolean remoteOnly)
addressFactories - list of TaxRateLookupFactoryremoteOnly - set true if it is remote onlypublic java.lang.String label()
label in interface TaxRateLookupFactorypublic TaxRateLookup getTaxRateLookupProvider(TaxRateLookupConfiguration configuration) throws TaxRateLookupException
TaxRateLookupgetTaxRateLookupProvider in interface TaxRateLookupFactoryconfiguration - TaxRateLookupConfigurationDefaultTaxRateLookupTaxRateLookupException - exception thrown when it fails constructing