import commonj.sdo.helper.XMLHelper;
public class QuoteDataUtil {
public static AvailQuote buildAvailQuoteData() {
AvailQuote availQuote = AvailFactory.INSTANCE.createAvailQuote();
AvailRequest availRequest = AvailFactory.INSTANCE.createAvailRequest();
availRequest.setWidgetId(BigInteger.valueOf(12));
availRequest.setRequestedQuantity(10);
availRequest.setQuantityAvail(true);
availRequest.setShipDate("2003-03-22");
availQuote.getAvailRequest().add(availRequest);
availRequest = AvailFactory.INSTANCE.createAvailRequest();
availRequest.setWidgetId(BigInteger.valueOf(134));
availRequest.setRequestedQuantity(345);
availRequest.setQuantityAvail(false);
availRequest.setShipDate("BackOrder");
availQuote.getAvailRequest().add(availRequest);
availRequest = AvailFactory.INSTANCE.createAvailRequest();
availRequest.setWidgetId(BigInteger.valueOf(211));
availRequest.setRequestedQuantity(100);
availRequest.setQuantityAvail(true);
availRequest.setShipDate("2003-04-21");
availQuote.getAvailRequest().add(availRequest);
return availQuote;
}