com.konakart.appif
Interface WishListItemIf

All Known Implementing Classes:
WishListItem

public interface WishListItemIf

A Wish List Item. A Wish List object contains an array of Wish List Items.


Method Summary
 java.lang.String getComments()
          Comments on the wish list item
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 java.lang.String getCustom4()
           
 java.lang.String getCustom5()
           
 java.util.Calendar getDateAdded()
           
 java.lang.String getEncodedProduct()
          The encodedProduct is in the form 1{3}5{4}1 where the first number is the product id.
 java.math.BigDecimal getFinalPriceExTax()
          This is the price without including tax.
 java.math.BigDecimal getFinalPriceIncTax()
          This is the price including tax.
 int getId()
           
 OptionIf[] getOpts()
          An array of Option objects that further defines the product.
 int getPriority()
          The priority for the wish list item.
 ProductIf getProduct()
           
 int getProductId()
           
 int getQuantityDesired()
          Number of items desired in a list such as a wedding list
 int getQuantityInStock()
           
 int getQuantityReceived()
          Number of items received in a list such as a wedding list
 int getWishListId()
           
 void setComments(java.lang.String comments)
          Comments on the wish list item
 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 setDateAdded(java.util.Calendar dateAdded)
           
 void setEncodedProduct(java.lang.String encodedProduct)
          The encodedProduct is in the form 1{3}5{4}1 where the first number is the product id.
 void setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
          This is the price without including tax.
 void setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
          This is the price including tax.
 void setId(int id)
           
 void setOpts(OptionIf[] opts)
          An array of Option objects that further defines the product.
 void setPriority(int priority)
          The priority for the wish list item.
 void setProduct(ProductIf product)
           
 void setProductId(int productId)
           
 void setQuantityDesired(int quantityDesired)
          Number of items desired in a list such as a wedding list
 void setQuantityInStock(int quantityInStock)
           
 void setQuantityReceived(int quantityReceived)
          Number of items received in a list such as a wedding list
 void setWishListId(int wishListId)
           
 

Method Detail

getDateAdded

java.util.Calendar getDateAdded()
Returns:
Returns the dateAdded.

setDateAdded

void setDateAdded(java.util.Calendar dateAdded)
Parameters:
dateAdded - The dateAdded to set.

getEncodedProduct

java.lang.String getEncodedProduct()
The encodedProduct is in the form 1{3}5{4}1 where the first number is the product id. The number pairs following the first number define the {OptionId}OptionValueId . For example this could be Model Type = Premium or Memory size = 1GB etc. If the WishList item has an encoded product, then it should have an array of Options that match the encoded product.

Returns:
Returns the encodedProduct.

setEncodedProduct

void setEncodedProduct(java.lang.String encodedProduct)
The encodedProduct is in the form 1{3}5{4}1 where the first number is the product id. The number pairs following the first number define the {OptionId}OptionValueId . For example this could be Model Type = Premium or Memory size = 1GB etc. If the WishList item has an encoded product, then it should have an array of Options that match the encoded product.

Parameters:
encodedProduct - The encodedProduct to set.

getId

int getId()
Returns:
Returns the id.

setId

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

getWishListId

int getWishListId()
Returns:
Returns the wishListId to which this WishListItem belongs.

setWishListId

void setWishListId(int wishListId)
Parameters:
wishListId - The wishListId to set.

getOpts

OptionIf[] getOpts()
An array of Option objects that further defines the product. i.e. Size = small, color = blue. The encodedProductId should match this array of options.

Returns:
Returns the opts.

setOpts

void setOpts(OptionIf[] opts)
An array of Option objects that further defines the product. i.e. Size = small, color = blue. The encodedProductId should match this array of options.

Parameters:
opts - The opts 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.

getFinalPriceExTax

java.math.BigDecimal getFinalPriceExTax()
This is the price without including tax.

Returns:
Returns the finalPriceExTax.

setFinalPriceExTax

void setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
This is the price without including tax.

Parameters:
finalPriceExTax - The finalPriceExTax to set.

getFinalPriceIncTax

java.math.BigDecimal getFinalPriceIncTax()
This is the price including tax.

Returns:
Returns the finalPriceIncTax.

setFinalPriceIncTax

void setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
This is the price including tax.

Parameters:
finalPriceIncTax - The finalPriceIncTax to set.

getQuantityInStock

int getQuantityInStock()
Returns:
Returns the quantityInStock.

setQuantityInStock

void setQuantityInStock(int quantityInStock)
Parameters:
quantityInStock - The quantityInStock to set.

getPriority

int getPriority()
The priority for the wish list item. i.e. It could be in the range from 1 to 5 (low priority, low-medium, medium, medium-high, high)

Returns:
Returns the priority.

setPriority

void setPriority(int priority)
The priority for the wish list item. i.e. It could be in the range from 1 to 5 (low priority, low-medium, medium, medium-high, high)

Parameters:
priority - The priority 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.

getQuantityDesired

int getQuantityDesired()
Number of items desired in a list such as a wedding list

Returns:
the quantityDesired

setQuantityDesired

void setQuantityDesired(int quantityDesired)
Number of items desired in a list such as a wedding list

Parameters:
quantityDesired - the quantityDesired to set

getQuantityReceived

int getQuantityReceived()
Number of items received in a list such as a wedding list

Returns:
the quantityReceived

setQuantityReceived

void setQuantityReceived(int quantityReceived)
Number of items received in a list such as a wedding list

Parameters:
quantityReceived - the quantityReceived to set

getComments

java.lang.String getComments()
Comments on the wish list item

Returns:
the comments

setComments

void setComments(java.lang.String comments)
Comments on the wish list item

Parameters:
comments - the comments to set


Copyright © 2011 DS Data Systems UK Ltd.