public class ProcAuthorizePayment extends ApplicationLoggingImpl implements PipelineProcessor
PaymentManager| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
STOP_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 | 
|---|
| ProcAuthorizePayment() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addCreditCardError(PaymentGroup pFailedPaymentGroup,
                  java.lang.String pStatusMessage,
                  PipelineResult pResult,
                  java.util.ResourceBundle pBundle)This method handles adding authorization error messages to the pipeline result
 object. | 
| protected void | addErrorToPipelineResult(PaymentGroup pFailedPaymentGroup,
                        java.lang.String pStatusMessage,
                        PipelineResult pResult,
                        java.util.ResourceBundle pBundle)This method handles calling the appropriate method to place errors into
 the Pipeline Result object. | 
| protected void | addGiftCertificateError(PaymentGroup pFailedPaymentGroup,
                       java.lang.String pStatusMessage,
                       PipelineResult pResult,
                       java.util.ResourceBundle pBundle)This method handles adding authorization error messages to the pipeline result
 object. | 
| protected void | addPaymentGroupError(PaymentGroup pFailedPaymentGroup,
                    java.lang.String pStatusMessage,
                    PipelineResult pResult,
                    java.util.ResourceBundle pBundle)This method handles adding authorization error messages to the pipeline result
 object. | 
| java.lang.String | getLoggingIdentifier()Returns property LoggingIdentifier | 
| PaymentManager | getPaymentManager()Returns the paymentManager | 
| int[] | getRetCodes()Returns the valid return codes
 1 - The processor completed | 
| int | runProcess(java.lang.Object pParam,
          PipelineResult pResult)This method authorizes payment for an Order in the form of a PaymentGroup. | 
| void | setLoggingIdentifier(java.lang.String pLoggingIdentifier)Sets property LoggingIdentifier | 
| void | setPaymentManager(PaymentManager pPaymentManager)Sets the paymentManager | 
addGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLogListenerCount, getLogListeners, initializeFromServiceEvent, isAutoInitListeners, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, removeLogListener, sendLogEvent, setAutoInitListeners, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarningvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic int[] getRetCodes()
getRetCodes in interface PipelineProcessorpublic PaymentManager getPaymentManager()
public void setPaymentManager(PaymentManager pPaymentManager)
public void setLoggingIdentifier(java.lang.String pLoggingIdentifier)
setLoggingIdentifier in class ApplicationLoggingImplpublic java.lang.String getLoggingIdentifier()
getLoggingIdentifier in class ApplicationLoggingImplpublic int runProcess(java.lang.Object pParam,
             PipelineResult pResult)
               throws java.lang.Exception
runProcess in interface PipelineProcessorpParam - a HashMap which must contain an Order objectpResult - a PipelineResult object which stores any information which must
                be returned from this method invokationjava.lang.Exception - throws any exception back to the callerPipelineProcessor.runProcess(Object, PipelineResult), 
atg.commerce.payment.PaymentManager#authorize(List)protected void addErrorToPipelineResult(PaymentGroup pFailedPaymentGroup, java.lang.String pStatusMessage, PipelineResult pResult, java.util.ResourceBundle pBundle)
pFailedPaymentGroup - the payment group that failed to authorizepStatusMessage - message indicating why the payment group failed to authorizepResult - the pipeline result object.pBundle - resource bundle specific to users localeprotected void addGiftCertificateError(PaymentGroup pFailedPaymentGroup, java.lang.String pStatusMessage, PipelineResult pResult, java.util.ResourceBundle pBundle)
pFailedPaymentGroup - the payment group that failed to authorizepStatusMessage - message indicating why the payment group failed to authorizepResult - the pipeline result object.pBundle - resource bundle specific to users localeprotected void addCreditCardError(PaymentGroup pFailedPaymentGroup, java.lang.String pStatusMessage, PipelineResult pResult, java.util.ResourceBundle pBundle)
pFailedPaymentGroup - the payment group that failed to authorizepStatusMessage - message indicating why the payment group failed to authorizepResult - the pipeline result object.pBundle - resource bundle specific to users localeprotected void addPaymentGroupError(PaymentGroup pFailedPaymentGroup, java.lang.String pStatusMessage, PipelineResult pResult, java.util.ResourceBundle pBundle)
pFailedPaymentGroup - the payment group that failed to authorizepStatusMessage - message indicating why the payment group failed to authorizepResult - the pipeline result object.pBundle - resource bundle specific to users locale