public class HandlingInstructionInfo
extends java.lang.Object
implements java.io.Serializable
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.
CommerceItemShippingInfoTools
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Constructor and Description |
---|
HandlingInstructionInfo()
Creates a new
HandlingInstructionInfo instance. |
HandlingInstructionInfo(HandlingInstruction pHandlingInstruction)
Creates a new
HandlingInstructionInfo instance. |
Modifier and Type | Method and Description |
---|---|
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
|
public HandlingInstructionInfo()
HandlingInstructionInfo
instance.public HandlingInstructionInfo(HandlingInstruction pHandlingInstruction)
HandlingInstructionInfo
instance.public void setHandlingInstruction(HandlingInstruction pHandlingInstruction)
HandlingInstruction
- a HandlingInstruction
valuepublic HandlingInstruction getHandlingInstruction()
CommerceItem
valuepublic void setQuantity(long pQuantity)
pQuantity
- a long
valuepublic long getQuantity()
long
valuepublic java.lang.String toString()
toString
in class java.lang.Object