public class PaymentEditAction
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 |
---|
PaymentEditAction()
The default constructor that creates a new action.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getActionDefinitionId()
This method returns the command identifier.
|
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.editOrderPayment" action.
|
protected TelesalesProperties | getUpdateOrderPaymentParameters(Payment payment)
Constructs the parameters for the "com.ibm.commerce.telesales.updateOrderPayment" action.
|
protected void | postUpdateOrderPaymentAction(TelesalesRequestStatus status)
This method will be called once run action is completed and require any post action.
|
void | run()
This method invokes the payment edit action.
|
void | updateOrderPayment()
Notifies that the Update action is required.
|
public static final java.lang.String COPYRIGHT
public PaymentEditAction()
public void run()
public java.lang.String getActionDefinitionId()
public java.lang.String getId()
public void updateOrderPayment()
This implementation of this framework method requests an add payment to WebSphere Commerce issuing the action ID of com.ibm.commerce.telesales.updateOrderPayment to the TelesalesJobScheduler.
Subclasses may override.
protected TelesalesProperties getUpdateOrderPaymentParameters(Payment payment)
protected Payment getPayment()
protected void postUpdateOrderPaymentAction(TelesalesRequestStatus status)