Instantly share code, notes, and snippets.

View Cart.java
import java.time.LocalDateTime;
public class Cart
{
private LocalDateTime addTime;
private Product product;
private int quantity;
public Cart(LocalDateTime addTime, Product product, int quantity)
{