public class RemoteAddressFactory extends java.lang.Object implements TaxRateLookupFactory
Weighted.WeightedComparator| Constructor and Description |
|---|
RemoteAddressFactory() |
| Modifier and Type | Method and Description |
|---|---|
TaxRateLookup |
getTaxRateLookupProvider(TaxRateLookupConfiguration configuration)
Gets
TaxRateLookup |
java.lang.String |
label()
Label
|
int |
priority()
Gets priority
|
java.lang.String |
toString(java.lang.Object o)
Writes value in String
|
public java.lang.String label()
label in interface TaxRateLookupFactorypublic TaxRateLookup getTaxRateLookupProvider(TaxRateLookupConfiguration configuration) throws TaxRateLookupException
TaxRateLookupgetTaxRateLookupProvider in interface TaxRateLookupFactoryconfiguration - TaxRateLookupConfiguration to useTaxRateLookupTaxRateLookupException - exception thrown when it fails getting TaxRateLookuppublic java.lang.String toString(java.lang.Object o)
throws com.fasterxml.jackson.core.JsonProcessingException
o - object to readcom.fasterxml.jackson.core.JsonProcessingException - exception thrown when it fails reading Json Object values