public static Order Place(OrderId id) { return(new Order(id)); }
private Order(OrderId id) { this.id = id; status = OrderStatus.Open; events.Add(OrderOpened.Create()); }
public static Order Place(OrderId id) { return(new Order(id)); }
private Order(OrderId id) { this.id = id; status = OrderStatus.Open; events.Add(OrderOpened.Create()); }