|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OrderProductIf
Links an order to a product. An order may have an array of these objects.
| 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 |
getFinalPriceExTax()
|
java.math.BigDecimal |
getFinalPriceIncTax()
|
int |
getId()
|
java.lang.String |
getModel()
The product model. |
java.lang.String |
getName()
The product name. |
OptionIf[] |
getOpts()
An array of Option objects defining how the details of the product. |
OrderIf |
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()
|
ProductIf |
getProduct()
|
int |
getProductId()
|
int |
getQuantity()
|
java.math.BigDecimal |
getTax()
The amount of tax added. |
java.math.BigDecimal |
getTaxRate()
The tax rate applied. |
int |
getType()
product type. |
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 |
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(OptionIf[] opts)
An array of Option objects defining how the details of the product. |
void |
setOrder(OrderIf 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(ProductIf product)
|
void |
setProductId(int productId)
|
void |
setQuantity(int quantity)
|
void |
setTax(java.math.BigDecimal tax)
The amount of tax added. |
void |
setTaxRate(java.math.BigDecimal taxRate)
The tax rate applied. |
void |
setType(int type)
product type. |
| Method Detail |
|---|
int getId()
void setId(int id)
id - The id to set.java.lang.String getModel()
void setModel(java.lang.String model)
model - The model to set.java.lang.String getName()
void setName(java.lang.String name)
name - The name to set.OptionIf[] getOpts()
void setOpts(OptionIf[] opts)
opts - The opts to set.OrderIf getOrder()
void setOrder(OrderIf order)
order - The order to set.int getOrderId()
void setOrderId(int orderId)
orderId - The orderId to set.java.math.BigDecimal getPrice()
void setPrice(java.math.BigDecimal price)
price - The price to set.ProductIf getProduct()
void setProduct(ProductIf product)
product - The product to set.int getProductId()
void setProductId(int productId)
productId - The productId to set.int getQuantity()
void setQuantity(int quantity)
quantity - The quantity to set.java.math.BigDecimal getFinalPriceExTax()
void setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
finalPriceExTax - The finalPriceExTax to set.java.math.BigDecimal getFinalPriceIncTax()
void setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
finalPriceIncTax - The finalPriceIncTax to set.java.math.BigDecimal getTaxRate()
void setTaxRate(java.math.BigDecimal taxRate)
taxRate - The taxRate to set.java.math.BigDecimal getTax()
void setTax(java.math.BigDecimal tax)
tax - The tax to set.int getType()
void setType(int type)
type - The type to set.java.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1 - The custom1 to set.java.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2 - The custom2 to set.java.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3 - The custom3 to set.java.lang.String getCustom4()
void setCustom4(java.lang.String custom4)
custom4 - The custom4 to set.java.lang.String getCustom5()
void setCustom5(java.lang.String custom5)
custom5 - The custom5 to set.java.math.BigDecimal getPrice0()
void setPrice0(java.math.BigDecimal price0)
price0 - The price0 to set.java.math.BigDecimal getPrice1()
void setPrice1(java.math.BigDecimal price1)
price1 - The price1 to set.java.math.BigDecimal getPrice2()
void setPrice2(java.math.BigDecimal price2)
price2 - The price2 to set.java.math.BigDecimal getPrice3()
void setPrice3(java.math.BigDecimal price3)
price3 - The price3 to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||