public class EditVoidCmdImpl extends AEDPPaymentTaskCmdImpl implements EditCmd
This task command should be called when payment instructions are modified. This applies to amount changes or payment protocol data changes. This void implementation will do nothing.
Constructor and Description |
---|
EditVoidCmdImpl() |
Modifier and Type | Method and Description |
---|---|
AccountAccessBean | getAccount()
This method returns the AccountAccessBean representing the business account if an account ID is present.
|
java.lang.Long | getAccountId()
This method returns the business account ID if one is specified by the trading agreements used by the order items of the order being processed.
|
EDPEditResults | getEditResults()
This method obtains the edit results.
|
OrderAccessBean | getOrderAccessBean()
This method returns the order access bean associated with this command.
|
java.math.BigDecimal | getOrderAmount()
This method returns the total order amount.
|
boolean | isReadyToCallExecute()
This method is called by the Command Framework to check if all basic mandatory parameters have been set for this command.
|
void | performExecute()
This method executes the business logic of this command implementation.Does nothing.
|
void | reset()
This method resets the command fields.
|
void | setAccountId(java.lang.Long n)
This method sets the business account ID.
|
void | setEditResults(EDPEditResults localEditResults)
This method sets the edit results.
|
void | setForcedPaymentInstructionChangeFlag(boolean forcedChange)
Void implementation
|
void | setOrderAmount(java.math.BigDecimal paramOrderAmount)
This method sets the total order amount.
|
void | setPaymentInstructions(java.util.ArrayList pis)
Void implementation
|
void | setPONumber(java.lang.String aPONumber)
Void implementation
|
void | systemEditableAddOrderAmount(java.lang.Long edpOrderId, java.math.BigDecimal addToPIAmount)
Void implementation
|
public AccountAccessBean getAccount()
This method returns the AccountAccessBean representing the business account if an account ID is present. null otherwise.
This method will first check if the local variable iabAccount is set. If not set, it will attempt to retrieve the AccountAccessBean using the specified business account ID.
public void setAccountId(java.lang.Long n)
This method sets the business account ID.
This is the common account ID if one is specified by the trading agreements used by the order items of the order being processed. If there is no common account ID, this method should not be called at all.
public java.lang.Long getAccountId()
This method returns the business account ID if one is specified by the trading agreements used by the order items of the order being processed.
If there is no business account associated with any of the trading agreements, null is returned.
public final void setEditResults(EDPEditResults localEditResults)
public final EDPEditResults getEditResults()
public OrderAccessBean getOrderAccessBean()
This method returns the order access bean associated with this command.
It checks if the local variable is set. If not, it will attempt to get it by creating a new access bean.
public void setOrderAmount(java.math.BigDecimal paramOrderAmount)
public java.math.BigDecimal getOrderAmount()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void reset()
This method resets the command fields.
After this method is invoked, and proper attributes are set, the command can be executed again.
public void setForcedPaymentInstructionChangeFlag(boolean forcedChange)
public void setPONumber(java.lang.String aPONumber)
public void setPaymentInstructions(java.util.ArrayList pis)
public void systemEditableAddOrderAmount(java.lang.Long edpOrderId, java.math.BigDecimal addToPIAmount) throws EDPException, ECException