org.broadleafcommerce.core.order.domain
Interface OrderItemAttribute

All Superinterfaces:
Serializable
All Known Implementing Classes:
OrderItemAttributeImpl

public interface OrderItemAttribute
extends Serializable

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.
 String getName()
          Gets the name.
 OrderItem getOrderItem()
          Gets the parent orderItem
 String getValue()
          Gets the value.
 void setId(Long id)
          Sets the id.
 void setName(String name)
          Sets the name.
 void setOrderItem(OrderItem orderItem)
          Sets the orderItem.
 void setValue(String value)
          Sets the value.
 

Method Detail

getId

Long getId()
Gets the id.

Returns:
the id

setId

void setId(Long id)
Sets the id.

Parameters:
id - the new id

getValue

String getValue()
Gets the value.

Returns:
the value

setValue

void setValue(String value)
Sets the value.

Parameters:
value - the new value

getOrderItem

OrderItem getOrderItem()
Gets the parent orderItem

Returns:
the orderItem

setOrderItem

void setOrderItem(OrderItem orderItem)
Sets the orderItem.

Parameters:
orderItem - the associated orderItem

getName

String getName()
Gets the name.

Returns:
the name

setName

void setName(String name)
Sets the name.

Parameters:
name - the new name

clone

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

Returns:


Copyright © 2013. All Rights Reserved.