java.lang.Object
com.broadleafcommerce.promotion.offer.client.web.context.info.LineItemRef
All Implemented Interfaces:
Serializable

public class LineItemRef extends Object implements Serializable
Slimmed-down reference to a LineItem that allows specifying what type of line item it is. Default types are
Author:
Nathan Moore (nathanmoore).
See Also:
  • Constructor Details

    • LineItemRef

      public LineItemRef()
  • Method Details

    • getLineNumber

      public String getLineNumber()
      See Also:
    • getType

      public String getType()
      The type of this line item. Default options are ORDER and FULFILLMENT.
      Returns:
      The type of this line item.
    • setLineNumber

      public void setLineNumber(String lineNumber)
      See Also:
    • setType

      public void setType(String type)
      The type of this line item. Default options are ORDER and FULFILLMENT.
      Parameters:
      type - The type of this line item.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object