com.ibm.commerce.order.beans

Class UsableInstructsPerOrderItemBlock

  • java.lang.Object
    • com.ibm.commerce.order.beans.UsableInstructsPerOrderItemBlock


  • public class UsableInstructsPerOrderItemBlock
    extends java.lang.Object
    Represents a block of order items pertaining to an order. The order items all have the same address ID and ship mode ID. And they also have in common any shipping instructions that may exist in the SHIPINFO table. The shipping instructions are for the order ID, address ID and ship mode ID combination that the block of order items represent. Getters allow access to the stored order items, shipping instructions, and other relevant data to the block.
    • Constructor Detail

      • UsableInstructsPerOrderItemBlock

        public UsableInstructsPerOrderItemBlock()
        ShipChargeTCPolicyData constructor.
    • Method Detail

      • setOrderId

        public void setOrderId(java.lang.String aOrderIdId)
        This method sets the order ID.
        Parameters:
        aOrderIdId - The order ID of the block
      • getOrderId

        public java.lang.String getOrderId()
        This method returns the order ID.
        Returns:
        String The order ID of the block of order items
      • setShipModeId

        public void setShipModeId(java.lang.String aShipModeId)
        This method sets ship mode ID.
        Parameters:
        aShipModeId - The ship mode ID of the order item block
      • setShipModeDesc

        public void setShipModeDesc(java.lang.String aShipModeDesc)
        This method sets the ship mode description
        Parameters:
        aShipModeDesc - The ship mode description of the block
      • getShipModeId

        public java.lang.String getShipModeId()
        This method returns The ship mode ID.
        Returns:
        String The ship mode ID of the block
      • getShipModeDesc

        public java.lang.String getShipModeDesc()
        This method returns the ship mode description for the ship mode ID stored.
        Returns:
        String The shipmode description of the shipmode id of this block
      • setAddressId

        public void setAddressId(java.lang.String aAddressId)
        This method sets address ID.
        Parameters:
        aAddressId - The address ID
      • getAddressId

        public java.lang.String getAddressId()
        This method returns address ID.
        Returns:
        String The address ID of this block
      • setShipInstructions

        public void setShipInstructions(java.lang.String aShipInstructions)
        This method sets shipping instructions.
        Parameters:
        aShipInstructions - The ship Instructions
      • getShipInstructions

        public java.lang.String getShipInstructions()
        This method returns shipping instructions.
        Returns:
        String The ship Instructions, if they exist, associated with this block
      • setOrderItems

        public void setOrderItems(OrderItemDataBean[] ordItemDataBean)
        This method sets order items.
        Parameters:
        ordItemDataBean - The orderItems that make up this block
      • getOrderItems

        public OrderItemDataBean[] getOrderItems()
        This method returns the order items.
        Returns:
        OrderItemDataBean The orderItems that make up this block
      • getAddressDataBean

        public AddressDataBean getAddressDataBean()
        This method returns the address databean associated with this instruction block.
        Returns:
        AddressDataBean
      • setAddressDataBean

        public void setAddressDataBean(AddressDataBean anAddressDataBean)
        The address databean to store for this instruction block.
        Parameters:
        anAddressDataBean -
      • getShipModeDescDataBean

        public ShippingModeDescriptionDataBean getShipModeDescDataBean()
        This method returns the shipmode databean associated with this instruction block.
        Returns:
        ShippingModeDescriptionDataBean
      • setShipModeDescDataBean

        public void setShipModeDescDataBean(ShippingModeDescriptionDataBean aShipModeDescDataBean)
        This method sets the shipmode databean to store for this instruction block.
        Parameters:
        aShipModeDescDataBean -