public class GenericRemove extends IdContainerModification
This class is used to remove an object specified by id from a container specified by id. If an item, shipping group or payment group is removed from an order, it is removed from any relationships it has with it's peers. For example if an item is removed from an order it is also implicitly removed from all shipping groups and payment groups it was in.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
ADD, PAYMENT_GROUP_UPDATE, REMOVE, SHIPPING_GROUP_UPDATE, STATUS_FAILED, STATUS_PENDING, STATUS_SUCCESS, TARGET_ITEM, TARGET_ORDER, TARGET_PAYMENT_GROUP, TARGET_RELATIONSHIP, TARGET_SHIPPING_GROUP, UPDATE| Constructor and Description |
|---|
GenericRemove() |
| Modifier and Type | Method and Description |
|---|---|
int |
getModificationType()
This is a read-only property in this implementation.
|
void |
setModificationType(int pModificationType)
This method sets the modification type.
|
java.lang.String |
toString()
This method returns a readable string representing the contents of this message.
|
getContainerId, getContainerType, setContainerId, setContainerTypegetTargetId, getTargetType, setTargetId, setTargetTypegetModificationId, getModificationStatus, getModificationStatusText, setModificationId, setModificationStatus, setModificationStatusTextpublic void setModificationType(int pModificationType)
ModificationsetModificationType in class Modificationpublic int getModificationType()
getModificationType in class ModificationModification.REMOVEpublic java.lang.String toString()
toString in class java.lang.Object