com.ibm.commerce.utf.commands

Interface CreateShippingChargeTCCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    CreateShippingChargeTCCmdImpl


    public interface CreateShippingChargeTCCmd
    extends TaskCommand
    Creates terms and conditions of type "ShippingCharge".

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

    • Field Detail

      • COPYRIGHT

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

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

      • setPolicyName

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

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

        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

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