com.ibm.commerce.order.client.commands

Class GetOrderCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • GetOrderCmdImpl

        public GetOrderCmdImpl()
        Default constructor.
    • Method Detail

      • reset

        public void reset()
        Resets this command instance.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • setAction

        public void setAction(java.lang.String astrAction)
        Sets the invocation service action.
        Specified by:
        setAction in interface GetOrderCmd
        Parameters:
        astrAction - the invocation service action.
      • setOrderId

        public void setOrderId(java.lang.Long anOrderId)
        Sets the order ID.
        Specified by:
        setOrderId in interface GetOrderCmd
        Parameters:
        anOrderID - the order ID.
      • setExternalOrderId

        public void setExternalOrderId(java.lang.String astrExternalOrderId)
        Sets the external order ID.
        Specified by:
        setExternalOrderId in interface GetOrderCmd
        Parameters:
        astrExternalOrderID - the external order ID.
      • getCustomerOrderNumber

        public java.lang.String getCustomerOrderNumber()
        Returns the customer order number.
        Returns:
        the customer order number.
      • setCustomerOrderNumber

        public void setCustomerOrderNumber(java.lang.String astrCustomerOrderNumber)
        Sets the customer order number.
        Specified by:
        setCustomerOrderNumber in interface GetOrderCmd
        Parameters:
        astrCustomerOrderNumber - the customer order number.
      • setBuyerOrganizationId

        public void setBuyerOrganizationId(java.lang.Long anBuyerOrganizationId)
        Sets the buyer organization ID.
        Specified by:
        setBuyerOrganizationId in interface GetOrderCmd
        Parameters:
        anBuyerOrganizationID - the buyer organization ID.
      • setCustomerId

        public void setCustomerId(java.lang.Long anCustomerId)
        Sets the customer ID.
        Specified by:
        setCustomerId in interface GetOrderCmd
        Parameters:
        anCustomerID - the customer ID.
      • setBeginIndex

        public void setBeginIndex(java.lang.Integer anBeginIndex)
        Sets the begin index.
        Specified by:
        setBeginIndex in interface GetOrderCmd
        Parameters:
        anBeginIndex - the begin index (one-based, inclusive).
      • setEndIndex

        public void setEndIndex(java.lang.Integer anEndIndex)
        Sets the end index.
        Specified by:
        setEndIndex in interface GetOrderCmd
        Parameters:
        anEndIndex - the end index (one-based, inclusive).
      • getTotalNumberOfOrdersFound

        public java.lang.Integer getTotalNumberOfOrdersFound()
        Returns the total number of orders found.
        Specified by:
        getTotalNumberOfOrdersFound in interface GetOrderCmd
        Returns:
        the total number of orders found.
      • getOrders

        public com.ibm.commerce.order.datatypes.OrderType[] getOrders()
        Returns the orders.
        Specified by:
        getOrders in interface GetOrderCmd
        Returns:
        the orders.
      • setOrders

        public void setOrders(com.ibm.commerce.order.datatypes.OrderType[] aOrders)
        Sets the orders.
        Parameters:
        aOrders - the orders.