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