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