From 63fd513250eada4e6cd33c8e12efbc056bbf5fae Mon Sep 17 00:00:00 2001 From: Emalios Date: Sun, 9 Aug 2020 18:53:20 +0200 Subject: [PATCH] Fix mistake --- poo/value_objects/code/Order.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/poo/value_objects/code/Order.java b/poo/value_objects/code/Order.java index 1fd76d7..f04e5fa 100644 --- a/poo/value_objects/code/Order.java +++ b/poo/value_objects/code/Order.java @@ -5,10 +5,10 @@ public class Order { //Not a value objet because have an id private final UUID orderId; - private List products; + private Products products; private Address addressToDeliver; - public Order(List products, Address addressToDeliver) { + public Order(Products products, Address addressToDeliver) { this.orderId = UUID.randomUUID(); this.products = products; this.addressToDeliver = addressToDeliver;