org.apache.taglibs.rdc.sampleapps.musicstore.ws
Class CartItem
java.lang.Object
org.apache.taglibs.rdc.sampleapps.musicstore.ws.Item
org.apache.taglibs.rdc.sampleapps.musicstore.ws.CartItem
- All Implemented Interfaces:
- java.io.Serializable
public class CartItem
- extends Item
A cart item (item containing additional details about the cart in which
it is currently placed).
- Author:
- Jaroslav Gergic
- See Also:
- Serialized Form
Constructor Summary |
CartItem(java.lang.String cartitemId,
java.lang.String asin,
java.lang.String merchantId,
int quantity,
java.lang.String title,
java.lang.String group,
int listPrice)
|
Method Summary |
java.lang.String |
getCartItemId()
Access method for the cartitemId property. |
java.lang.String |
getMerchantId()
Access method for the merchantId property. |
int |
getQuantity()
Access method for the quantity property. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
cartitemId
protected java.lang.String cartitemId
merchantId
protected java.lang.String merchantId
quantity
protected int quantity
CartItem
public CartItem(java.lang.String cartitemId,
java.lang.String asin,
java.lang.String merchantId,
int quantity,
java.lang.String title,
java.lang.String group,
int listPrice)
- Parameters:
cartitemId
- asin
- merchantId
- quantity
- title
- group
- listPrice
-
getCartItemId
public java.lang.String getCartItemId()
- Access method for the cartitemId property.
- Returns:
- the current value of the cartitemId property
getMerchantId
public java.lang.String getMerchantId()
- Access method for the merchantId property.
- Returns:
- the current value of the merchantId property
getQuantity
public int getQuantity()
- Access method for the quantity property.
- Returns:
- the current value of the quantity property
toString
public java.lang.String toString()
- Overrides:
toString
in class Item
- Returns:
- java.lang.String
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.