AntonKorzhan7

Untitled

Feb 27th, 2020
49
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. public class Product {
  3.  
  4. private int productID;
  5. private double productPrice;
  6. private String productName;
  7. private int productQty;
  8.  
  9. public Product() {
  10.  
  11. }
  12.  
  13. public int getProductID() {
  14. return productID;
  15. }
  16.  
  17. public void setProductID(int productID) {
  18. this.productID = productID;
  19. }
  20.  
  21. public double getProductPrice() {
  22. return productPrice;
  23. }
  24.  
  25. public void setProductPrice(double productPrice) {
  26. this.productPrice = productPrice;
  27. }
  28.  
  29. public String getProductName() {
  30. return productName;
  31. }
  32.  
  33. public void setProductName(String productName) {
  34. this.productName = productName;
  35. }
  36.  
  37. public int getProductQty() {
  38. return productQty;
  39. }
  40.  
  41. public void setProductQty(int productQty) {
  42. this.productQty = productQty;
  43. }
  44.  
  45.  
  46.  
  47. }
RAW Paste Data