public class AddCommerceItemInfo
extends java.lang.Object
CartModifierFormHandler.items
array, which is used
by the form handler's methods for adding items to an order.CartModifierFormHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected java.lang.String |
mCatalogRefId |
protected java.lang.String |
mCommerceItemType |
protected java.lang.String |
mGiftlistId |
protected java.lang.String |
mGiftlistItemId |
protected java.lang.String |
mLocationId |
protected java.lang.String |
mProductId |
protected long |
mQuantity |
protected java.lang.String |
mShippingGroupType |
protected java.lang.String |
mSiteId |
Constructor and Description |
---|
AddCommerceItemInfo() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalogRefId()
Returns the catalog reference ID (SKU) to use for a new commerce item
|
java.lang.String |
getCommerceItemType()
Returns the commerce item type to use for a new item
|
java.lang.String |
getGiftlistId()
Returns the giftlist ID associated with a new commerce item
|
java.lang.String |
getGiftlistItemId()
Returns the giftlist item ID associated with a new commerce item
|
java.lang.String |
getLocationId() |
java.lang.String |
getProductId()
Returns the product ID to use for a new commerce item
|
long |
getQuantity()
Returns the quantity to add for a new commerce item
|
java.lang.String |
getShippingGroupType() |
java.lang.String |
getSiteId()
Returns the site ID to use for a new commerce item
|
java.util.Dictionary |
getValue()
Returns a
Dictionary of property values associated
with a new commerce item |
void |
setCatalogRefId(java.lang.String pCatalogRefId)
Sets the catalog reference ID (SKU) to use for a new commerce item
|
void |
setCommerceItemType(java.lang.String pCommerceItemType)
Sets the commerce item type to use for a new item
|
void |
setGiftlistId(java.lang.String pGiftlistId)
Sets the giftlist ID associated with a new commerce item
|
void |
setGiftlistItemId(java.lang.String pGiftlistItemId)
Sets the giftlist item ID associated with a new commerce item
|
void |
setLocationId(java.lang.String pLocationId) |
void |
setProductId(java.lang.String pProductId)
Sets the product ID to use for a new commerce item
|
void |
setQuantity(long pQuantity)
Sets the quantity to add for a new commerce item
|
void |
setShippingGroupType(java.lang.String pShippingGroupType)
Sets the shipping group type to use for a new item
|
void |
setSiteId(java.lang.String pSiteId)
Sets the site ID to use for a new commerce item
|
public static java.lang.String CLASS_VERSION
protected java.lang.String mCatalogRefId
protected java.lang.String mProductId
protected java.lang.String mSiteId
protected long mQuantity
protected java.lang.String mGiftlistId
protected java.lang.String mGiftlistItemId
protected java.lang.String mCommerceItemType
protected java.lang.String mShippingGroupType
protected java.lang.String mLocationId
public void setCatalogRefId(java.lang.String pCatalogRefId)
public java.lang.String getCatalogRefId()
public void setProductId(java.lang.String pProductId)
public java.lang.String getProductId()
public void setSiteId(java.lang.String pSiteId)
public java.lang.String getSiteId()
public void setQuantity(long pQuantity)
public long getQuantity()
public void setGiftlistId(java.lang.String pGiftlistId)
public java.lang.String getGiftlistId()
public void setGiftlistItemId(java.lang.String pGiftlistItemId)
public java.lang.String getGiftlistItemId()
public java.util.Dictionary getValue()
Dictionary
of property values associated
with a new commerce itempublic void setCommerceItemType(java.lang.String pCommerceItemType)
atg.commerce.order.OrderTools.commerceItemTypeClassMap
public java.lang.String getCommerceItemType()
public void setShippingGroupType(java.lang.String pShippingGroupType)
pShippingGroupType
- the shipping group type to setatg.commerce.order.OrderTools.shippingTypeClassMap
public java.lang.String getShippingGroupType()
public java.lang.String getLocationId()
public void setLocationId(java.lang.String pLocationId)
pLocationId
- the locationId to set