package policy.price.outline; import java.util.Iterator; import foundation.dao.preload.Bucket; import policy.price.PriceLine; public class CustomerPriceResult implements Iterable { private String customerId; private Bucket priceList; public CustomerPriceResult(String customerId, Bucket priceList) { this.customerId = customerId; this.priceList = priceList; } public String getCustomerId() { return customerId; } @Override public Iterator iterator() { return priceList.iterator(); } }