|
||||||||||
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.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)
|
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)
Sets the claimable manager. |
void |
setOrderManager(atg.commerce.order.OrderManager pOrderManager)
Sets the order manager. |
void |
setStoreCreditPaymentType(java.lang.String pStoreCreditPaymentType)
Sets the storeCreditPaymentType. |
void |
setStoreOrderTools(StoreOrderTools pStoreOrderTools)
Sets the StoreOrderTools property. |
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, 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 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 toolspublic java.lang.String getStoreCreditPaymentType()
public void setStoreCreditPaymentType(java.lang.String pStoreCreditPaymentType)
pStoreCreditPaymentType
- - store credit payment typepublic void removeStoreCreditPaymentGroups(atg.commerce.order.Order pOrder)
pOrder
- - the orderpublic boolean initializePaymentMethods(atg.repository.RepositoryItem pProfile, atg.commerce.order.Order pOrder, java.lang.String[] pOnlineCreditIds) throws atg.commerce.CommerceException
pProfile
- - users profilepOrder
- - the orderpOnlineCreditIds
- - online credit ids
atg.commerce.CommerceException
- if an error occurspublic 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.PaymentGroupManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |