Interface OrderItemAttribute

All Superinterfaces:
org.broadleafcommerce.common.copy.MultiTenantCloneable<OrderItemAttribute>, Serializable, org.broadleafcommerce.common.value.ValueAssignable<String>
All Known Implementing Classes:
OrderItemAttributeImpl

public interface OrderItemAttribute extends org.broadleafcommerce.common.value.ValueAssignable<String>, org.broadleafcommerce.common.copy.MultiTenantCloneable<OrderItemAttribute>
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

    Modifier and Type
    Method
    Description
    Provide support for a deep copy of an order item.
    Gets the id.
    Gets the parent orderItem
    void
    setId(Long id)
    Sets the id.
    void
    Sets the orderItem.

    Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable

    createOrRetrieveCopyInstance

    Methods inherited from interface org.broadleafcommerce.common.value.ValueAssignable

    getName, getValue, setName, setValue
  • Method Details

    • 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

      Provide support for a deep copy of an order item.
      Returns: