Interface OrderMultishipOption

All Superinterfaces:
MultiTenantCloneable<OrderMultishipOption>
All Known Implementing Classes:
OrderMultishipOptionImpl

public interface OrderMultishipOption extends MultiTenantCloneable<OrderMultishipOption>
Represents a given set of options for an OrderItem in an Order in the multiship context. This class is used to store current multiship settings for an Order without having to generate the necessary FulfillmentGroups and FulfillmentGroupItems. It also can be used to re-create the multiship set should the Order change
Author:
Andre Azzolini (apazzolini)
  • Method Details

    • getId

      Long getId()
      Returns the internal id of this OrderMultishipOption
      Returns:
      the internal id
    • setId

      void setId(Long id)
      Sets the internal id of this OrderMultishipOption
      Parameters:
      id - the internal id
    • getOrder

      Order getOrder()
      Returns the Order associated with this OrderMultishipOption
      Returns:
      the associated Order
    • setOrder

      void setOrder(Order order)
      Sets the associated Order with this OrderMultishipOption
      Parameters:
      order - the associated order
    • getOrderItem

      OrderItem getOrderItem()
      Gets the OrderItem associated with this OrderMultishipOption. Note that the default Broadleaf implementation will produce an equal number of instances of OrderMultishipOption to the quantity of the OrderItem
      Returns:
      the associated OrderItem
    • setOrderItem

      void setOrderItem(OrderItem orderItem)
      Sets the associated OrderItem with this OrderMultishipOption
      Parameters:
      orderItem - the associated OrderItem
      See Also:
    • getAddress

      Address getAddress()
      Gets the associated Address with this OrderMultishipOption
      Returns:
      the associated Address
    • setAddress

      void setAddress(Address address)
      Sets the associated Address with this OrderMultishipOption
      Parameters:
      address - the associated Address
    • getFulfillmentOption

      FulfillmentOption getFulfillmentOption()
      Gets the associated FulfillmentOption with this OrderMultishipOption
      Returns:
      the associated FulfillmentOption
    • setFulfillmentOption

      void setFulfillmentOption(FulfillmentOption fulfillmentOption)
      Sets the associated FulfillmentOption with this OrderMultishipOption
      Parameters:
      fulfillmentOption - the associated FulfillmentOption