| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.commerce.fulfillment.Modification
public abstract class Modification
This is the base class for all forms of modifications that can be applied to an Order through the ModifyOrder message and all results returned with the ModifyOrderNotification.
| Field Summary | |
|---|---|
| static int | ADDThis constant is the modification type add, this means add a new object. | 
| static java.lang.String | CLASS_VERSIONClass version string | 
| static int | PAYMENT_GROUP_UPDATEThis constant is the modification type update. | 
| static int | REMOVEThis constant is the modification type remove, this means remove an existing object. | 
| static int | SHIPPING_GROUP_UPDATEThis constant is the modification type update. | 
| static int | STATUS_FAILEDThis modification failed, there may be more detail in the text. | 
| static int | STATUS_PENDINGThis modification has not been processed yet. | 
| static int | STATUS_SUCCESSThis modification was complete successfuly, there may still be more detail in the text. | 
| static int | TARGET_ITEMThis constant is used to identify the target of a modification as an item. | 
| static int | TARGET_ORDERThis constant is used to identify the target of a modification as an order. | 
| static int | TARGET_PAYMENT_GROUPThis constant is used to identify the target of a modification as a payment group. | 
| static int | TARGET_RELATIONSHIPThis constant is used to identify the target of a modification as a Relationship | 
| static int | TARGET_SHIPPING_GROUPThis constant is used to identify the target of a modification as a shipping group. | 
| static int | UPDATEThis constant is the modification type update, this means modify the value of one or more properties of an object. | 
| Constructor Summary | |
|---|---|
| Modification() | |
| Method Summary | |
|---|---|
|  java.lang.String | getModificationId()This returns the id of this modification. | 
|  int | getModificationStatus()The status of this modification. | 
|  java.lang.String | getModificationStatusText()Additional text that may qualify the status code. | 
|  int | getModificationType()This method returns the type of modification that is to be performed. | 
|  java.lang.String | setModificationId(java.lang.String pModificationId)Sets the id of this modification. | 
|  void | setModificationStatus(int pModificationStatus)Sets the status of this modification. | 
|  void | setModificationStatusText(java.lang.String pModificationStatusText)Additional text that may qualify the status code. | 
|  void | setModificationType(int pModificationType)This method sets the modification type. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
public static final int ADD
public static final int REMOVE
public static final int UPDATE
public static final int SHIPPING_GROUP_UPDATE
public static final int PAYMENT_GROUP_UPDATE
public static final int TARGET_ITEM
public static final int TARGET_SHIPPING_GROUP
public static final int TARGET_PAYMENT_GROUP
public static final int TARGET_ORDER
public static final int TARGET_RELATIONSHIP
public static final int STATUS_PENDING
public static final int STATUS_SUCCESS
public static final int STATUS_FAILED
| Constructor Detail | 
|---|
public Modification()
| Method Detail | 
|---|
public java.lang.String getModificationId()
public java.lang.String setModificationId(java.lang.String pModificationId)
public int getModificationType()
public void setModificationType(int pModificationType)
public int getModificationStatus()
public void setModificationStatus(int pModificationStatus)
public java.lang.String getModificationStatusText()
public void setModificationStatusText(java.lang.String pModificationStatusText)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||