Class ItemSale
java.lang.Object
br.com.pethub.model.ItemSale
This class represents an ItemSale in the application.
It contains fields that represent different properties of an item sale, such as id, sale, product, qty, and subtotal.
It also contains getter and setter methods for these fields.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()intgetQty()getSale()voidsetId(int id) voidsetProduct(Products product) voidsetQty(int qty) voidvoidsetSubtotal(Double subtotal)
-
Constructor Details
-
ItemSale
public ItemSale()
-
-
Method Details
-
getId
public int getId() -
setId
public void setId(int id) -
getSale
-
setSale
-
getProduct
-
setProduct
-
getQty
public int getQty() -
setQty
public void setQty(int qty) -
getSubtotal
-
setSubtotal
-