|
|||||||||
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.payment.processor.ProcProcessPaymentGroup atg.b2bcommerce.payment.invoicerequest.processor.ProcProcessInvoiceRequest
public class ProcProcessInvoiceRequest
This pipeline processor element is called to authorize, debit, and credit InvoiceRequest payment groups. It calls through to an InvoiceRequestProcessor object to perform these operations.
InvoiceRequestProcessor
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Fields inherited from class atg.commerce.payment.processor.ProcProcessPaymentGroup |
---|
SUCCESS |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.service.pipeline.PipelineProcessor |
---|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK |
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 | |
---|---|
ProcProcessInvoiceRequest()
|
Method Summary | |
---|---|
PaymentStatus |
authorizePaymentGroup(PaymentManagerPipelineArgs pParams)
Authorize billing against an InvoiceRequest payment group. |
PaymentStatus |
creditPaymentGroup(PaymentManagerPipelineArgs pParams)
Credit an InvoiceRequest payment group. |
PaymentStatus |
debitPaymentGroup(PaymentManagerPipelineArgs pParams)
Debit an InvoiceRequest payment group. |
InvoiceRequestProcessor |
getInvoiceRequestProcessor()
Get the invoice request processor that will actually be used to authorize, debit, and credit invoice request payment groups. |
void |
setInvoiceRequestProcessor(InvoiceRequestProcessor pInvoiceRequestProcessor)
Set the invoice request processor that will actually be used to authorize, debit, and credit invoice request payment groups. |
Methods inherited from class atg.commerce.payment.processor.ProcProcessPaymentGroup |
---|
decreaseAuthorizationForPaymentGroup, getRetCodes, invokeProcessorAction, runProcess |
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 ProcProcessInvoiceRequest()
Method Detail |
---|
public void setInvoiceRequestProcessor(InvoiceRequestProcessor pInvoiceRequestProcessor)
public InvoiceRequestProcessor getInvoiceRequestProcessor()
public PaymentStatus authorizePaymentGroup(PaymentManagerPipelineArgs pParams) throws CommerceException
invoiceRequestProcessor
authorize method.
- Specified by:
authorizePaymentGroup
in class ProcProcessPaymentGroup
- Parameters:
pParams
- The argument dictionary passed to this pipeline processor.
- Returns:
- The PaymentStatus object returned by the
invoiceRequestProcessor
authorize method.
- Throws:
CommerceException
- If there is any error authorizing the payment group.
public PaymentStatus debitPaymentGroup(PaymentManagerPipelineArgs pParams) throws CommerceException
invoiceRequestProcessor debit method.
- Specified by:
debitPaymentGroup
in class ProcProcessPaymentGroup
- Parameters:
pParams
- The argument dictionary passed to this pipeline processor.
- Returns:
- The PaymentStatus object returned by the
invoiceRequestProcessor
debit method.
- Throws:
CommerceException
- If there is any error debiting the payment group.
public PaymentStatus creditPaymentGroup(PaymentManagerPipelineArgs pParams) throws CommerceException
invoiceRequestProcessor credit method.
- Specified by:
creditPaymentGroup
in class ProcProcessPaymentGroup
- Parameters:
pParams
- The argument dictionary passed to this pipeline processor.
- Returns:
- The PaymentStatus object returned by the
invoiceRequestProcessor
credit method.
- Throws:
CommerceException
- If there is any error crediting the payment group.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |