Advertisement
Guest User

PointOfList

a guest
Nov 23rd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. package com.yannickxd2.onlineShop;
  2.  
  3. public class PointOfList {
  4.  
  5. private Product product;
  6. private int quantity;
  7.  
  8. public PointOfList(Product product, int quantity) {
  9. super();
  10. this.product = product;
  11. this.quantity = quantity;
  12.  
  13. }
  14. /**
  15. * @return the product
  16. */
  17. public Product getProduct() {
  18. return product;
  19. }
  20. /**
  21. * @return the quantity
  22. */
  23. public int getQuantity() {
  24. return quantity;
  25. }
  26. /**
  27. * @param quantity the quantity to set
  28. */
  29. public void setQuantity(int quantity) {
  30. this.quantity = quantity;
  31. }
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement