public class PaymentAddAction
extends com.ibm.commerce.telesales.ui.impl.actions.BaseOrderAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
PaymentAddAction()
The default constructor that creates a new action.
|
Modifier and Type | Method and Description |
---|---|
void | addOrderPayment()
Notifies that the Add payment action is required.
|
java.lang.String | getActionDefinitionId()
This method returns the command identifier.
|
protected TelesalesProperties | getAddOrderPaymentParameters(Payment payment)
Constructs the parameters for the "com.ibm.commerce.telesales.addOrderPayment" action.
|
java.lang.String | getId()
This method returns a unique identifier for this action, or null if it has none.
|
protected Payment | getPayment()
Constructs the method parameters for the "com.ibm.commerce.telesales.addOrderPayment" action.
|
protected void | postAddPaymentAction(TelesalesRequestStatus status)
This method will be called once run action is completed and require any post action.
|
void | run()
This method invokes the add payment action to an order.
|
public static final java.lang.String COPYRIGHT
public PaymentAddAction()
public void run()
public java.lang.String getActionDefinitionId()
public java.lang.String getId()
public void addOrderPayment()
This implementation of this framework method requests an add payment to WebSphere Commerce issuing the action ID of com.ibm.commerce.telesales.addOrderPayment to the TelesalesJobScheduler.
Subclasses may override.
protected Payment getPayment()
protected TelesalesProperties getAddOrderPaymentParameters(Payment payment)
protected void postAddPaymentAction(TelesalesRequestStatus status)