com.ibm.commerce.utf.commands
Interface CreateReturnChargeTCCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
CreateReturnChargeTCCmdImpl

public interface CreateReturnChargeTCCmd
extends TaskCommand

Creates Terms and Conditions of type "ReturnCharge". A return charge TC, as defined by the Trading DTD, reference one ReturnCharge policy and one ReturnApproval policy. This command accepts details of these two policies as input. It then creates an XML element for a Return Charge 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
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 void setReturnApprovalPolicyName(java.lang.String newPolicyName)
          Stores the incoming value for the ReturnApproval policy name.
 void setReturnApprovalPolicyType(java.lang.String newPolicyType)
          Stores the incoming value for the ReturnApproval policy type.
 void setReturnApprovalStoreEntity(java.lang.String newStoreEntity)
          Stores the store entity for which the ReturnApproval policy has been specified.
 void setReturnChargePolicyName(java.lang.String newPolicyName)
          Stores the incoming value for the ReturnCharge policy name.
 void setReturnChargePolicyType(java.lang.String newPolicyType)
          Stores the incoming value for the ReturnCharge policy type.
 void setReturnChargeStoreEntity(java.lang.String newStoreEntity)
          Stores the store entity for which the ReturnCharge 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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
Method Detail

setReturnApprovalPolicyName

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

setReturnApprovalPolicyType

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

setReturnApprovalStoreEntity

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

setReturnChargePolicyName

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

setReturnChargePolicyType

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

setReturnChargeStoreEntity

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

setTradingId

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