public interface ForecastServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
Forecast |
getForecast(LineItem lineItem)
|
Forecast |
getForecastById(Long lineItemId)
|
Forecast getForecast(LineItem lineItem) throws RemoteException, ApiException
Forecast on a prospective LineItem object.
Valid
values for LineItemSummary.lineItemType are
LineItemType.SPONSORSHIP and LineItemType.STANDARD.
Other
values will result in
ReservationDetailsError.Reason#LINE_ITEM_TYPE_NOT_ALLOWED.lineItem - the target of the forecast. Must be a prospective
line item
that has not yet been booked in the system. i.e. LineItemSummary.id
must be null.RemoteExceptionApiExceptionForecast getForecastById(Long lineItemId) throws RemoteException, ApiException
Forecast for an existing LineItem object.
Only
line items having type LineItemType.SPONSORSHIP or
LineItemType.STANDARD are valid. Other types will result in
ReservationDetailsError.Reason#LINE_ITEM_TYPE_NOT_ALLOWED.lineItemId - the ID of a LineItem to run the forecast
on.RemoteExceptionApiExceptionCopyright © 2013. All Rights Reserved.