| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.commerce.order.PaymentGroupManager
atg.projects.store.order.StorePaymentGroupManager
public class StorePaymentGroupManager
This class holds utility methods for manipulating PaymentGroups.
| Field Summary | |
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string.  | 
| Fields inherited from class atg.commerce.order.PaymentGroupManager | 
|---|
sResourceBundle | 
| 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 | |
|---|---|
StorePaymentGroupManager()
 | 
|
| Method Summary | |
|---|---|
 atg.commerce.claimable.ClaimableManager | 
getClaimableManager()
 | 
 java.util.List | 
getOnlineCredits(java.lang.String[] pOnlineCreditIds)
This will return the online credits selected by the user.  | 
 atg.commerce.order.OrderManager | 
getOrderManager()
 | 
 java.lang.String | 
getStoreCreditPaymentType()
 | 
 StoreOrderTools | 
getStoreOrderTools()
 | 
 boolean | 
initializePaymentMethods(atg.repository.RepositoryItem pProfile,
                         atg.commerce.order.Order pOrder,
                         java.lang.String[] pOnlineCreditIds)
This method will take an array of store credit ids, and create payment groups and add them to the order.  | 
 boolean | 
isPaymentGroupUsed(atg.commerce.order.Order pOrder,
                   atg.commerce.order.PaymentGroup pPaymentGroup)
This returns true if this is the only payment group in the order, or if this payment group is not empty.  | 
 void | 
removeStoreCreditPaymentGroups(atg.commerce.order.Order pOrder)
Given an order, return all the store credit payment group ids.  | 
 void | 
setClaimableManager(atg.commerce.claimable.ClaimableManager pClaimableManager)
 | 
 void | 
setOrderManager(atg.commerce.order.OrderManager pOrderManager)
 | 
 void | 
setStoreCreditPaymentType(java.lang.String pStoreCreditPaymentType)
 | 
 void | 
setStoreOrderTools(StoreOrderTools pStoreOrderTools)
 | 
| Methods inherited from class atg.commerce.order.PaymentGroupManager | 
|---|
addPaymentGroupToOrder, addPaymentGroupToOrder, createPaymentGroup, createPaymentGroup, getAllPaymentGroupRelationships, getNonModifiablePaymentGroups, getNonModifiablePaymentGroupStates, getOrderTools, getPaymentGroupCommerceItemRelationship, getPaymentGroupOrderRelationship, getPaymentGroupShippingGroupRelationship, initializeCreditCard, initializeGiftCertificate, initializeStoreCredit, isPaymentGroupInOrder, paymentGroupIsModifiable, recalculatePaymentGroupAmounts, removeAllPaymentGroupsFromOrder, removeAllPaymentGroupsFromOrder, removeAllRelationshipsFromPaymentGroup, removeAllRelationshipsFromPaymentGroup, removeEmptyPaymentGroups, removePaymentGroupFromOrder, setNonModifiablePaymentGroupStates, setOrderTools | 
| Methods inherited from class atg.nucleus.GenericService | 
|---|
addLogListener, 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, stopService | 
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl | 
|---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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 final java.lang.String CLASS_VERSION
| Constructor Detail | 
|---|
public StorePaymentGroupManager()
| Method Detail | 
|---|
public atg.commerce.claimable.ClaimableManager getClaimableManager()
public void setClaimableManager(atg.commerce.claimable.ClaimableManager pClaimableManager)
pClaimableManager - - claimable manager.public atg.commerce.order.OrderManager getOrderManager()
public void setOrderManager(atg.commerce.order.OrderManager pOrderManager)
pOrderManager - - order managerpublic StoreOrderTools getStoreOrderTools()
public void setStoreOrderTools(StoreOrderTools pStoreOrderTools)
pStoreOrderTools - - the Store order tools.public java.lang.String getStoreCreditPaymentType()
public void setStoreCreditPaymentType(java.lang.String pStoreCreditPaymentType)
pStoreCreditPaymentType - - store credit payment type.public void removeStoreCreditPaymentGroups(atg.commerce.order.Order pOrder)
pOrder - - the order.
public boolean initializePaymentMethods(atg.repository.RepositoryItem pProfile,
                                        atg.commerce.order.Order pOrder,
                                        java.lang.String[] pOnlineCreditIds)
                                 throws atg.commerce.CommerceException
pProfile - - users profile.pOrder - - the order.pOnlineCreditIds - - online credit ids.
atg.commerce.CommerceException - if an error occurs.public java.util.List getOnlineCredits(java.lang.String[] pOnlineCreditIds)
pOnlineCreditIds - - online credit ids.
public boolean isPaymentGroupUsed(atg.commerce.order.Order pOrder,
                                  atg.commerce.order.PaymentGroup pPaymentGroup)
isPaymentGroupUsed in class atg.commerce.order.PaymentGroupManagerpOrder - The order containing the payment group.pPaymentGroup - The payment group being checked.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||