|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.json.app.J_OrderProduct
public class J_OrderProduct
Links an order to a product. An order may have an array of these objects.
| Constructor Summary | |
|---|---|
J_OrderProduct()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.lang.String |
getCustom3()
|
java.lang.String |
getCustom4()
|
java.lang.String |
getCustom5()
|
java.math.BigDecimal |
getDiscountPercent()
Used mainly with percentage tiered pricing discounts to store the percentage discount. |
java.math.BigDecimal |
getFinalPriceExTax()
|
java.math.BigDecimal |
getFinalPriceIncTax()
|
int |
getId()
|
java.lang.String |
getModel()
The product model. |
java.lang.String |
getName()
The product name. |
J_Option[] |
getOpts()
An array of Option objects defining how the details of the product. |
J_Order |
getOrder()
|
int |
getOrderId()
|
java.math.BigDecimal |
getPrice()
The price of a single product without tax or options. |
java.math.BigDecimal |
getPrice0()
|
java.math.BigDecimal |
getPrice1()
|
java.math.BigDecimal |
getPrice2()
|
java.math.BigDecimal |
getPrice3()
|
J_Product |
getProduct()
|
int |
getProductId()
|
int |
getQuantity()
|
java.lang.String |
getSku()
The SKU of the product |
int |
getState()
The state of the product when added to the order. |
java.math.BigDecimal |
getTax()
The amount of tax added. |
java.lang.String |
getTaxCode()
tax code used when looking up tax from an external service |
java.math.BigDecimal |
getTaxRate()
The tax rate applied. |
int |
getType()
product type. |
java.math.BigDecimal |
getWeight()
The weight of the product |
int |
getWishListId()
Set to the id of the wish list (gift registry) to keep track that it has been added from a gift registry. |
int |
getWishListItemId()
Set to the id of the wish list item (gift registry item) to keep track that it has been added from a gift registry and which item it corresponds to. |
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 |
setDiscountPercent(java.math.BigDecimal _discountPercent)
Used mainly with percentage tiered pricing discounts to store the percentage discount. |
void |
setFinalPriceExTax(java.math.BigDecimal _finalPriceExTax)
|
void |
setFinalPriceIncTax(java.math.BigDecimal _finalPriceIncTax)
|
void |
setId(int _id)
|
void |
setModel(java.lang.String _model)
The product model. |
void |
setName(java.lang.String _name)
The product name. |
void |
setOpts(J_Option[] _opts)
An array of Option objects defining how the details of the product. |
void |
setOrder(J_Order _order)
|
void |
setOrderId(int _orderId)
|
void |
setPrice(java.math.BigDecimal _price)
The price of a single product without tax or options. |
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(J_Product _product)
|
void |
setProductId(int _productId)
|
void |
setQuantity(int _quantity)
|
void |
setSku(java.lang.String _sku)
The SKU of the product |
void |
setState(int _state)
The state of the product when added to the order. |
void |
setTax(java.math.BigDecimal _tax)
The amount of tax added. |
void |
setTaxCode(java.lang.String _taxCode)
tax code used when looking up tax from an external service |
void |
setTaxRate(java.math.BigDecimal _taxRate)
The tax rate applied. |
void |
setType(int _type)
product type. |
void |
setWeight(java.math.BigDecimal _weight)
The weight of the product |
void |
setWishListId(int _wishListId)
Set to the id of the wish list (gift registry) to keep track that it has been added from a gift registry. |
void |
setWishListItemId(int _wishListItemId)
Set to the id of the wish list item (gift registry item) to keep track that it has been added from a gift registry and which item it corresponds to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public J_OrderProduct()
| Method Detail |
|---|
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 J_Option[] getOpts()
public void setOpts(J_Option[] _opts)
_opts - The opts to set.public J_Order getOrder()
public void setOrder(J_Order _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 J_Product getProduct()
public void setProduct(J_Product _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 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 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 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 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 getDiscountPercent()
public void setDiscountPercent(java.math.BigDecimal _discountPercent)
_discountPercent - the discountPercent to setpublic java.math.BigDecimal getWeight()
public void setWeight(java.math.BigDecimal _weight)
_weight - the weight to setpublic java.lang.String getTaxCode()
public void setTaxCode(java.lang.String _taxCode)
_taxCode - the taxCode to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||