public class InternationalizedExpressCheckoutOkDroplet extends ExpressCheckoutOkDroplet
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
FALSE, PROFILE, TRUE| Constructor and Description |
|---|
InternationalizedExpressCheckoutOkDroplet() |
| Modifier and Type | Method and Description |
|---|---|
InternationalStoreSitePropertiesManager |
getStoreSitePropertiesManager() |
boolean |
isCountryValid(java.lang.String pCountryCode,
java.util.List pCountryList,
java.util.List pRestrictedCountryList)
Helper method that checks that given country code is in list of allowed countries,
if list of allowed countries is not specified then checks that given country code
is not in the list of restricted countries.
|
void |
setStoreSitePropertiesManager(InternationalStoreSitePropertiesManager pStoreSitePropertiesManager) |
boolean |
validateCreditCardForExpressCheckout(atg.repository.RepositoryItem pProfile)
Checks if profile's default credit card is valid for Express Checkout.
|
boolean |
validateShippingAddressForExpressCheckout(atg.repository.RepositoryItem pProfile)
Checks if profile's default shipping address is valid for Express Checkout.
|
getStorePropertyManager, service, setStorePropertyManagerdoDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, init, service, service, setParameterdestroy, getServletConfig, getServletInfo, setServletInfogetAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatisticsaddLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, 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, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static final java.lang.String CLASS_VERSION
public InternationalizedExpressCheckoutOkDroplet()
public InternationalStoreSitePropertiesManager getStoreSitePropertiesManager()
public void setStoreSitePropertiesManager(InternationalStoreSitePropertiesManager pStoreSitePropertiesManager)
pStoreSitePropertiesManager - the InternationalStoreSitePropertiesManager to setpublic boolean validateCreditCardForExpressCheckout(atg.repository.RepositoryItem pProfile)
validateCreditCardForExpressCheckout in class ExpressCheckoutOkDropletpProfile - profile repository itempublic boolean validateShippingAddressForExpressCheckout(atg.repository.RepositoryItem pProfile)
validateShippingAddressForExpressCheckout in class ExpressCheckoutOkDropletpProfile - profile repository itempublic boolean isCountryValid(java.lang.String pCountryCode,
java.util.List pCountryList,
java.util.List pRestrictedCountryList)
pCountryCode - country code to checkpCountryList - allowed countries listpRestrictedCountryList - restricted countries list