com.ibm.commerce.messaging.commands

Class TransferShopcartCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • TransferShopcartCmdImpl

        public TransferShopcartCmdImpl()
        The default constructor for TransferShopcartCmdImpl calls its parents constructor.
    • Method Detail

      • getCollabSpace

        public java.lang.String getCollabSpace()
        This method gets the collaboration space name.
        Returns:
        The collaboration space name.
      • setCollabSpace

        public void setCollabSpace(java.lang.String newCollabSpace)
        This method sets the collaboration space name.
        Parameters:
        newCollabSpace - The collaboration space name.
      • getName

        public java.lang.String getName()
        This method gets the unique identifier for the partner.
        Returns:
        The unique partner ID.
      • setName

        public void setName(java.lang.String newName)
        This method sets the unique identifier for a partner.
        Parameters:
        newName - The unique identifier for the partner.
      • getPolicy

        public java.lang.String getPolicy()
        This method gets the policy name.
        Returns:
        The policy name.
      • setPolicy

        public void setPolicy(java.lang.String newPolicy)
        This method sets the policy name.
        Parameters:
        newPolicy - The policy name.
      • getUomStandard

        public java.lang.String getUomStandard()
        This method gets the unit of measure standard.
        Returns:
        The standard unit of measure.
      • setUomStandard

        public void setUomStandard(java.lang.String newUomStandard)
        This method sets the unit of measure standard.
        Parameters:
        newUomStandard - The unit of measure standard to be used.
      • getBackOrders

        public boolean getBackOrders()
        This method gets the flag indicating whether the partner accepts shopping carts with items whose availability is zero.
        Returns:
        The flag indicating whether the partner accepts shopping carts with items whose availability is zero.
      • setBackOrders

        public void setBackOrders(boolean newBackOrders)
        This method sets the flag indicating whether the partner accepts shopping carts with items whose availability is zero.
        Parameters:
        newBackOrders - The flag indicating that the partner accepts shopping carts with items whose availability is zero.
      • getTimeout

        public long getTimeout()
        This method gets the number of seconds that the command will wait for a response. If no response is received with that number of seconds, the command will fail.
        Returns:
        Returns The number of seconds before a timeout failure will occur.
      • setTimeout

        public void setTimeout(long newTimeout)
        This method sets the number of seconds that the command will wait for a response before failing the request.
        Parameters:
        newTimeout - The number of seconds before a timeout failure will occur.
      • getEnabled

        public boolean getEnabled()
        This method gets the flag indicating whether the partner will accept this request.
        Returns:
        The flag indicating if the partner accepts the request.
      • setEnabled

        public void setEnabled(boolean isEnabled)
        This method sets the flag indicating whether the partner accepts this request.
        Parameters:
        isEnabled - The flag indicating if the partner accepts the request.
      • getAuthenticationRequired

        public boolean getAuthenticationRequired()
        This method gets the flag indicating whether the partner requires a userid and password on the request message.
        Returns:
        The flag indicating if a userid and password are required.
      • setAuthenticationRequired

        public void setAuthenticationRequired(boolean isAuthenticationRequired)
        This method sets the flag indicating whether the partner requires a userid and password on the request message.
        Parameters:
        isAuthenticationRequired - The flag indicating if a userid and password are required.
      • setShoppingCartTransferRequest

        public void setShoppingCartTransferRequest(com.ibm.commerce.domain.order.ShoppingCartTransferRequest requestObj)
                                            throws ECSystemException
        This method sets the value of the shopping cart transfer request data object.
        Specified by:
        setShoppingCartTransferRequest in interface TransferShopCartPolicyCmd
        Parameters:
        requestObj - the data object containing all the information necessary to process the request.
        Throws:
        ECSystemException - if the data object is not understood.