|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.commerce.order.CommerceIdentifierImpl
atg.commerce.order.OrderImpl
atg.projects.store.order.StoreOrderImpl
public class StoreOrderImpl
Extension to order class.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string. |
static java.lang.String |
GIFT_MESSAGE_FROM_KEY
Gift message from key name. |
static java.lang.String |
GIFT_MESSAGE_KEY
Gift message key name. |
static java.lang.String |
GIFT_MESSAGE_TO_KEY
Gift message to key name. |
static java.lang.String |
SAMPLE_COMMERCE_ITEM_TYPE
Sample commerce item type. |
| Fields inherited from class atg.commerce.order.OrderImpl |
|---|
mCommerceItemContainer, mInitialized, mInvalidated, mPaymentGroupContainer, mPaymentGroupRelationshipContainer, mRelationshipContainer, mShippingGroupContainer |
| Constructor Summary | |
|---|---|
StoreOrderImpl()
|
|
| Method Summary | |
|---|---|
void |
addOmsSegment(java.lang.String pOmsSegment)
Sets the OMS segments. |
java.lang.String |
getAcknowledgableTransactionId()
Returns the Acknowledgable Transaction Id. |
boolean |
getContainsGiftMessage()
Checks to see if this order has a gift message special instruction. |
boolean |
getContainsGiftWrap()
Checks to see if this order is gift wrapped or not. |
java.lang.String |
getCouponCode()
|
boolean |
getGiftMessagePopulated()
Determines if user has entered gift message. |
java.lang.String |
getOmsOrderId()
|
java.util.List |
getOmsSegments()
|
java.util.List |
getTrackingInfos()
Gets the shipment tracking information objects for the order. |
void |
removeAllOmsSegments()
Removes all OMS segments from order. |
void |
setAcknowledgableTransactionId(java.lang.String pAcknowledgableTransactionId)
Sets the Acknowledgable Transaction Id. |
void |
setCouponCode(java.lang.String pCouponCode)
Sets the code for the coupon redeemed for this order. |
void |
setGiftMessage(java.lang.String pMessageTo,
java.lang.String pMessage,
java.lang.String pMessageFrom)
Sets the gift message. |
void |
setOmsOrderId(java.lang.String pOmsId)
Sets the SAP order id. |
void |
setTrackingInfos(java.util.List pTrackingInfos)
Sets the shipment tracking information objects for the order. |
java.lang.String |
toString()
Method that renders the general order information in a readable string format. |
| Methods inherited from class atg.commerce.order.OrderImpl |
|---|
addChangedProperty, addCommerceItem, addCommerceItem, addOrderIdToRelatedOrders, addPaymentGroup, addPaymentGroup, addPaymentGroupRelationship, addPaymentGroupRelationship, addRelationship, addRelationship, addShippingGroup, addShippingGroup, clearChangedProperties, ensureContainers, equals, getAgentId, getChangedProperties, getCommerceItem, getCommerceItemCount, getCommerceItems, getCommerceItemsByCatalogRefId, getCompletedDate, getCompletedTime, getCreatedByOrderId, getCreationDate, getCreationTime, getDescription, getLastModifiedDate, getLastModifiedTime, getManualAdjustments, getOrderClassType, getOriginOfOrder, getPaymentGroup, getPaymentGroupCount, getPaymentGroupRelationship, getPaymentGroupRelationshipCount, getPaymentGroupRelationships, getPaymentGroups, getPriceInfo, getPriceInfoRepositoryItem, getProfileId, getPropertyValue, getRelatedOrders, getRelationship, getRelationshipCount, getRelationships, getRepositoryItem, getSalesChannel, getSaveAllProperties, getShippingGroup, getShippingGroupCount, getShippingGroups, getSpecialInstructions, getState, getStateAsString, getStateAsUserResource, getStateDetail, getStateDetailAsUserResource, getSubmittedDate, getSubmittedTime, getTaxPriceInfo, getTaxPriceInfoRepositoryItem, getTotalCommerceItemCount, getVersion, hashCode, invalidateOrder, isChanged, isExplicitlySaved, isTransient, preEnsureContainers, removeAllCommerceItems, removeAllPaymentGroupRelationships, removeAllPaymentGroups, removeAllRelationships, removeAllShippingGroups, removeCommerceItem, removePaymentGroup, removePaymentGroupRelationship, removeRelationship, removeShippingGroup, setAgentId, setChanged, setCompletedDate, setCompletedTime, setCreatedByOrderId, setCreationDate, setCreationTime, setDescription, setExplicitlySaved, setLastModifiedDate, setLastModifiedTime, setManualAdjustments, setOrderClassType, setOriginOfOrder, setPriceInfo, setPriceInfoRepositoryItem, setProfileId, setPropertyValue, setRepositoryItem, setSalesChannel, setSaveAllProperties, setSpecialInstructions, setState, setStateAsString, setStateDetail, setSubmittedDate, setSubmittedTime, setTaxPriceInfo, setTaxPriceInfoRepositoryItem, setTransient, setVersion, update, updateVersion |
| Methods inherited from class atg.commerce.order.CommerceIdentifierImpl |
|---|
getId, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface atg.commerce.order.CommerceIdentifier |
|---|
getId |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
public static final java.lang.String GIFT_MESSAGE_TO_KEY
public static final java.lang.String GIFT_MESSAGE_KEY
public static final java.lang.String GIFT_MESSAGE_FROM_KEY
public static final java.lang.String SAMPLE_COMMERCE_ITEM_TYPE
| Constructor Detail |
|---|
public StoreOrderImpl()
| Method Detail |
|---|
public java.lang.String getCouponCode()
public void setCouponCode(java.lang.String pCouponCode)
pCouponCode - - the code for the coupon redeemed for this orderpublic java.lang.String getOmsOrderId()
public void setOmsOrderId(java.lang.String pOmsId)
pOmsId - - the SAP order idpublic java.lang.String getAcknowledgableTransactionId()
public void setAcknowledgableTransactionId(java.lang.String pAcknowledgableTransactionId)
pAcknowledgableTransactionId - - the Acknowledgable Transaction Idpublic java.util.List getOmsSegments()
public void setTrackingInfos(java.util.List pTrackingInfos)
pTrackingInfos - - the shipment tracking information objects for the orderpublic java.util.List getTrackingInfos()
public void addOmsSegment(java.lang.String pOmsSegment)
pOmsSegment - - list of OMS segmentspublic void removeAllOmsSegments()
public boolean getContainsGiftWrap()
public boolean getContainsGiftMessage()
public void setGiftMessage(java.lang.String pMessageTo,
java.lang.String pMessage,
java.lang.String pMessageFrom)
pMessageTo - the message to fieldpMessage - the message fieldpMessageFrom - the message from fieldpublic boolean getGiftMessagePopulated()
public java.lang.String toString()
toString in class atg.commerce.order.OrderImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||