|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.app.OrderTotal
public class OrderTotal
Order Total Object
| Constructor Summary | |
|---|---|
OrderTotal()
Constructor |
|
OrderTotal(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
Instantiates the attributes of the Language object from a Record object |
|
| Method Summary | |
|---|---|
java.lang.String |
getClassName()
This is the name of the order total module. |
OrderTotal |
getClone()
Creates a new clone OrderTotal object |
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.lang.String |
getCustom3()
|
int |
getId()
|
int |
getOrderId()
|
OrderTotalIf[] |
getOrderTotals()
An array of OrderTotals which is populated if the OrderTotal module returns more than one result. |
PromotionIf[] |
getPromotions()
An array to contain the promotion objects used to calculate the discount for a discount order total module. |
int |
getSortOrder()
The sort order defines the order in which the order total items are added to the order. |
java.lang.String |
getText()
This is the actual text for the value of the order total. |
java.lang.String |
getTitle()
This is the title for the order total which will appear on a print out of the order. |
java.math.BigDecimal |
getValue()
The value is a numeric representation of the text which can be used to add the order totals in order to calculate the final total. |
void |
setClassName(java.lang.String className)
This is the name of the order total module. |
void |
setCustom1(java.lang.String custom1)
|
void |
setCustom2(java.lang.String custom2)
|
void |
setCustom3(java.lang.String custom3)
|
void |
setId(int id)
|
void |
setOrderId(int orderId)
|
void |
setOrderTotals(OrderTotalIf[] orderTotals)
An array of OrderTotals which is populated if the OrderTotal module returns more than one result. |
void |
setPromotions(PromotionIf[] promotions)
An array to contain the promotion objects used to calculate the discount for a discount order total module. |
void |
setSortOrder(int sortOrder)
The sort order defines the order in which the order total items are added to the order. |
void |
setText(java.lang.String text)
This is the actual text for the value of the order total. |
void |
setTitle(java.lang.String title)
This is the title for the order total which will appear on a print out of the order. |
void |
setValue(java.math.BigDecimal value)
The value is a numeric representation of the text which can be used to add the order totals in order to calculate the final total. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OrderTotal()
public OrderTotal(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
throws com.workingdogs.village.DataSetException
vr - Record containing datac - Criteria containing column names
com.workingdogs.village.DataSetException| Method Detail |
|---|
public OrderTotal getClone()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getClassName()
OrderTotalIf
getClassName in interface OrderTotalIfpublic void setClassName(java.lang.String className)
OrderTotalIf
setClassName in interface OrderTotalIfclassName - The className to set.public int getId()
getId in interface OrderTotalIfpublic void setId(int id)
setId in interface OrderTotalIfid - The id to set.public int getOrderId()
getOrderId in interface OrderTotalIfpublic void setOrderId(int orderId)
setOrderId in interface OrderTotalIforderId - The orderId to set.public int getSortOrder()
OrderTotalIf
getSortOrder in interface OrderTotalIfpublic void setSortOrder(int sortOrder)
OrderTotalIf
setSortOrder in interface OrderTotalIfsortOrder - The sortOrder to set.public java.lang.String getText()
OrderTotalIf
getText in interface OrderTotalIfpublic void setText(java.lang.String text)
OrderTotalIf
setText in interface OrderTotalIftext - The text to set.public java.lang.String getTitle()
OrderTotalIf
getTitle in interface OrderTotalIfpublic void setTitle(java.lang.String title)
OrderTotalIf
setTitle in interface OrderTotalIftitle - The title to set.public java.math.BigDecimal getValue()
OrderTotalIf
getValue in interface OrderTotalIfpublic void setValue(java.math.BigDecimal value)
OrderTotalIf
setValue in interface OrderTotalIfvalue - The value to set.public PromotionIf[] getPromotions()
OrderTotalIf
getPromotions in interface OrderTotalIfpublic void setPromotions(PromotionIf[] promotions)
OrderTotalIf
setPromotions in interface OrderTotalIfpromotions - The promotions to set.public OrderTotalIf[] getOrderTotals()
OrderTotalIf
getOrderTotals in interface OrderTotalIfpublic void setOrderTotals(OrderTotalIf[] orderTotals)
OrderTotalIf
setOrderTotals in interface OrderTotalIforderTotals - the orderTotals to setpublic java.lang.String getCustom1()
getCustom1 in interface OrderTotalIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface OrderTotalIfcustom1 - the custom1 to setpublic java.lang.String getCustom2()
getCustom2 in interface OrderTotalIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface OrderTotalIfcustom2 - the custom2 to setpublic java.lang.String getCustom3()
getCustom3 in interface OrderTotalIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface OrderTotalIfcustom3 - the custom3 to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||