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