Class LineItem


  • @Entity
    public class LineItem
    extends Object
    • Constructor Detail

      • LineItem

        public LineItem()
      • LineItem

        public LineItem​(Integer id,
                        Product product,
                        int quantity,
                        javax.money.MonetaryAmount subTotal,
                        Order order)
    • Method Detail

      • setId

        public void setId​(Integer id)
      • getProduct

        public Product getProduct()
      • setProduct

        public void setProduct​(Product product)
      • getQuantity

        public int getQuantity()
      • setQuantity

        public void setQuantity​(int quantity)
      • getSubTotal

        public javax.money.MonetaryAmount getSubTotal()
      • setSubTotal

        public void setSubTotal​(javax.money.MonetaryAmount subTotal)
      • getOrder

        public Order getOrder()
      • setOrder

        public void setOrder​(Order order)