Großmarkt

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

Field Summary
static int JTFC_DISCOUNT
           
static int JTFC_ENDSUM
           
 
Fields inherited from class sale.FormSheet
BTNID_CANCEL, BTNID_OK, m_fCancelled
 
Constructor Summary
FSSellerBill(Value v, double d)
           
 
Method Summary
static FSCheckable create(Value v, double d)
           
 Value getEndSum()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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.
Method Detail

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.

Großmarkt