public class ShoppingCartItem extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
LAST_ID_LOT_FOR_ANONYMOUS_USER
Last id of lot of user for an anonymous user
|
static int |
NEW_ID_LOT_FOR_ANONYMOUS_USER
New id lot of an anonymous user
|
| Constructor and Description |
|---|
ShoppingCartItem() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Date |
getDateCreation()
Get the creation date of this shopping item
|
int |
getIdItem()
Returns the IdItem
|
int |
getIdLot()
Returns the id of the lot
|
String |
getIdProvider()
Returns the id of the service that provides the item
|
String |
getIdResource()
Returns the id of the resource added to the shopping cart
|
String |
getIdUser()
Returns the id of the user
|
double |
getItemPrice()
Returns the price of the item
|
String |
getResourceType()
Returns the type of the resource added to the shopping cart
|
int |
hashCode() |
void |
setDateCreation(Date dateCreation)
Set the creation date of this shopping item
|
void |
setIdItem(int nIdItem)
Sets the IdItem
|
void |
setIdLot(int nIdLot)
Sets the id of the lot
|
void |
setIdProvider(String strIdProvider)
Sets the id of the service that provides the item
|
void |
setIdResource(String strIdResource)
Sets the id of the resource added to the shopping cart
|
void |
setIdUser(String strIdUser)
Sets the id of the user
|
void |
setItemPrice(double dItemPrice)
Sets the price of the item
|
void |
setResourceType(String strResourceType)
Sets the type of the resource added to the shopping cart
|
public static final int NEW_ID_LOT_FOR_ANONYMOUS_USER
public static final int LAST_ID_LOT_FOR_ANONYMOUS_USER
public int getIdItem()
public void setIdItem(int nIdItem)
nIdItem - The IdItempublic String getIdProvider()
public void setIdProvider(String strIdProvider)
strIdProvider - The id of the service that provides the itempublic int getIdLot()
public void setIdLot(int nIdLot)
nIdLot - The id of the lotpublic String getIdUser()
public void setIdUser(String strIdUser)
strIdUser - The id of the userpublic String getResourceType()
public void setResourceType(String strResourceType)
strResourceType - The type of the resource added to the shopping
cartpublic String getIdResource()
public void setIdResource(String strIdResource)
strIdResource - The id of the resource added to the shopping cartpublic double getItemPrice()
public void setItemPrice(double dItemPrice)
dItemPrice - The price of the itempublic Date getDateCreation()
public void setDateCreation(Date dateCreation)
dateCreation - The creation date of this shopping itemCopyright © 2014 Mairie de Paris. All rights reserved.