public class DiscountLineFormatter extends AccountingLineFormatter
Constructor and Description |
---|
DiscountLineFormatter(String category,
String taxname,
Double taxrate,
Double taxsum,
Double totaldiscount,
Double total,
Double totalnet,
Double quantity)
Create a new DiscountLineFormatter instance
|
Modifier and Type | Method and Description |
---|---|
String |
printCategory()
The category name
|
getDescription, getQuantity, getTaxrate, getTaxsum, getTotal, getTotaldiscount, printQuantity, printTaxname, printTaxrate, printTaxsum, printTotal, printTotalDiscount, printTotalNet
public DiscountLineFormatter(String category, String taxname, Double taxrate, Double taxsum, Double totaldiscount, Double total, Double totalnet, Double quantity)
category
- category nametaxname
- tax nametaxrate
- tax ratetaxsum
- total taxtotaldiscount
- total discounttotal
- total salestotalnet
- total net valuepublic String printCategory()
Copyright © 2021. All rights reserved.