market.stdform
Class FSSellerBill
java.lang.Object
|
+--sale.FormSheet
|
+--market.stdform.FSSellerBill
- All Implemented Interfaces:
- Serializable
- public class FSSellerBill
- extends FormSheet
This FormSheet displays the bill of a customer`s buy
- See Also:
- Serialized Form
Methods inherited from class sale.FormSheet |
addButton, addButton, addContentCreator, attach, attach, attach, buttonIterator, buttonIterator, cancel, close, detachDisplay, detachProcess, detachSalesPoint, fillBtnPanel, getButton, getButtonsLock, getCaption, getComponent, getComponentLock, getDisplay, getDisplayLock, getProcess, getSalesPoint, isCancelled, ok, removeAllButtons, removeButton, setCaption, setComponent, setWaitResponse, toString, waitResponse |
JTFC_DISCOUNT
public static final int JTFC_DISCOUNT
- See Also:
- Constant Field Values
JTFC_ENDSUM
public static final int JTFC_ENDSUM
- See Also:
- Constant Field Values
FSSellerBill
public FSSellerBill(Value v,
double d)
- Parameters:
v
- the value of customer's current purchase.d
- the customer's current discount, it covers values from 0 to 1.
create
public static FSCheckable create(Value v,
double d)
- Parameters:
v
- the value of customer's current purchase.d
- the customer's current discount, it covers values from 0 to 1.
- Returns:
- a new
FSCheckable
that uses a FSSellerBill as argument.
getEndSum
public Value getEndSum()
- Returns:
- the final value the customer has to pay.