|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.commerce.order.purchase.PurchaseProcessHelper atg.projects.store.order.purchase.StorePurchaseProcessHelper atg.projects.store.order.purchase.StoreCommitOrderProcessHelper
public class StoreCommitOrderProcessHelper
This class performs logic necessary for the commit-order process
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.projects.store.order.purchase.StorePurchaseProcessHelper |
---|
MSG_MISSING_REQUIRED_ADDRESS_PROPERTY, MSG_MULTIPLE_COUPONS_PER_ORDER, MSG_UNCLAIMABLE_COUPON, PRICING_ERROR, PRICING_ERROR_ADDRESS |
Fields inherited from class atg.commerce.order.purchase.PurchaseProcessHelper |
---|
ERROR_FETCHING_PROFILE, MSG_ERROR_ADDING_CREDIT_CARD, MSG_ERROR_ADDING_SHIPPINGGROUP, MSG_ERROR_ADDING_TO_ORDER, MSG_ERROR_CREATING_ORDER, MSG_ERROR_MOVING_ITEM_BETWEEN_SHIPPING_GROUPS, MSG_ERROR_PROCESS_ADD_ITEM_CHAIN, MSG_ERROR_REMOVING_ITEM, MSG_ERROR_REMOVING_ITEM_FROM_SHIPPING_GROUP, MSG_ERROR_REPRICING_ORDER_AFTER_ADD_ITEM, MSG_ERROR_SETTING_ORDER_AMOUNT, MSG_INVALID_PROFILE_ID |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
StoreCommitOrderProcessHelper()
|
Method Summary | |
---|---|
void |
addEmailToAnonymousUser(java.lang.String pEmailAddress,
atg.repository.RepositoryItem pProfile)
Add the e-mail provided by an anonymous shopper to the profile |
void |
addEmailToCreditCard(atg.commerce.order.Order pOrder,
atg.repository.RepositoryItem pProfile)
Adds the profile's e-mail address to the credit cart |
void |
doPostCommitOrderProcessing(StoreOrderImpl pStoreOrder,
atg.repository.RepositoryItem pProfile)
Makes post commit order processing: setting profile's last purchase date, number of orders and bought items, order's OMS order id, inventory managing. |
void |
updateProfileIdOnOrder(atg.commerce.order.Order pOrder,
atg.repository.RepositoryItem pProfile)
Makes sure that the profile id is set correctly on the order. |
boolean |
validateCreditCardVerificationNumber(atg.commerce.order.Order pOrder,
java.lang.String pCcv)
validates the credit card verification number on the order, if required. |
Methods inherited from class atg.commerce.order.purchase.PurchaseProcessHelper |
---|
addCreditCardToOrder, addItemsToOrder, addItemsToOrder, addShippingAddressToOrder, adjustItemRelationshipsForQuantityChange, adjustNonGiftHandlingInstructionsForQuantityDecrease, adjustNonGiftHandlingInstructionsForQuantityIncrease, applyValueDictionary, copyCreditCardInfo, createCommerceItem, createConfigurableSubitems, createOrder, decreaseRelationshipQuantity, deleteItems, deleteItems, getAddItemToOrderChainId, getAddItemToOrderPricingOp, getCommerceItemManager, getDefaultHardgoodShippingGroupType, getDeleteItemsFromOrderPricingOp, getGiftlistManager, getOrderManager, getPipelineManager, getRepriceOrderChainId, getShippingGroupForItem, getShippingGroupManager, getTransactionManager, increaseRelationshipQuantity, isAddItemToDefaultShippingGroup, isTransactionMarkedAsRollBack, moveItemBetweenShippingGroups, processPipelineErrors, removeEntireRelationshipQuantity, removeItemQuantityFromShippingGroup, runProcess, runProcess, runProcess, runProcessAddItemToOrder, runProcessRepriceOrder, runProcessSendScenarioEvent, runProcessSendScenarioEvent, runRepricingProcess, setAddItemToDefaultShippingGroup, setAddItemToOrderChainId, setAddItemToOrderPricingOp, setCommerceItemManager, setCommerceItemProperties, setDefaultHardgoodShippingGroupType, setDeleteItemsFromOrderPricingOp, setGiftlistManager, setOrderAmountToPaymentGroup, setOrderManager, setPipelineManager, setRepriceOrderChainId, setShippingGroupManager, setTransactionManager |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
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
Constructor Detail |
---|
public StoreCommitOrderProcessHelper()
Method Detail |
---|
public boolean validateCreditCardVerificationNumber(atg.commerce.order.Order pOrder, java.lang.String pCcv)
pOrder
- - An Order
value.pCcv
- - The credit card verification number
public void addEmailToCreditCard(atg.commerce.order.Order pOrder, atg.repository.RepositoryItem pProfile)
pOrder
- - An Order
valuepProfile
- - A RepositoryItem
valuepublic void updateProfileIdOnOrder(atg.commerce.order.Order pOrder, atg.repository.RepositoryItem pProfile)
pOrder
- - An Order
value.pProfile
- - A RepositoryItem
value.public void addEmailToAnonymousUser(java.lang.String pEmailAddress, atg.repository.RepositoryItem pProfile)
pEmailAddress
- - E-mail address as a String
value.pProfile
- - Profile to add the e-mail address too, a RepositoryItem
value.public void doPostCommitOrderProcessing(StoreOrderImpl pStoreOrder, atg.repository.RepositoryItem pProfile) throws atg.repository.RepositoryException
pStoreOrder
- - The last order, a StoreOrderImpl
value.pProfile
- - A RepositoryItem
value.
atg.repository.RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |