com.ibm.commerce.order.commands

Interface SSFSOrderCopyCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    SSFSOrderCopyCmdImpl


    public interface SSFSOrderCopyCmd
    extends ControllerCommand
    The SSFSOrderCopy command can be used to create new orders or modify existing pending orders by copying information from remote orders in Sterling OMS. The default implementation of this command is SSFSOrderCopyCmdImpl. The SSFSOrderCopyCmd URL is mapped to this controller command.
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String NAME
        The name of this command.
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
    • Method Detail

      • setShipAsComplete

        void setShipAsComplete(java.lang.String astrShipAsComplete)
        Set if the order should be set as ShipAsComplete.
        Parameters:
        astrShipAsComplete - The value can be "Y" or "N".
      • setCalculate

        void setCalculate(java.lang.String astrCalculate)
        Set if the order should be calculated.
        Parameters:
        astrCalculate - The value can be "0" (not for calculation) or "1" (Default: for calculation).
      • setPrepare

        void setPrepare(java.lang.String astrPrepare)
        Set if the order should be Prepared.
        Parameters:
        astrPrepare - The value can be ("Y") or ("N").
      • setCopyAutoAddedOrderItemsFlag

        void setCopyAutoAddedOrderItemsFlag(boolean abCopyAutoAddedOrderItemsFlag)
        Set the flag which decides whether to copy auto added order item. The default value is false, indicating that the auto added item will not be copied.
        Parameters:
        abCopyAutoAddedOrderItemsFlag -
      • setSensitiveInfoCopyFlag

        void setSensitiveInfoCopyFlag(java.lang.String astrSensitiveInfoCopyFlag)
        Set the flag which decides whether to copy sensitive (payment and so forth) info or not.
        Parameters:
        astrSensitiveInfoCopyFlag - The sensitive information copy flag
      • setOrderPromotionCodeCopyFlag

        void setOrderPromotionCodeCopyFlag(java.lang.String astrOrderPromotionCodeCopyFlag)
        Set the order promotion code copy flag. The default value is "N" indicating the promotion codes need not be copied. If it is set as "Y", the order promotion code need to be copied to the target order.
        Parameters:
        astrOrderPromotionCodeCopyFlag - The order promotion code copy flag.
      • setOrderUniquePromotionCodeCopyFlag

        void setOrderUniquePromotionCodeCopyFlag(java.lang.String astrOrderUniquePromotionCodeCopyFlag)
        Set the order unique promotion codes copy flag. The default value is "N" indicating the unique promotion codes need not be copied. If it is set as "Y", the unique promotion codes need to be copied to the target order.
        Parameters:
        astrOrderUniquePromotionCodeCopyFlag - The order unique promotion code copy flag.
      • getItemsToBeRemoved

        java.util.Vector getItemsToBeRemoved()
        To Retrieve items to be removed after copy.
        Returns:
        The items to be removed
      • setOutOrderItemNames

        void setOutOrderItemNames(java.lang.String[] astrOutOrderItemNames)
        Sets the names of the orderItemId properties to be appended to the redirection URL. Each name causes properties to be appended to the redirection URL with the specified name. And with values of the OrderItemIds that were created or updated.
        Parameters:
        astrOutOrderItemNames - The names of the orderItemId properties.
      • setOutOrderNames

        void setOutOrderNames(java.lang.String[] astrOutOrderNames)
        Sets the names of the orderId properties to be appended to the redirection URL. Each name causes properties to be appended to the redirection URL with the specified name. And with values of the OrderId that was created or updated.
        Parameters:
        astrOutOrderNames - The names of the orderId properties.
      • setToOrderAbbreviations

        void setToOrderAbbreviations(java.lang.String[] astrToOrderAbbreviations)
        Set the target order.
        Parameters:
        astrToOrderAbbreviations - The target order.
      • setOrderHeaderKey

        void setOrderHeaderKey(java.lang.String astrFromOrderHeaderKey)
        Set the unique key of the order.
        Parameters:
        astrFromOrderHeaderKey - The unique key of the order.
      • setOrderNo

        void setOrderNo(java.lang.String astrFromOrderNo)
        Set the order number of the order.
        Parameters:
        astrFromOrderNo - The order number of the order.