public class AdminOrderTotal
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
className
class
|
private java.lang.String |
code
code
|
private java.lang.String |
custom1
Custom fields
|
private java.lang.String |
custom2 |
private java.lang.String |
custom3 |
private java.lang.String |
custom4 |
private java.lang.String |
custom5 |
private java.math.BigDecimal |
discountAmount
discountAmount
|
private java.math.BigDecimal |
discountPercent
discountPercent
|
private int |
id
id
|
private int |
orderId
orderId
|
private int |
promotionId
promotionId
|
private int |
sortOrder
sortOrder
|
private java.math.BigDecimal |
taxRate
Tax rate associated with OrderTotal
|
private java.lang.String |
text
text
|
private java.lang.String |
title
title
|
private java.math.BigDecimal |
value
value
|
Constructor and Description |
---|
AdminOrderTotal()
Constructor
|
AdminOrderTotal(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Language object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
This is the name of the order total module.
|
java.lang.String |
getCode() |
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.math.BigDecimal |
getDiscountAmount()
The discount amount defined by the promotion.
|
java.math.BigDecimal |
getDiscountPercent()
The discount percentage defined by the promotion.
|
int |
getId() |
int |
getOrderId()
The id of the order that the order total belongs to
|
int |
getPromotionId()
The promotion id only when the order total contains the results of a promotion.
|
int |
getSortOrder()
The sort order defines the order in which the order total items are added to the order.
|
java.math.BigDecimal |
getTaxRate() |
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 |
setCode(java.lang.String code) |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setDiscountAmount(java.math.BigDecimal discountAmount)
The discount amount defined by the promotion.
|
void |
setDiscountPercent(java.math.BigDecimal discountPercent)
The discount percentage defined by the promotion.
|
void |
setId(int id) |
void |
setOrderId(int orderId)
The id of the order that the order total belongs to
|
void |
setPromotionId(int promotionId)
The promotion id only when the order total contains the results of a promotion.
|
void |
setSortOrder(int sortOrder)
The sort order defines the order in which the order total items are added to the order.
|
void |
setTaxRate(java.math.BigDecimal taxRate) |
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() |
private int id
private int orderId
private int promotionId
private java.lang.String title
private java.lang.String text
private java.lang.String code
private java.math.BigDecimal value
private java.math.BigDecimal taxRate
private java.math.BigDecimal discountAmount
private java.math.BigDecimal discountPercent
private java.lang.String className
private int sortOrder
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
private java.lang.String custom4
private java.lang.String custom5
public AdminOrderTotal()
public AdminOrderTotal(com.workingdogs.village.Record vr, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getClassName()
public void setClassName(java.lang.String className)
className
- The className to set.public int getId()
public void setId(int id)
id
- The id to set.public int getOrderId()
public void setOrderId(int orderId)
orderId
- The orderId to set.public int getSortOrder()
public void setSortOrder(int sortOrder)
sortOrder
- The sortOrder to set.public java.lang.String getText()
public void setText(java.lang.String text)
text
- The text to set.public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- The title to set.public java.math.BigDecimal getValue()
public void setValue(java.math.BigDecimal value)
value
- The value to set.public int getPromotionId()
public void setPromotionId(int promotionId)
promotionId
- the promotionId to setpublic java.math.BigDecimal getDiscountAmount()
public void setDiscountAmount(java.math.BigDecimal discountAmount)
discountAmount
- the discountAmount to setpublic java.math.BigDecimal getDiscountPercent()
public void setDiscountPercent(java.math.BigDecimal discountPercent)
discountPercent
- the discountPercent to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- the custom3 to setpublic java.lang.String getCustom4()
public void setCustom4(java.lang.String custom4)
custom4
- the custom4 to setpublic java.lang.String getCustom5()
public void setCustom5(java.lang.String custom5)
custom5
- the custom5 to setpublic java.math.BigDecimal getTaxRate()
public void setTaxRate(java.math.BigDecimal taxRate)
taxRate
- the taxRate to setpublic java.lang.String getCode()
public void setCode(java.lang.String code)
code
- the code to setCopyright © 2018 DS Data Systems UK Ltd.