com.ibm.commerce.utf.commands
Interface CreateReturnPaymentTCCmd
- All Superinterfaces:
- ECCommand, 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.
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. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
NAME
public static final java.lang.String NAME
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.