package com.github.rnowling.bps.datagenerator.datamodels.outputs;

import java.util.List;

import com.google.common.collect.ImmutableList;

public class Transaction
{
	final Long id;
	final Customer customer;
	final Store store;
	final Double dateTime;
	final ImmutableList<String> products;
	
	public Transaction(Long id, Customer customer, Store store, Double dateTime, List<String> products)
	{
		this.id = id;
		this.customer = customer;
		this.store = store;
		this.dateTime = dateTime;
		this.products = ImmutableList.copyOf(products);
	}

	public Long getId()
	{
		return id;
	}

	public Customer getCustomer()
	{
		return customer;
	}

	public Store getStore()
	{
		return store;
	}

	public Double getDateTime()
	{
		return dateTime;
	}

	public ImmutableList<String> getProducts()
	{
		return products;
	}
	
	
}

@@ -84,16 +84,92 @@
 .List;%0A%0A
+import com.github.rnowling.bps.datagenerator.datamodels.simulation.Product;%0A
 import c
@@ -243,20 +243,19 @@
 %0A%09final 
-Long
+int
  id;%0A%09fi
@@ -338,30 +338,31 @@
 mutableList%3C
-String
+Product
 %3E products;%0A
@@ -383,20 +383,19 @@
 saction(
-Long
+int
  id, Cus
@@ -445,22 +445,23 @@
 e, List%3C
-String
+Product
 %3E produc
@@ -627,12 +627,11 @@
 lic 
-Long
+int
  get
@@ -841,14 +841,15 @@
 ist%3C
-String
+Product
 %3E ge

Change Transaction types to match generators