atg.commerce.csr.returns
Class ReturnShippingGroup

java.lang.Object
  extended by atg.commerce.csr.returns.ReturnShippingGroup
All Implemented Interfaces:
java.io.Serializable

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

This class represents a collection of items from an existing order that were grouped together in a specific shipping group.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ReturnShippingGroup(ShippingGroup pShippingGroup)
          Initialize a ReturnShippingGroup based on the given shipping group
 
Method Summary
static ReturnShippingGroup getInstance(ShippingGroup pShippingGroup)
          Deprecated.  
 java.util.List getItemList()
          Returns list of items that can be included in this return
 ShippingGroup getShippingGroup()
          Returns shipping group related to this return group
protected  void setItemList(java.util.List pItemList)
          Sets the list of commerce items contained in this shipping group
protected  void setShippingGroup(ShippingGroup pShippingGroup)
          Sets the shipping group related to this return group
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

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

See Also:
Constant Field Values
Constructor Detail

ReturnShippingGroup

public ReturnShippingGroup(ShippingGroup pShippingGroup)
Initialize a ReturnShippingGroup based on the given shipping group

See Also:
#see {@link #setItemList(List)}, setShippingGroup(ShippingGroup)
Method Detail

setItemList

protected void setItemList(java.util.List pItemList)
Sets the list of commerce items contained in this shipping group

Parameters:
pItemList - the list of commerce items contained in this shipping group

getItemList

public java.util.List getItemList()
Returns list of items that can be included in this return


setShippingGroup

protected void setShippingGroup(ShippingGroup pShippingGroup)
Sets the shipping group related to this return group

Parameters:
pShippingGroup - the shipping group related to this return

getShippingGroup

public ShippingGroup getShippingGroup()
Returns shipping group related to this return group


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
a String representation of this object

getInstance

public static ReturnShippingGroup getInstance(ShippingGroup pShippingGroup)
Deprecated. 

This method calls ReturnShippingGroup(ShippingGroup) to create
instance of ReturnShippingGroup.

Parameters:
pShippingGroup - The shipping group is used to create ReturnItem list.
Returns:
ReturnShippingGroup