public class ProcCreateStoreCreditInfo extends GenericService implements PipelineProcessor
PaymentManagerPipelineArgs.getPaymentInfo().
 
 This processor is designed so that the StoreCreditInfo class
 can easily be extended.  See
 "setStoreCreditInfoClass" and
 {@link #addDataToStoreCreditInfo "addDataToStoreCreditInfo"
 for more information.
GenericStoreCreditInfo, 
StoreCreditInfo| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLASS_VERSION | 
| static int | SUCCESSThe possible return value for this processor. | 
SERVICE_INFO_KEYSTOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACKDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
| ProcCreateStoreCreditInfo() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addDataToStoreCreditInfo(Order pOrder,
                        StoreCredit pPaymentGroup,
                        double pAmount,
                        PaymentManagerPipelineArgs pParams,
                        GenericStoreCreditInfo pStoreCreditInfo)This method populates the  StoreCreditInfoobject with
 data. | 
| int[] | getRetCodes()Return the possible return values for this processor. | 
| protected GenericStoreCreditInfo | getStoreCreditInfo()Factory method to create a new StoreCreditInfo object. | 
| java.lang.String | getStoreCreditInfoClass()Return the class to instantiate when creating a new StoreCreditInfo object. | 
| int | runProcess(java.lang.Object pParam,
          PipelineResult pResult)Generate a StoreCreditInfo object of the class specified by
  storeCreditInfoClass, populate it with data from aStoreCreditpayment group by callingaddDataToStoreCreditInfo, and add it to the pipeline
 argument dictionary so that downstream pipeline processors can access
 it. | 
| void | setStoreCreditInfoClass(java.lang.String pStoreCreditInfoClass)Specify the class to instantiate when creating a new StoreCreditInfo
 object. | 
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 static java.lang.String CLASS_VERSION
public static final int SUCCESS
public java.lang.String getStoreCreditInfoClass()
public void setStoreCreditInfoClass(java.lang.String pStoreCreditInfoClass)
GenericStoreCreditInfo class is extended to
 include more information, this property can be changed to reflect the
 new class.protected void addDataToStoreCreditInfo(Order pOrder, StoreCredit pPaymentGroup, double pAmount, PaymentManagerPipelineArgs pParams, GenericStoreCreditInfo pStoreCreditInfo)
StoreCreditInfo object with
 data.  If the additional data is required, a subclass of
 StoreCreditInfo can be created with additional
 properties, the storeCreditInfoClass property can be
 changed to specify the new class, and this method can be overridden to
 add data for the new properties (or another pipeline processor could be
 added after this processor to populate the additional properties).pOrder - The order being paid for.pPaymentGroup - The payment group being processed.pAmount - The amount being authorized, debited, or creditedpParams - The parameter dictionary passed to this pipeline processorpStoreCreditInfo - An object that holds information understood by the store
    credit payment processor.protected GenericStoreCreditInfo getStoreCreditInfo() throws java.lang.Exception
storeCreditInfoClass property, and must be a subclass
 of atg.payment.storecredit.GenericStoreCreditInfo.storeCreditInfoClassjava.lang.Exception - if any instantiation error occurs when creating the info objectpublic int runProcess(java.lang.Object pParam,
             PipelineResult pResult)
               throws java.lang.Exception
storeCreditInfoClass, populate it with data from a
 StoreCredit payment group by calling
 addDataToStoreCreditInfo, and add it to the pipeline
 argument dictionary so that downstream pipeline processors can access
 it.runProcess in interface PipelineProcessorpParam - Parameter dictionary of type PaymentManagerPipelineArgs.pResult - Pipeline result object, not used by this method.java.lang.Exception - If any error occurs creating or populating the store credit card info object.public int[] getRetCodes()
getRetCodes in interface PipelineProcessor