atg.commerce.order.purchase
Class HandlingInstructionInfo

java.lang.Object
  extended by atg.commerce.order.purchase.HandlingInstructionInfo
All Implemented Interfaces:
java.io.Serializable

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

This class is used to store handling instruction information for a commerce item on the CommerceItemShippingInfo. Each CommerceItemShippingInfo object contains a List of these objects for detailing the item's handling instructions within shipping group referenced by the CommerceItemShippingInfo.

Objects of this type are generated by CommerceItemShippingInfoTools when creating CommerceItemShippingInfo objects for the CommerceItemShippingInfoContainer.

These objects are used to split and merge the handling instructions along with their associated commerce item.

See Also:
CommerceItemShippingInfoTools, Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
HandlingInstructionInfo()
          Creates a new HandlingInstructionInfo instance.
HandlingInstructionInfo(HandlingInstruction pHandlingInstruction)
          Creates a new HandlingInstructionInfo instance.
 
Method Summary
 HandlingInstruction getHandlingInstruction()
          Return the HandlingInstruction property.
 long getQuantity()
          Return the Quantity property.
 void setHandlingInstruction(HandlingInstruction pHandlingInstruction)
          Set the HandlingInstruction property.
 void setQuantity(long pQuantity)
          Set the Quantity property.
 java.lang.String toString()
          Method that renders the general order information in a readable string format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

HandlingInstructionInfo

public HandlingInstructionInfo()
Creates a new HandlingInstructionInfo instance.


HandlingInstructionInfo

public HandlingInstructionInfo(HandlingInstruction pHandlingInstruction)
Creates a new HandlingInstructionInfo instance.

Method Detail

setHandlingInstruction

public void setHandlingInstruction(HandlingInstruction pHandlingInstruction)
Set the HandlingInstruction property.

Parameters:
HandlingInstruction - a HandlingInstruction value

getHandlingInstruction

public HandlingInstruction getHandlingInstruction()
Return the HandlingInstruction property.

Returns:
a CommerceItem value

setQuantity

public void setQuantity(long pQuantity)
Set the Quantity property.

Parameters:
pQuantity - a long value

getQuantity

public long getQuantity()
Return the Quantity property.

Returns:
a long value

toString

public java.lang.String toString()
Method that renders the general order information in a readable string format

Overrides:
toString in class java.lang.Object