com.konakart.rmi.app
Class S_WishListItem

java.lang.Object
  extended by com.konakart.rmi.app.S_WishListItem
All Implemented Interfaces:
java.io.Serializable

public class S_WishListItem
extends java.lang.Object
implements java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
S_WishListItem()
           
 
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()
           
 S_Option[] getOpts()
          An array of Option objects that further defines the product.
 int getPriority()
          The priority for the wish list item.
 S_Product 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(S_Option[] _opts)
          An array of Option objects that further defines the product.
 void setPriority(int _priority)
          The priority for the wish list item.
 void setProduct(S_Product _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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

S_WishListItem

public S_WishListItem()
Method Detail

getDateAdded

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

setDateAdded

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

getEncodedProduct

public 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

public 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

public int getId()
Returns:
Returns the id.

setId

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

getWishListId

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

setWishListId

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

getOpts

public S_Option[] 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

public void setOpts(S_Option[] _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

public S_Product getProduct()
Returns:
Returns the product.

setProduct

public void setProduct(S_Product _product)
Parameters:
_product - The product to set.

getProductId

public int getProductId()
Returns:
Returns the productId.

setProductId

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

getFinalPriceExTax

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

Returns:
Returns the finalPriceExTax.

setFinalPriceExTax

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

Parameters:
_finalPriceExTax - The finalPriceExTax to set.

getFinalPriceIncTax

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

Returns:
Returns the finalPriceIncTax.

setFinalPriceIncTax

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

Parameters:
_finalPriceIncTax - The finalPriceIncTax to set.

getQuantityInStock

public int getQuantityInStock()
Returns:
Returns the quantityInStock.

setQuantityInStock

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

getPriority

public 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

public 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

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

setCustom1

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

getCustom2

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

setCustom2

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

getCustom3

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

setCustom3

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

getCustom4

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

setCustom4

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

getCustom5

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

setCustom5

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

getQuantityDesired

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

Returns:
the quantityDesired

setQuantityDesired

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

Parameters:
_quantityDesired - the quantityDesired to set

getQuantityReceived

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

Returns:
the quantityReceived

setQuantityReceived

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

Parameters:
_quantityReceived - the quantityReceived to set

getComments

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

Returns:
the comments

setComments

public 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.