Class BasicAdminPaymentProcessor
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.payment.BasicAdminPaymentProcessor
- All Implemented Interfaces:
BusinessObject
,BusinessProcessor
,AdminPaymentProcessor
public class BasicAdminPaymentProcessor
extends BaseBusinessProcessor
implements AdminPaymentProcessor
Processes business logic having to do with payments. Created in the Struts
layer in response to requests for viewing, editing, adding, and deleting
payments.
BasicPaymentProcessor
is the default implementation of the
PaymentProcessor
interface for the application.
- Author:
- David Tobey
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPayment
(Map parameters) void
deletePayment
(Map parameters) editDeletePayments
(Map parameters) editPayment
(Map parameters) loadPaymentFromID
(Map parameters) loadPaymentsAndCount
(Map parameters) int
purgeCardInfo
(Map parameters) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPGet, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, updateOrderTotals, updateOrderTotals, utils
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, utils
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
BasicAdminPaymentProcessor
public BasicAdminPaymentProcessor()
-
-
Method Details
-
loadPaymentsAndCount
- Specified by:
loadPaymentsAndCount
in interfaceAdminPaymentProcessor
- Throws:
Exception
-
addPayment
- Specified by:
addPayment
in interfaceAdminPaymentProcessor
- Throws:
Exception
-
loadPaymentFromID
- Specified by:
loadPaymentFromID
in interfaceAdminPaymentProcessor
- Throws:
Exception
-
editPayment
- Specified by:
editPayment
in interfaceAdminPaymentProcessor
- Throws:
Exception
-
editDeletePayments
- Specified by:
editDeletePayments
in interfaceAdminPaymentProcessor
- Throws:
Exception
-
deletePayment
- Specified by:
deletePayment
in interfaceAdminPaymentProcessor
- Throws:
Exception
-
loadCardInfoStatistics
- Specified by:
loadCardInfoStatistics
in interfaceAdminPaymentProcessor
- Throws:
Exception
-
purgeCardInfo
- Specified by:
purgeCardInfo
in interfaceAdminPaymentProcessor
- Throws:
Exception
-