com.ibm.commerce.utf.commands
Interface CreateReturnPaymentTCCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CreateReturnPaymentTCCmdImpl

public interface CreateReturnPaymentTCCmd
extends TaskCommand

Creates terms and conditions of type "RefundPaymentMethod".

This command accepts a ReturnPayment policy as input. It then creates an XML element for a RefundPaymentMethod TC that conforms to the Trading DTD. It uses this XML element and the incoming trading agreement ID to create the TC.


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The default implementation of this command.
static java.lang.String NAME
          The name of this command.
 
Method Summary
 void setPolicyName(java.lang.String newPolicyName)
          Stores the incoming value for the policy name.
 void setPolicyType(java.lang.String newPolicyType)
          Stores the incoming value for the policy type.
 void setStoreEntity(java.lang.String newStoreEntity)
          Stores the store entity for which the policy has been specified.
 void setTradingId(java.lang.Long newTradingId)           Stores the trading agreement ID.
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this command.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation of this command.
See Also:
Constant Field Values
Method Detail

setPolicyName

public void setPolicyName(java.lang.String newPolicyName)
Stores the incoming value for the policy name.
Parameters:
newPolicyName - The name of the policy.

setPolicyType

public void setPolicyType(java.lang.String newPolicyType)
Stores the incoming value for the policy type.
Parameters:
newPolicyType - The type of the policy.

setStoreEntity

public void setStoreEntity(java.lang.String newStoreEntity)
Stores the store entity for which the policy has been specified.
Parameters:
newStoreEntity - The Store or StoreGroup ID of the policy.

setTradingId

public void setTradingId(java.lang.Long newTradingId)
Stores the trading agreement ID.
Parameters:
newTradingId - The trading agreement ID.