|
||||||||||
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.droplet.EmptyFormHandler atg.droplet.GenericFormHandler atg.commerce.order.purchase.PurchaseProcessFormHandler atg.commerce.order.purchase.ExpressCheckoutFormHandler atg.projects.store.order.purchase.StoreExpressCheckoutFormHandler
public class StoreExpressCheckoutFormHandler
This class is needed to get the billing address from the credit card rather than the user's default billing address.
ExpressCheckoutFormHandler
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string. |
Fields inherited from class atg.commerce.order.purchase.ExpressCheckoutFormHandler |
---|
ERROR_MISSING_BILLING_ADDRESS, ERROR_MISSING_CREDIT_CARD, ERROR_MISSING_SHIPPING_ADDRESS, MSG_EXPRESS_CHECKOUT_ERROR, MSG_ORDER_ALREADY_SUBMITTED, MSG_REPRICE_ORDER_ERROR, MSG_UNABLE_TO_COPY_ADDRESS, MSG_UPDATE_ORDER_ERROR |
Fields inherited from class atg.commerce.order.purchase.PurchaseProcessFormHandler |
---|
LOCK_NAME_ATTRIBUTE_NAME, PARAM_TRANSACTION_CREATED, PARAM_VALUE_TRUE |
Fields inherited from class atg.droplet.GenericFormHandler |
---|
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS |
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 | |
---|---|
StoreExpressCheckoutFormHandler()
|
Method Summary | |
---|---|
protected void |
ensurePaymentGroup(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This method overrides the super class to apply the address from the credit card rather than from the user's "default billing". |
protected void |
ensureShippingGroup(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This extends the base behavior to set the shipping method for all gift shipping groups to the profile's default shipping method. |
StoreBillingProcessHelper |
getBillingHelper()
|
CheckoutProgressStates |
getCheckoutProgressStates()
|
StoreExpressCheckoutProcessHelper |
getExpressCheckoutHelper()
|
atg.commerce.order.ShippingGroup |
getShippingGroup()
Overrides base behavior to return non gift hardgood shipping group. |
StorePropertyManager |
getStorePropertyManager()
|
boolean |
isAutoApplyStoreCredits()
Return the AutoApplyStoreCredits property. |
void |
moveNonGiftItemsToDefaultShippingGroup()
Checks whether order contains multiple non-gift shipping groups with relationships and if so moves items from non gift shipping groups to the default shipping group. |
void |
postExpressCheckout(atg.servlet.DynamoHttpServletRequest request,
atg.servlet.DynamoHttpServletResponse response)
|
void |
setAutoApplyStoreCredits(boolean pAutoApplyStoreCredits)
Set the AutoApplyStoreCredits property. |
void |
setBillingHelper(StoreBillingProcessHelper pBillingHelper)
|
void |
setCheckoutProgressStates(CheckoutProgressStates pCheckoutProgressStates)
|
void |
setExpressCheckoutHelper(StoreExpressCheckoutProcessHelper pExpressCheckoutHelper)
|
void |
setStorePropertyManager(StorePropertyManager pStorePropertyManager)
|
Methods inherited from class atg.commerce.order.purchase.ExpressCheckoutFormHandler |
---|
commitOrder, getDefaultBillingAddressPropertyName, getDefaultCreditCardPropertyName, getDefaultShippingAddressPropertyName, getDefaultShippingMethodPropertyName, getExpressCheckoutErrorURL, getExpressCheckoutSuccessURL, getOrderId, getPaymentGroup, getPricingOperation, getProcessOrderMap, getSalesChannel, getSiteId, handleExpressCheckout, isCommitOrder, isPaymentGroupNeeded, isShippingGroupNeeded, preExpressCheckout, runRepricingProcess, setCommitOrder, setDefaultBillingAddressPropertyName, setDefaultCreditCardPropertyName, setDefaultShippingAddressPropertyName, setDefaultShippingMethodPropertyName, setExpressCheckoutErrorURL, setExpressCheckoutSuccessURL, setOrderId, setPaymentGroup, setPaymentGroupNeeded, setPricingOperation, setSalesChannel, setShippingGroup, setShippingGroupNeeded, setSiteId |
Methods inherited from class atg.commerce.order.purchase.PurchaseProcessFormHandler |
---|
acquireTransactionLock, acquireTransactionLock, afterSet, beforeSet, checkFormRedirect, commitTransaction, copyConfiguration, createRepriceParameterMap, defaultLocalLockManager, defaultUserProfile, doStartService, ensureTransaction, formatUserMessage, formatUserMessage, formatUserMessage, formatUserMessage, generatePropertyPath, getClaimableManager, getCommerceIdentifierPaymentInfoContainer, getCommerceItemManager, getCommerceItemShippingInfoContainer, getCommerceProfileTools, getCommercePropertyManager, getConfiguration, getCurrentTransaction, getDefaultLocale, getGiftlistManager, getHandlingInstructionManager, getLocalLockManager, getOrder, getOrderManager, getPaymentGroupManager, getPaymentGroupMapContainer, getPipelineManager, getPriceList, getPriceListId, getPriceListManager, getProfile, getProfileRepository, getPurchaseProcessHelper, getRepeatingRequestMonitor, getRepriceOrderChainId, getResourceBundle, getResourceBundle, getResourceBundleName, getSessionExpirationURL, getShippingGroupManager, getShippingGroupMapContainer, getShoppingCart, getTransactionManager, getUserLocale, getUserLocale, getUserPricingModels, handlePipelineError, isEnsureTransaction, isFormSubmission, isTransactionCreated, isTransactionMarkedAsRollBack, isUseLocksAroundTransactions, isUseRequestLocale, processException, processPipelineErrors, releaseTransactionLock, releaseTransactionLock, runProcess, runProcess, runProcess, runProcessRepriceOrder, runProcessRepriceOrder, runRepricingProcess, setClaimableManager, setCommerceIdentifierPaymentInfoContainer, setCommerceItemManager, setCommerceItemShippingInfoContainer, setCommerceProfileTools, setCommercePropertyManager, setConfiguration, setCurrentTransaction, setDefaultLocale, setEnsureTransaction, setGiftlistManager, setHandlingInstructionManager, setLocalLockManager, setOrder, setOrderManager, setPaymentGroupManager, setPaymentGroupMapContainer, setPipelineManager, setPriceListId, setPriceListManager, setProfile, setProfileRepository, setPurchaseProcessHelper, setRepeatingRequestMonitor, setRepriceOrderChainId, setSessionExpirationURL, setShippingGroupManager, setShippingGroupMapContainer, setShoppingCart, setTransactionCreated, setTransactionManager, setTransactionToRollbackOnly, setUseLocksAroundTransactions, setUseRequestLocale, setUserLocale, setUserPricingModels, transactionLockName, unsetTransactionCreated |
Methods inherited from class atg.droplet.GenericFormHandler |
---|
addFormException, addUncheckedFormException, createFormSubmissionMessage, getCancelURL, getCheckForValidSession, getFormError, getFormExceptions, getFormName, getMessagePort, getMessageSource, getMessageType, getPropertyExceptions, getSendMessages, getUncheckedFormExceptions, handleCancel, handleFormException, handleUncheckedFormException, hasUncheckedFormExceptions, isDeferForwardsAndRedirects, isRestorableForm, isUseForwards, isValidSession, redirectOrForward, resetFormExceptions, setCancelURL, setCheckForValidSession, setDeferForwardsAndRedirects, setFormName, setMessagePort, setMessageSource, setMessageType, setRestorableForm, setSendMessages, setUseForwards |
Methods inherited from class atg.droplet.EmptyFormHandler |
---|
afterGet, beforeGet |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, 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 StoreExpressCheckoutFormHandler()
Method Detail |
---|
public CheckoutProgressStates getCheckoutProgressStates()
public void setCheckoutProgressStates(CheckoutProgressStates pCheckoutProgressStates)
public StorePropertyManager getStorePropertyManager()
public void setStorePropertyManager(StorePropertyManager pStorePropertyManager)
pStorePropertyManager
- -
Store property manager.public StoreExpressCheckoutProcessHelper getExpressCheckoutHelper()
public void setExpressCheckoutHelper(StoreExpressCheckoutProcessHelper pExpressCheckoutHelper)
pExpressCheckoutHelper
- -
Store express checkout helper.public StoreBillingProcessHelper getBillingHelper()
public void setBillingHelper(StoreBillingProcessHelper pBillingHelper)
public void setAutoApplyStoreCredits(boolean pAutoApplyStoreCredits)
pAutoApplyStoreCredits
- a boolean
valuepublic boolean isAutoApplyStoreCredits()
boolean
valueprotected void ensurePaymentGroup(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
ensurePaymentGroup
in class atg.commerce.order.purchase.ExpressCheckoutFormHandler
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
java.io.IOException
- if an error occurs
javax.servlet.ServletException
- if an error occursprotected void ensureShippingGroup(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
ensureShippingGroup
in class atg.commerce.order.purchase.ExpressCheckoutFormHandler
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
java.io.IOException
- if an error occurs
javax.servlet.ServletException
- if an error occurspublic atg.commerce.order.ShippingGroup getShippingGroup()
getShippingGroup
in class atg.commerce.order.purchase.ExpressCheckoutFormHandler
ShippingGroup
valuepublic void moveNonGiftItemsToDefaultShippingGroup() throws javax.servlet.ServletException
javax.servlet.ServletException
- if an error occurspublic void postExpressCheckout(atg.servlet.DynamoHttpServletRequest request, atg.servlet.DynamoHttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
postExpressCheckout
in class atg.commerce.order.purchase.ExpressCheckoutFormHandler
javax.servlet.ServletException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |