All Superinterfaces:
LineItem
All Known Implementing Classes:
OrderLineItemDto

public interface OrderLineItem extends LineItem
DTO containing information regarding an item in an Order. It includes the quantity present, prices, whether the item is discountable, and other attributes like skuCode, name, category, etc.
Author:
Chad Harchar (charchar), Nathan Moore (nathanmoore).
  • Method Details

    • getParentLineNumber

      String getParentLineNumber()
      The LineItem.getLineNumber() of this item's parent item. This can be used for linking dependent merchandising items like add-ons or accessories to the items to which they belong.
      Returns:
      The LineItem.getLineNumber() of this item's parent item.
    • setParentLineNumber

      void setParentLineNumber(String parentLineNumber)
      The LineItem.getLineNumber() of this item's parent item. This can be used for linking dependent merchandising items like add-ons or accessories to the items to which they belong.
      Parameters:
      parentLineNumber - The LineItem.getLineNumber() of this item's parent item.
    • getFulfillmentPrice

      default javax.money.MonetaryAmount getFulfillmentPrice()
      The fulfillment price of this order item.
      Returns:
      The fulfillment price of this order item.
    • setFulfillmentPrice

      default void setFulfillmentPrice(javax.money.MonetaryAmount fulfillmentPrice)
      Sets the fulfillment price of this order item.
    • getSegment

      default String getSegment()
      The segment which this item is part of. This is used to allow for segmentation across an order for offer application.
      Returns:
      The segment of this order item.
    • setSegment

      default void setSegment(String segment)
      Set the segment which this item is part of. This is used to allow for segmentation across an order for offer application.
      Parameters:
      segment - The segment of this order item.
    • getFulfillmentGroupRef

      default String getFulfillmentGroupRef()
      The reference to the corresponding fulfillment group for this item. This implies a 1-to-1 mapping of line item to fulfillment group.
      Returns:
      The reference to the corresponding fulfillment group for this item.
    • setFulfillmentGroupRef

      default void setFulfillmentGroupRef(String fulfillmentGroupRef)
      The reference to the corresponding fulfillment group for this item. This implies a 1-to-1 mapping of line item to fulfillment group.
      Parameters:
      fulfillmentGroupRef - The reference to the corresponding fulfillment group for this item.