public class TriggerPaymentActionsCmdImpl extends AEDPPaymentTaskCmdImpl implements TriggerPaymentActionsCmd
commandContext | The command context. |
iabOrder | An OrderAccessBean for the current order. |
orderTotalAmount | A BigDecimal that specifies the total amount of the order. |
orderInitialAmount | A BigDecimal that specifies the initial amount to be used in the trigger payment action business event request. |
Constructor and Description |
---|
TriggerPaymentActionsCmdImpl() |
Modifier and Type | Method and Description |
---|---|
OrderAccessBean | getOrderAccessBean()
This method gets a reference to the order access bean.
|
boolean | isProcessBGExecutableInFG()
This method returns if the backend tasks could be executed in foreground.
|
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.
|
void | processFG()
This method executes the foreground tasks.
|
void | reset()
This method resets the command fields.
|
void | setInitialAmount(java.math.BigDecimal initialAmount)
This method sets the initial amount to be used in the prime payment request.
|
void | setOrderAccessBean(OrderAccessBean abOrder)
This method sets a reference to the order access bean.
|
void | setTotalAmount(java.math.BigDecimal totalAmount)
This method sets the total amount of the order.
|
void | validateInsideProcessFG()
This method validates if the initial amount less than zero, or if it is more than the total amount of the EDP order.
|
public void setOrderAccessBean(OrderAccessBean abOrder)
public OrderAccessBean getOrderAccessBean()
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 processFG() throws EDPException, ECException
public void validateInsideProcessFG() throws EDPException
public void setInitialAmount(java.math.BigDecimal initialAmount)
public boolean isProcessBGExecutableInFG()
public void setTotalAmount(java.math.BigDecimal totalAmount)