org.broadleafcommerce.core.order.domain
Interface OrderItemAttribute

All Superinterfaces:
Serializable, ValueAssignable<String>
All Known Implementing Classes:
OrderItemAttributeImpl

public interface OrderItemAttribute
extends ValueAssignable<String>

The Interface OrderItemAttribute. Allows for arbitrary data to be persisted with the orderItem. This can be used to store additional items that are required during order entry. Examples: Engravement Message for a jewelry item TestDate for someone purchasing an online exam Number of minutes for someone purchasing a rate plan.


Method Summary
 OrderItemAttribute clone()
          Provide support for a deep copy of an order item.
 Long getId()
          Gets the id.
 OrderItem getOrderItem()
          Gets the parent orderItem
 void setId(Long id)
          Sets the id.
 void setOrderItem(OrderItem orderItem)
          Sets the orderItem.
 
Methods inherited from interface org.broadleafcommerce.common.value.ValueAssignable
getName, getValue, setName, setValue
 

Method Detail

getId

Long getId()
Gets the id.

Returns:
the id

setId

void setId(Long id)
Sets the id.

Parameters:
id - the new id

getOrderItem

OrderItem getOrderItem()
Gets the parent orderItem

Returns:
the orderItem

setOrderItem

void setOrderItem(OrderItem orderItem)
Sets the orderItem.

Parameters:
orderItem - the associated orderItem

clone

OrderItemAttribute clone()
Provide support for a deep copy of an order item.

Returns:


Copyright © 2013. All Rights Reserved.