atg.projects.store.order.purchase
Class StoreAddCommerceItemInfo

java.lang.Object
  extended by atg.commerce.order.purchase.AddCommerceItemInfo
      extended by atg.projects.store.order.purchase.StoreAddCommerceItemInfo

public class StoreAddCommerceItemInfo
extends atg.commerce.order.purchase.AddCommerceItemInfo

This class extends AddCommerceItemInfo to add shipping information.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string.
protected  java.lang.String mOldShippingGroupId
          Old shipping group id.
protected  atg.commerce.order.ShippingGroup mShippingGroup
          Shipping group.
protected  java.util.Map mShippingInfo
          Shipping information.
 
Fields inherited from class atg.commerce.order.purchase.AddCommerceItemInfo
mCatalogRefId, mCommerceItemType, mGiftlistId, mGiftlistItemId, mProductId, mQuantity, mShippingGroupType
 
Constructor Summary
StoreAddCommerceItemInfo()
           
 
Method Summary
 java.lang.String getOldShippingGroupId()
           
 atg.commerce.order.ShippingGroup getShippingGroup()
           
 java.util.Map getShippingInfo()
           
 void setOldShippingGroupId(java.lang.String pOldShippingGroupId)
          Sets the ID of the shipping group used for an old item.
 void setShippingGroup(atg.commerce.order.ShippingGroup pShippingGroup)
          Sets the shipping group to use for a new item.
 void setShippingInfo(java.util.Map pShippingInfo)
          Sets the Map containing information to be associated with a new item's ShippingGroup.
 
Methods inherited from class atg.commerce.order.purchase.AddCommerceItemInfo
getCatalogRefId, getCommerceItemType, getGiftlistId, getGiftlistItemId, getProductId, getQuantity, getShippingGroupType, getValue, setCatalogRefId, setCommerceItemType, setGiftlistId, setGiftlistItemId, setProductId, setQuantity, setShippingGroupType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string.


mOldShippingGroupId

protected java.lang.String mOldShippingGroupId
Old shipping group id.


mShippingGroup

protected atg.commerce.order.ShippingGroup mShippingGroup
Shipping group.


mShippingInfo

protected java.util.Map mShippingInfo
Shipping information.

Constructor Detail

StoreAddCommerceItemInfo

public StoreAddCommerceItemInfo()
Method Detail

setOldShippingGroupId

public void setOldShippingGroupId(java.lang.String pOldShippingGroupId)
Sets the ID of the shipping group used for an old item.

Parameters:
pOldShippingGroupId - - old shipping group id

getOldShippingGroupId

public java.lang.String getOldShippingGroupId()
Returns:
the ID of the shipping group used for an old item.

setShippingGroup

public void setShippingGroup(atg.commerce.order.ShippingGroup pShippingGroup)
Sets the shipping group to use for a new item.

Parameters:
pShippingGroup - - shipping group

getShippingGroup

public atg.commerce.order.ShippingGroup getShippingGroup()
Returns:
the shipping group to use for a new item.

setShippingInfo

public void setShippingInfo(java.util.Map pShippingInfo)
Sets the Map containing information to be associated with a new item's ShippingGroup.

Parameters:
pShippingInfo - - shipping information

getShippingInfo

public java.util.Map getShippingInfo()
Returns:
a Map containing information to be associated with a new item's ShippingGroup.