public class TaxFormatter extends Object
Constructor and Description |
---|
TaxFormatter(Tax tax)
Create a TaxFormatter object
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the tax name as xml escaped string.
|
String |
getRate()
Deprecated.
Use printTaxRate instead
|
int |
getTaxId()
Get the tax visible ID)
|
Double |
getTaxRate()
Get the tax rate.
|
String |
printName()
Get the tax name.
|
String |
printTaxRate()
Print the tax rate.
|
public TaxFormatter(Tax tax)
tax
- public String getName()
public String printName()
public Double getTaxRate()
public String getRate()
public String printTaxRate()
public int getTaxId()
Copyright © 2021. All rights reserved.