|
||||||||||
| 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, mCostCenterContainer, mCostCenterRelationshipContainer, mInitialized, mInvalidated, mPaymentGroupContainer, mPaymentGroupRelationshipContainer, mRelationshipContainer, mShippingGroupContainer |
| Constructor Summary | |
|---|---|
StoreOrderImpl()
|
|
| Method Summary | |
|---|---|
void |
addOmsSegment(java.lang.String pOmsSegment)
Sets the OMS segments. |
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. |
boolean |
getGiftMessagePopulated()
Determines if user has entered gift message. |
GiftWrapCommerceItem |
getGiftWrapItem()
Returns gift wrap commerce item. |
java.lang.String |
getOmsOrderId()
|
java.util.List |
getOmsSegments()
|
double |
getStoreCreditsAppliedTotal()
This is a read-only property getter. |
boolean |
isShouldAddGiftNote()
|
boolean |
removeAddress(java.lang.String pShippingGroupId)
Removes an Address associated with this orders shipping group |
void |
removeAllOmsSegments()
Removes all OMS segments from 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 |
setShouldAddGiftNote(boolean pShouldAddGiftNote)
|
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, addCostCenter, addCostCenter, addCostCenterRelationship, addCostCenterRelationship, addOrderIdToRelatedOrders, addPaymentGroup, addPaymentGroup, addPaymentGroupRelationship, addPaymentGroupRelationship, addRelationship, addRelationship, addShippingGroup, addShippingGroup, clearChangedProperties, ensureContainers, equals, getAgentId, getApprovalSystemMessages, getApproverIds, getApproverMessages, getAuthorizedApproverIds, getChangedProperties, getCommerceItem, getCommerceItemCount, getCommerceItems, getCommerceItemsByCatalogRefId, getCompletedDate, getCompletedTime, getCostCenter, getCostCenterCount, getCostCenterRelationship, getCostCenterRelationshipCount, getCostCenterRelationships, getCostCenters, getCreatedByOrderId, getCreationDate, getCreationSiteId, 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, getSiteId, getSpecialInstructions, getState, getStateAsString, getStateAsUserResource, getStateDetail, getStateDetailAsUserResource, getSubmittedDate, getSubmittedTime, getTaxPriceInfo, getTaxPriceInfoRepositoryItem, getTotalCommerceItemCount, getVersion, hashCode, invalidateOrder, isChanged, isExplicitlySaved, isTransient, preEnsureContainers, removeAllCommerceItems, removeAllCostCenterRelationships, removeAllCostCenters, removeAllPaymentGroupRelationships, removeAllPaymentGroups, removeAllRelationships, removeAllShippingGroups, removeCommerceItem, removeCostCenter, removeCostCenterRelationship, removePaymentGroup, removePaymentGroupRelationship, removeRelationship, removeShippingGroup, repositionCommerceItem, setAgentId, setApprovalSystemMessages, setApproverIds, setApproverMessages, setAuthorizedApproverIds, setChanged, setCompletedDate, setCompletedTime, setCreatedByOrderId, setCreationDate, setCreationSiteId, setCreationTime, setDescription, setExplicitlySaved, setLastModifiedDate, setLastModifiedTime, setManualAdjustments, setOrderClassType, setOriginOfOrder, setPriceInfo, setPriceInfoRepositoryItem, setProfileId, setPropertyValue, setRepositoryItem, setSalesChannel, setSaveAllProperties, setSiteId, 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 final 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 boolean isShouldAddGiftNote()
public void setShouldAddGiftNote(boolean pShouldAddGiftNote)
pShouldAddGiftNote - the shouldAddGiftNote to setpublic java.lang.String getOmsOrderId()
public void setOmsOrderId(java.lang.String pOmsId)
pOmsId - - the SAP order idpublic java.util.List getOmsSegments()
public void addOmsSegment(java.lang.String pOmsSegment)
pOmsSegment - - list of OMS segmentspublic void removeAllOmsSegments()
public boolean getContainsGiftWrap()
public GiftWrapCommerceItem getGiftWrapItem()
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 double getStoreCreditsAppliedTotal()
storeCreditsAppliedTotal property contains total amount of store credits applied to the current order.
public boolean removeAddress(java.lang.String pShippingGroupId)
pShippingGroupId - The shipping groups id from which to remove the
address
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 | |||||||||