public class SubscriptionCancelOrderCmdImpl extends TaskCommandImpl implements SubscriptionCancelOrderCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright field.
|
Constructor and Description |
---|
SubscriptionCancelOrderCmdImpl()
Default constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getSubscriptionIdentifier()
Returns the subscription ID.
|
void | performExecute()
This method invokes the processRecurringOrderParentOrderCancel method to cancel parent orders of recurring orders or the processSubscriptionParentOrderItemCancel method to cancel parent order item of subscriptions
|
void | processRecurringOrderParentOrderCancel(java.lang.String orderId, java.lang.String subscriptionId, Subscription phySubscription)
This method is used to cancel the parent order of a recurring order
|
void | processSubscriptionParentOrderItemCancel(java.lang.String orderId, java.lang.String orderItemId, java.lang.String subscriptionId, Subscription phySubscription)
This method is used to cancel the parent order item of a subscription
|
void | setSubscriptionIdentifier(java.lang.String subscriptionId)
Sets the ID of the subscription whose parent order or parent order item is to be canceled.
|
void | validateParameters()
This method checks if the subscription ID provided is valid.
|
public static final java.lang.String COPYRIGHT
public SubscriptionCancelOrderCmdImpl()
public void processSubscriptionParentOrderItemCancel(java.lang.String orderId, java.lang.String orderItemId, java.lang.String subscriptionId, Subscription phySubscription) throws OrderException
public void processRecurringOrderParentOrderCancel(java.lang.String orderId, java.lang.String subscriptionId, Subscription phySubscription) throws OrderException
public void validateParameters() throws ECException
public void performExecute() throws ECException
public java.lang.String getSubscriptionIdentifier()
public void setSubscriptionIdentifier(java.lang.String subscriptionId)