public class FinalizeRefundCmdImpl extends ARefundTaskCmdImpl implements FinalizeRefundCmd
Behaviour
This class utilizes these access beans
Constructor and Description |
---|
FinalizeRefundCmdImpl()
This method is the default constructor of this class.
|
Modifier and Type | Method and Description |
---|---|
protected java.sql.Timestamp | getTimestampNow()
This method gets the NOW timestamp.
|
protected java.math.BigDecimal | getTotalRefund()
This method returns the total refund for the RMA.
|
protected boolean | isRefund(RMAAccessBean anRMAAB)
This method means if there is a refund, There is a refund if the total credit in the RMA is > 0.
|
void | performExecute()
This method executes the main business logic of this command, which actually executes the credit according to the refund method and amount to process.
|
void | reset()
This method resets the instance variable of this command.
|
void | validateParameters()
This method checks the mandatory parameters, which checks the following parameters.
|
public FinalizeRefundCmdImpl()
public void performExecute() throws ECException
public void reset()
public void validateParameters() throws ECException
Parameters
protected boolean isRefund(RMAAccessBean anRMAAB) throws ECSystemException
protected java.sql.Timestamp getTimestampNow()
protected java.math.BigDecimal getTotalRefund() throws ECSystemException