public class ForecastServiceInterfacegetAvailabilityForecastById extends Object
AvailabilityForecast for an existing LineItem object. An availability
forecast reports the maximum number of available units that the line item can be booked with,
and also the total number of units matching the line item's targeting.
Only line items having type LineItemType.SPONSORSHIP or LineItemType.STANDARD are valid. Other types will result in ReservationDetailsError.Reason#LINE_ITEM_TYPE_NOT_ALLOWED.
| Modifier and Type | Field and Description |
|---|---|
protected AvailabilityForecastOptions |
forecastOptions |
protected Long |
lineItemId |
| Constructor and Description |
|---|
ForecastServiceInterfacegetAvailabilityForecastById() |
| Modifier and Type | Method and Description |
|---|---|
AvailabilityForecastOptions |
getForecastOptions()
Gets the value of the forecastOptions property.
|
Long |
getLineItemId()
Gets the value of the lineItemId property.
|
void |
setForecastOptions(AvailabilityForecastOptions value)
Sets the value of the forecastOptions property.
|
void |
setLineItemId(Long value)
Sets the value of the lineItemId property.
|
protected Long lineItemId
protected AvailabilityForecastOptions forecastOptions
public ForecastServiceInterfacegetAvailabilityForecastById()
public Long getLineItemId()
Longpublic void setLineItemId(Long value)
value - allowed object is
Longpublic AvailabilityForecastOptions getForecastOptions()
AvailabilityForecastOptionspublic void setForecastOptions(AvailabilityForecastOptions value)
value - allowed object is
AvailabilityForecastOptionsCopyright © 2018. All Rights Reserved.