public class DummyCreditCardProcessor extends GenericService implements CreditCardProcessor, atg.payment.creditcard.DecreaseCreditCardAuthorizationProcessor
CreditCardProcessor| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLASS_VERSION | 
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
| DummyCreditCardProcessor() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreditCardStatus | authorize(CreditCardInfo pCreditCardInfo)Authorize the amount on the credit card | 
| CreditCardStatus | credit(CreditCardInfo pCreditCardInfo)Credit the amount on the credit card with as a new order | 
| CreditCardStatus | credit(CreditCardInfo pCreditCardInfo,
      CreditCardStatus pStatus)Credit the amount on the credit card after debiting | 
| CreditCardStatus | debit(CreditCardInfo pCreditCardInfo,
     CreditCardStatus pStatus)Debit the amount on the credit card after authorization | 
| CreditCardStatus | decreaseAuthorization(CreditCardInfo pCreditCardInfo,
                     PaymentStatus pAuthStatus)Decreases the authorized amount for the credit card. | 
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, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic CreditCardStatus authorize(CreditCardInfo pCreditCardInfo)
authorize in interface CreditCardProcessorpCreditCardInfo - the CreditCardInfo reference which contains all the authorization datapublic CreditCardStatus debit(CreditCardInfo pCreditCardInfo, CreditCardStatus pStatus)
debit in interface CreditCardProcessorpCreditCardInfo - the CreditCardInfo reference which contains all the debit datapStatus - the CreditCardStatus object which contains information about the transaction. This
                should be the object which was returned from authorize().public CreditCardStatus credit(CreditCardInfo pCreditCardInfo, CreditCardStatus pStatus)
credit in interface CreditCardProcessorpCreditCardInfo - the CreditCardInfo reference which contains all the credit datapStatus - the CreditCardStatus object which contains information about the transaction. This
                should be the object which was returned from debit().public CreditCardStatus credit(CreditCardInfo pCreditCardInfo)
credit in interface CreditCardProcessorpCreditCardInfo - the CreditCardInfo reference which contains all the credit datapublic CreditCardStatus decreaseAuthorization(CreditCardInfo pCreditCardInfo, PaymentStatus pAuthStatus)
This implementation does nothing but return a successful CreditCardStatus object.
Extend this method to do any credit card specific processing.
decreaseAuthorization in interface atg.payment.creditcard.DecreaseCreditCardAuthorizationProcessorpCreditCardInfo - the CreditCardInfo reference which contains all the credit data