public class AdminOrderProduct
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
custom1
Custom fields
|
private java.lang.String |
custom10 |
private java.lang.String |
custom11 |
private java.lang.String |
custom2 |
private java.lang.String |
custom3 |
private java.lang.String |
custom4 |
private java.lang.String |
custom5 |
private java.lang.String |
custom6 |
private java.lang.String |
custom7 |
private java.lang.String |
custom8 |
private java.lang.String |
custom9 |
private AdminProdAttrDesc[] |
customAttrArray |
private java.lang.String |
customAttrs
Custom attributes
|
private java.util.Date |
dateAvailable
dateAvailable - Not persisted
|
private java.math.BigDecimal |
discountPercent
Percentage discount used in tier pricing
|
private java.math.BigDecimal |
finalPriceExTax
price of one product with options
|
private java.math.BigDecimal |
finalPriceIncTax
price of one product with options with Tax
|
private int |
id
id
|
private java.lang.String |
model
model
|
private java.lang.String |
name
name
|
private AdminOption[] |
opts
Array of options - opts
|
private AdminOrder |
order
order
|
private int |
orderId
orderId
|
private java.math.BigDecimal |
price
price of product without options
|
private java.math.BigDecimal |
price0 |
private java.math.BigDecimal |
price1 |
private java.math.BigDecimal |
price2 |
private java.math.BigDecimal |
price3 |
private AdminProduct |
product
product
|
private int |
productId
productId
|
private int |
quantity
quantity
|
private int |
refundPoints
The number of points allocated for a single product.
|
private java.math.BigDecimal |
refundValue
The final unit price of a product having taken into account all discounts.
|
private java.lang.String |
sku
sku
|
private int |
state
state
|
private java.math.BigDecimal |
tax
tax that needs to be applied to the final price
|
private java.lang.String |
taxCode
tax code used when looking up tax from an external service
|
private java.math.BigDecimal |
taxRate
tax rate that needs to be applied to the final price
|
private java.lang.String |
taxRateCode
The code of the tax rate
|
private java.math.BigDecimal |
totalPriceExTax
finalPriceExTax: price of product with options without tax x qty
|
private java.math.BigDecimal |
totalPriceIncTax
finalPriceIncTax: price of product with options with tax x qty
|
private int |
type
product type.
|
private java.lang.String |
variantCode
The variantCode.
|
private java.math.BigDecimal |
weight
weight
|
private int |
wishListId
wishListId
|
private int |
wishListItemId
wishListItemId
|
Constructor and Description |
---|
AdminOrderProduct()
Constructor
|
AdminOrderProduct(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the OrderProduct object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom10() |
java.lang.String |
getCustom11() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.lang.String |
getCustom6() |
java.lang.String |
getCustom7() |
java.lang.String |
getCustom8() |
java.lang.String |
getCustom9() |
AdminProdAttrDesc[] |
getCustomAttrArray() |
java.lang.String |
getCustomAttrs() |
java.util.Date |
getDateAvailable()
Date Available - Not persisted
|
java.math.BigDecimal |
getDiscountPercent() |
java.math.BigDecimal |
getFinalPriceExTax() |
java.math.BigDecimal |
getFinalPriceIncTax() |
int |
getId() |
java.lang.String |
getModel() |
java.lang.String |
getName() |
AdminOption[] |
getOpts() |
AdminOrder |
getOrder() |
int |
getOrderId() |
java.math.BigDecimal |
getPrice() |
java.math.BigDecimal |
getPrice0() |
java.math.BigDecimal |
getPrice1() |
java.math.BigDecimal |
getPrice2() |
java.math.BigDecimal |
getPrice3() |
AdminProduct |
getProduct() |
int |
getProductId() |
int |
getQuantity() |
int |
getRefundPoints()
The number of points allocated for a single product.
|
java.math.BigDecimal |
getRefundValue()
The final unit price of a product having taken into account all discounts.
|
java.lang.String |
getSku() |
int |
getState() |
java.math.BigDecimal |
getTax() |
java.lang.String |
getTaxCode() |
java.math.BigDecimal |
getTaxRate() |
java.lang.String |
getTaxRateCode()
The code of the tax rate
|
java.math.BigDecimal |
getTotalPriceExTax() |
java.math.BigDecimal |
getTotalPriceIncTax() |
int |
getType() |
java.lang.String |
getVariantCode() |
java.math.BigDecimal |
getWeight() |
int |
getWishListId() |
int |
getWishListItemId() |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom10(java.lang.String custom10) |
void |
setCustom11(java.lang.String custom11) |
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 |
setCustom6(java.lang.String custom6) |
void |
setCustom7(java.lang.String custom7) |
void |
setCustom8(java.lang.String custom8) |
void |
setCustom9(java.lang.String custom9) |
void |
setCustomAttrArray(AdminProdAttrDesc[] customAttrArray) |
void |
setCustomAttrs(java.lang.String customAttrs) |
void |
setDateAvailable(java.util.Date dateAvailable)
Date Available - Not persisted
|
void |
setDiscountPercent(java.math.BigDecimal discountPercent) |
void |
setFinalPriceExTax(java.math.BigDecimal finalPriceExTax) |
void |
setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax) |
void |
setId(int id) |
void |
setModel(java.lang.String model) |
void |
setName(java.lang.String name) |
void |
setOpts(AdminOption[] opts) |
void |
setOrder(AdminOrder order) |
void |
setOrderId(int orderId) |
void |
setPrice(java.math.BigDecimal price) |
void |
setPrice0(java.math.BigDecimal price0) |
void |
setPrice1(java.math.BigDecimal price1) |
void |
setPrice2(java.math.BigDecimal price2) |
void |
setPrice3(java.math.BigDecimal price3) |
void |
setProduct(AdminProduct product) |
void |
setProductId(int productId) |
void |
setQuantity(int quantity) |
void |
setRefundPoints(int refundPoints)
The number of points allocated for a single product.
|
void |
setRefundValue(java.math.BigDecimal refundValue)
The final unit price of a product having taken into account all discounts.
|
void |
setSku(java.lang.String sku) |
void |
setState(int state) |
void |
setTax(java.math.BigDecimal tax) |
void |
setTaxCode(java.lang.String taxCode) |
void |
setTaxRate(java.math.BigDecimal taxRate) |
void |
setTaxRateCode(java.lang.String taxRateCode)
The code of the tax rate
|
void |
setTotalPriceExTax(java.math.BigDecimal totalPriceExTax) |
void |
setTotalPriceIncTax(java.math.BigDecimal totalPriceIncTax) |
void |
setType(int type) |
void |
setVariantCode(java.lang.String variantCode) |
void |
setWeight(java.math.BigDecimal weight) |
void |
setWishListId(int wishListId) |
void |
setWishListItemId(int wishListItemId) |
java.lang.String |
toString() |
private int id
private java.lang.String sku
private int state
private int orderId
private AdminOrder order
private int productId
private AdminProduct product
private java.lang.String model
private java.lang.String name
private java.math.BigDecimal price
private java.math.BigDecimal finalPriceIncTax
private java.math.BigDecimal finalPriceExTax
private java.math.BigDecimal totalPriceExTax
private java.math.BigDecimal totalPriceIncTax
private java.math.BigDecimal taxRate
private java.lang.String taxCode
private java.lang.String taxRateCode
private java.math.BigDecimal tax
private int quantity
private java.math.BigDecimal weight
private int wishListId
private int wishListItemId
private int type
private AdminOption[] opts
private java.lang.String customAttrs
private AdminProdAttrDesc[] customAttrArray
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
private java.lang.String custom6
private java.lang.String custom7
private java.lang.String custom8
private java.lang.String custom9
private java.lang.String custom10
private java.lang.String custom11
private java.math.BigDecimal price0
private java.math.BigDecimal price1
private java.math.BigDecimal price2
private java.math.BigDecimal price3
private java.util.Date dateAvailable
private java.math.BigDecimal discountPercent
private java.math.BigDecimal refundValue
private int refundPoints
private java.lang.String variantCode
public AdminOrderProduct()
public AdminOrderProduct(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 int getId()
public void setId(int id)
id
- The id to set.public java.lang.String getModel()
public void setModel(java.lang.String model)
model
- The model to set.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public AdminOption[] getOpts()
public void setOpts(AdminOption[] opts)
opts
- The opts to set.public AdminOrder getOrder()
public void setOrder(AdminOrder order)
order
- The order to set.public int getOrderId()
public void setOrderId(int orderId)
orderId
- The orderId to set.public java.math.BigDecimal getPrice()
public void setPrice(java.math.BigDecimal price)
price
- The price to set.public AdminProduct getProduct()
public void setProduct(AdminProduct product)
product
- The product to set.public int getProductId()
public void setProductId(int productId)
productId
- The productId to set.public int getQuantity()
public void setQuantity(int quantity)
quantity
- The quantity to set.public java.math.BigDecimal getTaxRate()
public void setTaxRate(java.math.BigDecimal taxRate)
taxRate
- The taxRate to set.public java.math.BigDecimal getTax()
public void setTax(java.math.BigDecimal tax)
tax
- The tax to set.public java.math.BigDecimal getTotalPriceExTax()
public void setTotalPriceExTax(java.math.BigDecimal totalPriceExTax)
totalPriceExTax
- The totalPriceExTax to set.public java.math.BigDecimal getTotalPriceIncTax()
public void setTotalPriceIncTax(java.math.BigDecimal totalPriceIncTax)
totalPriceIncTax
- The totalPriceIncTax to set.public java.math.BigDecimal getFinalPriceExTax()
public void setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
finalPriceExTax
- The finalPriceExTax to set.public java.math.BigDecimal getFinalPriceIncTax()
public void setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
finalPriceIncTax
- The finalPriceIncTax to set.public int getType()
public void setType(int type)
type
- The type to set.public java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- The custom1 to set.public java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- The custom2 to set.public java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- The custom3 to set.public java.lang.String getCustom4()
public void setCustom4(java.lang.String custom4)
custom4
- The custom4 to set.public java.lang.String getCustom5()
public void setCustom5(java.lang.String custom5)
custom5
- The custom5 to set.public java.math.BigDecimal getPrice0()
public void setPrice0(java.math.BigDecimal price0)
price0
- The price0 to set.public java.math.BigDecimal getPrice1()
public void setPrice1(java.math.BigDecimal price1)
price1
- The price1 to set.public java.math.BigDecimal getPrice2()
public void setPrice2(java.math.BigDecimal price2)
price2
- The price2 to set.public java.math.BigDecimal getPrice3()
public void setPrice3(java.math.BigDecimal price3)
price3
- The price3 to set.public java.lang.String getSku()
public void setSku(java.lang.String sku)
sku
- the sku to setpublic int getState()
public void setState(int state)
state
- the state to setpublic java.util.Date getDateAvailable()
public void setDateAvailable(java.util.Date dateAvailable)
dateAvailable
- the dateAvailable to setpublic int getWishListId()
public void setWishListId(int wishListId)
wishListId
- the wishListId to setpublic int getWishListItemId()
public void setWishListItemId(int wishListItemId)
wishListItemId
- the wishListItemId to setpublic java.math.BigDecimal getWeight()
public void setWeight(java.math.BigDecimal weight)
weight
- the weight to setpublic java.math.BigDecimal getDiscountPercent()
public void setDiscountPercent(java.math.BigDecimal discountPercent)
discountPercent
- the discountPercent to setpublic java.lang.String getCustom6()
public void setCustom6(java.lang.String custom6)
custom6
- the custom6 to setpublic java.lang.String getCustom7()
public void setCustom7(java.lang.String custom7)
custom7
- the custom7 to setpublic java.lang.String getCustom8()
public void setCustom8(java.lang.String custom8)
custom8
- the custom8 to setpublic java.lang.String getCustom9()
public void setCustom9(java.lang.String custom9)
custom9
- the custom9 to setpublic java.lang.String getCustom10()
public void setCustom10(java.lang.String custom10)
custom10
- the custom10 to setpublic java.lang.String getCustom11()
public void setCustom11(java.lang.String custom11)
custom11
- the custom11 to setpublic java.math.BigDecimal getRefundValue()
public void setRefundValue(java.math.BigDecimal refundValue)
refundValue
- the refundValue to setpublic int getRefundPoints()
public void setRefundPoints(int refundPoints)
refundPoints
- the refundPoints to setpublic java.lang.String getCustomAttrs()
public void setCustomAttrs(java.lang.String customAttrs)
customAttrs
- the customAttrs to setpublic AdminProdAttrDesc[] getCustomAttrArray()
public void setCustomAttrArray(AdminProdAttrDesc[] customAttrArray)
customAttrArray
- the customAttrArray to setpublic java.lang.String getTaxRateCode()
public void setTaxRateCode(java.lang.String taxRateCode)
taxRateCode
- the taxRateCode to setpublic java.lang.String getTaxCode()
public void setTaxCode(java.lang.String taxCode)
taxCode
- the taxCode to setpublic java.lang.String getVariantCode()
public void setVariantCode(java.lang.String variantCode)
variantCode
- the variantCode to setCopyright © 2018 DS Data Systems UK Ltd.