public class ProcSavePaymentStatusObjects extends SavedProperties implements PipelineProcessor
PaymentStatus| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
ORDER_PROPERTY, TYPE_PROPERTYSTOP_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 |
|---|
ProcSavePaymentStatusObjects() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ensureList(Order order,
java.util.List mutItemList,
java.util.List statList,
MutableRepository mutRep,
OrderManager orderManager) |
java.lang.String |
getAuthorizationStatusProperty()
Returns the authorizationStatusProperty
|
java.lang.String |
getCreditCardStatusDescName()
Returns the creditCardStatusDescName
|
java.lang.String |
getCreditStatusProperty()
Returns the creditStatusProperty
|
java.lang.String |
getDebitStatusProperty()
Returns the debitStatusProperty
|
java.lang.String |
getGiftCertificateStatusDescName()
Returns the giftCertificateStatusDescName
|
java.lang.String |
getLoggingIdentifier()
Returns property LoggingIdentifier
|
java.lang.String |
getPaymentStatusDescName()
Returns property paymentStatusDescName
|
protected java.lang.String |
getPaymentStatusDescriptorName(PaymentStatus pPaymentStatus,
OrderTools orderTools) |
int[] |
getRetCodes()
Returns the valid return codes
1 - The processor completed
|
protected java.lang.String |
getStatusDescriptorName(PaymentStatus pStatusObject)
Return the item descriptor name which refers to the object type.
|
java.lang.String |
getStoreCreditStatusDescName()
Returns the storeCreditStatusDescName
|
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
This method saves the PaymentStatus objects into the OrderRepository from the PaymentGroup object.
|
protected boolean |
saveStatusProperties(Order order,
java.lang.Object paymentStatus,
MutableRepositoryItem mutItem,
MutableRepository mutRep,
OrderManager orderManager,
OrderTools orderTools) |
void |
setAuthorizationStatusProperty(java.lang.String pAuthorizationStatusProperty)
Sets the authorizationStatusProperty
|
void |
setCreditCardStatusDescName(java.lang.String pCreditCardStatusDescName)
Sets the creditCardStatusDescName
|
void |
setCreditStatusProperty(java.lang.String pCreditStatusProperty)
Sets the creditStatusProperty
|
void |
setDebitStatusProperty(java.lang.String pDebitStatusProperty)
Sets the debitStatusProperty
|
void |
setGiftCertificateStatusDescName(java.lang.String pGiftCertificateStatusDescName)
Sets the giftCertificateStatusDescName
|
void |
setLoggingIdentifier(java.lang.String pLoggingIdentifier)
Sets property LoggingIdentifier
|
void |
setPaymentStatusDescName(java.lang.String pPaymentStatusDescName)
Sets property paymentStatusDescName
|
void |
setStoreCreditStatusDescName(java.lang.String pStoreCreditStatusDescName)
Sets the storeCreditStatusDescName
|
getMappedPropertyName, getPropertyDescriptorToBeanPropertyMap, getSaveChangedPropertiesOnly, getSavedProperties, setPropertyDescriptorToBeanPropertyMap, setSaveChangedPropertiesOnly, setSavedPropertiesaddGlobalLogListeners, 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 java.lang.String getPaymentStatusDescName()
public void setPaymentStatusDescName(java.lang.String pPaymentStatusDescName)
pPaymentStatusDescName - the value to set for property paymentStatusDescNamepublic java.lang.String getCreditCardStatusDescName()
public void setCreditCardStatusDescName(java.lang.String pCreditCardStatusDescName)
public java.lang.String getGiftCertificateStatusDescName()
public void setGiftCertificateStatusDescName(java.lang.String pGiftCertificateStatusDescName)
public java.lang.String getStoreCreditStatusDescName()
public void setStoreCreditStatusDescName(java.lang.String pStoreCreditStatusDescName)
public java.lang.String getAuthorizationStatusProperty()
public void setAuthorizationStatusProperty(java.lang.String pAuthorizationStatusProperty)
public java.lang.String getDebitStatusProperty()
public void setDebitStatusProperty(java.lang.String pDebitStatusProperty)
public java.lang.String getCreditStatusProperty()
public void setCreditStatusProperty(java.lang.String pCreditStatusProperty)
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, OrderRepository, and OrderManager 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),
PaymentStatusprotected boolean saveStatusProperties(Order order, java.lang.Object paymentStatus, MutableRepositoryItem mutItem, MutableRepository mutRep, OrderManager orderManager, OrderTools orderTools) throws java.lang.Exception
java.lang.Exceptionprotected boolean ensureList(Order order, java.util.List mutItemList, java.util.List statList, MutableRepository mutRep, OrderManager orderManager) throws CommerceException, RepositoryException
CommerceExceptionRepositoryExceptionprotected java.lang.String getPaymentStatusDescriptorName(PaymentStatus pPaymentStatus, OrderTools orderTools) throws CommerceException
CommerceExceptionprotected java.lang.String getStatusDescriptorName(PaymentStatus pStatusObject) throws CommerceException
CommerceException