com.konakart.appif
Interface OrderProductIf


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

getId

int getId()
Returns:
Returns the id.

setId

void setId(int id)
Parameters:
id - The id to set.

getModel

java.lang.String getModel()
The product model.

Returns:
Returns the model.

setModel

void setModel(java.lang.String model)
The product model.

Parameters:
model - The model to set.

getName

java.lang.String getName()
The product name.

Returns:
Returns the name.

setName

void setName(java.lang.String name)
The product name.

Parameters:
name - The name to set.

getOpts

OptionIf[] getOpts()
An array of Option objects defining how the details of the product. e.g. color, size, amount of memory etc.

Returns:
Returns the opts.

setOpts

void setOpts(OptionIf[] opts)
An array of Option objects defining how the details of the product. e.g. color, size, amount of memory etc.

Parameters:
opts - The opts to set.

getOrder

OrderIf getOrder()
Returns:
Returns the order.

setOrder

void setOrder(OrderIf order)
Parameters:
order - The order to set.

getOrderId

int getOrderId()
Returns:
Returns the orderId.

setOrderId

void setOrderId(int orderId)
Parameters:
orderId - The orderId to set.

getPrice

java.math.BigDecimal getPrice()
The price of a single product without tax or options.

Returns:
Returns the price.

setPrice

void setPrice(java.math.BigDecimal price)
The price of a single product without tax or options.

Parameters:
price - The price to set.

getProduct

ProductIf getProduct()
Returns:
Returns the product.

setProduct

void setProduct(ProductIf product)
Parameters:
product - The product to set.

getProductId

int getProductId()
Returns:
Returns the productId.

setProductId

void setProductId(int productId)
Parameters:
productId - The productId to set.

getQuantity

int getQuantity()
Returns:
Returns the quantity.

setQuantity

void setQuantity(int quantity)
Parameters:
quantity - The quantity to set.

getFinalPriceExTax

java.math.BigDecimal getFinalPriceExTax()
Returns:
Returns the finalPriceExTax.

setFinalPriceExTax

void setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
Parameters:
finalPriceExTax - The finalPriceExTax to set.

getFinalPriceIncTax

java.math.BigDecimal getFinalPriceIncTax()
Returns:
Returns the finalPriceIncTax.

setFinalPriceIncTax

void setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
Parameters:
finalPriceIncTax - The finalPriceIncTax to set.

getTaxRate

java.math.BigDecimal getTaxRate()
The tax rate applied.

Returns:
Returns the taxRate.

setTaxRate

void setTaxRate(java.math.BigDecimal taxRate)
The tax rate applied.

Parameters:
taxRate - The taxRate to set.

getTax

java.math.BigDecimal getTax()
The amount of tax added.

Returns:
Returns the tax.

setTax

void setTax(java.math.BigDecimal tax)
The amount of tax added.

Parameters:
tax - The tax to set.

getType

int getType()
product type.

Returns:
Returns the type.

setType

void setType(int type)
product type.

Parameters:
type - The type to set.

getCustom1

java.lang.String getCustom1()
Returns:
Returns the custom1.

setCustom1

void setCustom1(java.lang.String custom1)
Parameters:
custom1 - The custom1 to set.

getCustom2

java.lang.String getCustom2()
Returns:
Returns the custom2.

setCustom2

void setCustom2(java.lang.String custom2)
Parameters:
custom2 - The custom2 to set.

getCustom3

java.lang.String getCustom3()
Returns:
Returns the custom3.

setCustom3

void setCustom3(java.lang.String custom3)
Parameters:
custom3 - The custom3 to set.

getCustom4

java.lang.String getCustom4()
Returns:
Returns the custom4.

setCustom4

void setCustom4(java.lang.String custom4)
Parameters:
custom4 - The custom4 to set.

getCustom5

java.lang.String getCustom5()
Returns:
Returns the custom5.

setCustom5

void setCustom5(java.lang.String custom5)
Parameters:
custom5 - The custom5 to set.

getPrice0

java.math.BigDecimal getPrice0()
Returns:
Returns the price0.

setPrice0

void setPrice0(java.math.BigDecimal price0)
Parameters:
price0 - The price0 to set.

getPrice1

java.math.BigDecimal getPrice1()
Returns:
Returns the price1.

setPrice1

void setPrice1(java.math.BigDecimal price1)
Parameters:
price1 - The price1 to set.

getPrice2

java.math.BigDecimal getPrice2()
Returns:
Returns the price2.

setPrice2

void setPrice2(java.math.BigDecimal price2)
Parameters:
price2 - The price2 to set.

getPrice3

java.math.BigDecimal getPrice3()
Returns:
Returns the price3.

setPrice3

void setPrice3(java.math.BigDecimal price3)
Parameters:
price3 - The price3 to set.


Copyright © 2006 DS Data Systems UK Ltd.