Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.yannickxd2.onlineShop;
- public class PointOfList {
- private Product product;
- private int quantity;
- public PointOfList(Product product, int quantity) {
- super();
- this.product = product;
- this.quantity = quantity;
- }
- /**
- * @return the product
- */
- public Product getProduct() {
- return product;
- }
- /**
- * @return the quantity
- */
- public int getQuantity() {
- return quantity;
- }
- /**
- * @param quantity the quantity to set
- */
- public void setQuantity(int quantity) {
- this.quantity = quantity;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement