com.ibm.commerce.utf.commands
Interface CreateOrderItemPAttributeTCCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CreateOrderItemPAttributeTCCmdImpl

public interface CreateOrderItemPAttributeTCCmd
extends TaskCommand

Creates terms and conditions of type "OrderItemPAttribute".

This command can be used to convert personalization attributes specified for each item during the course of a negotiation into Terms and Conditions associated with a trading agreement. When an order results from this trading agreement, these OrderItemPAttribute TCs will appear as personalized attributes for each order item.


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 setAttributeInfo(java.util.Vector newAttrInfo)
          Stores the list of personalization attributes that need to be converted into terms and conditions.
 void setCatentryId(java.lang.Long newCatentryid)
          Stores the incoming catalog entry ID.
 void setTradingId(java.lang.Long newTradingid)           Stores the incoming 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

setAttributeInfo

public void setAttributeInfo(java.util.Vector newAttrInfo)
Stores the list of personalization attributes that need to be converted into terms and conditions.
Parameters:
newAttrInfo - The list of personalization attributes.

setCatentryId

public void setCatentryId(java.lang.Long newCatentryid)
Stores the incoming catalog entry ID.
Parameters:
newCatentryid - The ID of the catalog entry.

setTradingId

public void setTradingId(java.lang.Long newTradingid)
Stores the incoming trading agreement ID.