com.ibm.commerce.utf.commands

Interface CreateReturnChargeTCCmd

  • 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:
    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 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

      • setReturnApprovalPolicyName

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

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

        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

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

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

        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

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