|
|||||||||
| Home >> All >> com >> globalretailtech >> pos >> [ ej overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.globalretailtech.pos.ej
Class EjPromotion

java.lang.Objectcom.globalretailtech.pos.events.PosEvent
com.globalretailtech.pos.events.PosDialogEvent
com.globalretailtech.pos.events.PosNumberDialog
com.globalretailtech.pos.ej.EjLine
com.globalretailtech.pos.ej.EjPromotion
- All Implemented Interfaces:
- java.lang.Comparable
- public class EjPromotion
- extends EjLine
EjPromotion
| Field Summary | |
private static java.lang.String |
eventname
|
private com.globalretailtech.pos.operators.PosItemModifier |
modifier
|
private com.globalretailtech.data.Promotion |
promotion
|
private com.globalretailtech.data.TransPromotion |
transpromotion
|
| Fields inherited from class com.globalretailtech.pos.ej.EjLine |
ACCOUNT, ALT_CURRENCY_TENDER, AMOUNT, BANK, CC_TENDER, CHECK_TENDER, COUPON, DEBIT_TENDER, GIFT_CERT_TENDER, ITEM, ITEM_LINK, NUMBER, numbertype, PROMOTION, SPLIT, TAX, TENDER, TOTAL, TRANS_HEADER |
| Fields inherited from class com.globalretailtech.pos.events.PosNumberDialog |
CLEAR, CURRENCY, DECIMAL, MASK |
| Fields inherited from class com.globalretailtech.pos.events.PosDialogEvent |
|
| Fields inherited from class com.globalretailtech.pos.events.PosEvent |
CUST_HIST, CUST_MAIN, FUNCTION, HOME, ITEM_MODIFIER, NAVIGATE, NEXT, PREV |
| Constructor Summary | |
EjPromotion()
Default constructor |
|
EjPromotion(com.globalretailtech.pos.context.PosContext c,
com.globalretailtech.data.Promotion promotion)
Constructor used when an item mod is linked to an item when the item is looked up and added to the ej. |
|
EjPromotion(com.globalretailtech.pos.context.PosContext c,
com.globalretailtech.data.TransPromotion t)
Constructor used for reprint. |
|
EjPromotion(com.globalretailtech.data.TransPromotion t)
|
|
| Method Summary | |
double |
amount()
Quantitiy for this line. |
boolean |
applied()
|
void |
apply()
|
double |
change()
Chage for this transaction. |
void |
clear()
Clear key implementation for this class |
java.lang.String |
cust()
Display customer. |
com.globalretailtech.data.DBRecord |
dataRecord()
The data record |
java.lang.String |
desc()
Display description. |
void |
engage(int value)
Event logic is implemented here |
static java.lang.String |
eventName()
Return staic name. |
double |
extAmount()
Amount for this line, = amount () |
int |
lineNo()
The line nubmer |
com.globalretailtech.pos.operators.PosItemModifier |
posItemModifier()
|
com.globalretailtech.data.Promotion |
promotion()
|
java.lang.String |
prompt()
Display prompt. |
int |
quantity()
Quantitiy for this line. |
boolean |
save()
Database save function. |
void |
setPosItemModifier(com.globalretailtech.pos.operators.PosItemModifier value)
|
void |
setPromotion(com.globalretailtech.data.Promotion value)
|
void |
setTransPromotion(com.globalretailtech.data.TransPromotion value)
|
double |
taxAmount()
Tax amount for this line, always 0 |
java.lang.String |
toString()
Return staic name. |
com.globalretailtech.data.TransPromotion |
transPromotion()
|
void |
updateTotals()
No total updates for this record. |
boolean |
validTransition(java.lang.String event)
Validate transistions state. |
| Methods inherited from class com.globalretailtech.pos.ej.EjLine |
compareTo, lineType, numberType, promptText, setLineType, type |
| Methods inherited from class com.globalretailtech.pos.events.PosDialogEvent |
isDialog, nextDialogEvent, popState, pushState, pushUserEvent, state, states |
| Methods inherited from class com.globalretailtech.pos.events.PosEvent |
blocked, checkProfile, context, employeeHasProfile, isValidEvent, setBlocked, setContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
modifier
private com.globalretailtech.pos.operators.PosItemModifier modifier
transpromotion
private com.globalretailtech.data.TransPromotion transpromotion
promotion
private com.globalretailtech.data.Promotion promotion
eventname
private static java.lang.String eventname
| Constructor Detail |
EjPromotion
public EjPromotion()
- Default constructor
EjPromotion
public EjPromotion(com.globalretailtech.pos.context.PosContext c, com.globalretailtech.data.Promotion promotion)
- Constructor used when an item mod is linked to an item
when the item is looked up and added to the ej.
EjPromotion
public EjPromotion(com.globalretailtech.pos.context.PosContext c, com.globalretailtech.data.TransPromotion t)
- Constructor used for reprint.
EjPromotion
public EjPromotion(com.globalretailtech.data.TransPromotion t)
| Method Detail |
posItemModifier
public com.globalretailtech.pos.operators.PosItemModifier posItemModifier()
transPromotion
public com.globalretailtech.data.TransPromotion transPromotion()
promotion
public com.globalretailtech.data.Promotion promotion()
setPosItemModifier
public void setPosItemModifier(com.globalretailtech.pos.operators.PosItemModifier value)
setTransPromotion
public void setTransPromotion(com.globalretailtech.data.TransPromotion value)
setPromotion
public void setPromotion(com.globalretailtech.data.Promotion value)
engage
public void engage(int value)
- Description copied from class:
com.globalretailtech.pos.events.PosEvent - Event logic is implemented here
apply
public void apply()
applied
public boolean applied()
validTransition
public boolean validTransition(java.lang.String event)
- Validate transistions state.
clear
public void clear()
- Clear key implementation for this class
toString
public java.lang.String toString()
- Return staic name.
eventName
public static java.lang.String eventName()
- Return staic name.
quantity
public int quantity()
amount
public double amount()
extAmount
public double extAmount()
taxAmount
public double taxAmount()
change
public double change()
save
public boolean save()
prompt
public java.lang.String prompt()
cust
public java.lang.String cust()
desc
public java.lang.String desc()
lineNo
public int lineNo()
dataRecord
public com.globalretailtech.data.DBRecord dataRecord()
- The data record
- Specified by:
dataRecordin classEjLine
updateTotals
public void updateTotals()
- No total updates for this record.
- Specified by:
updateTotalsin classEjLine
|
|||||||||
| Home >> All >> com >> globalretailtech >> pos >> [ ej overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC