public void newRefund(Product p, int unitats, String reason) { Refund r = new Refund(refundsRepository.newId(), p, unitats, reason); refundsRepository.insert(r); }