org.broadleafcommerce.core.order.domain
Interface OrderMultishipOption

All Known Implementing Classes:
OrderMultishipOptionImpl

public interface 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 Summary
 Address getAddress()
          Gets the associated Address with this OrderMultishipOption
 FulfillmentOption getFulfillmentOption()
          Gets the associated FulfillmentOption with this OrderMultishipOption
 Long getId()
          Returns the internal id of this OrderMultishipOption
 Order getOrder()
          Returns the Order associated with this OrderMultishipOption
 OrderItem getOrderItem()
          Gets the OrderItem associated with this OrderMultishipOption.
 void setAddress(Address address)
          Sets the associated Address with this OrderMultishipOption
 void setFulfillmentOption(FulfillmentOption fulfillmentOption)
          Sets the associated FulfillmentOption with this OrderMultishipOption
 void setId(Long id)
          Sets the internal id of this OrderMultishipOption
 void setOrder(Order order)
          Sets the associated Order with this OrderMultishipOption
 void setOrderItem(OrderItem orderItem)
          Sets the associated OrderItem with this OrderMultishipOption
 

Method Detail

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:
getOrderItem()

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


Copyright © 2013. All Rights Reserved.