public class ForecastServiceSoapBindingStub extends org.apache.axis.client.Stub implements ForecastServiceInterface
_call, cachedEndpoint, cachedPassword, cachedPortName, cachedProperties, cachedTimeout, cachedUsername, maintainSession, maintainSessionSet, serviceENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY| Constructor and Description |
|---|
ForecastServiceSoapBindingStub() |
ForecastServiceSoapBindingStub(javax.xml.rpc.Service service) |
ForecastServiceSoapBindingStub(URL endpointURL,
javax.xml.rpc.Service service) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.axis.client.Call |
createCall() |
AvailabilityForecast |
getAvailabilityForecast(ProspectiveLineItem lineItem,
AvailabilityForecastOptions forecastOptions)
Gets the availability forecast for a
ProspectiveLineItem. |
AvailabilityForecast |
getAvailabilityForecastById(Long lineItemId,
AvailabilityForecastOptions forecastOptions)
Gets an
AvailabilityForecast for an existing LineItem object. |
DeliveryForecast |
getDeliveryForecast(ProspectiveLineItem[] lineItems,
DeliveryForecastOptions forecastOptions)
Gets the delivery forecast for a list of
ProspectiveLineItem
objects in a single
delivery simulation with line items potentially contending
with each other. |
DeliveryForecast |
getDeliveryForecastByIds(long[] lineItemIds,
DeliveryForecastOptions forecastOptions)
Gets the delivery forecast for a list of existing
LineItem
objects in a single
delivery simulation with line items potentially contending
with each other. |
_createCall, _getCall, _getProperty, _getPropertyNames, _getService, _setProperty, addAttachment, clearAttachments, clearHeaders, extractAttachments, firstCall, getAttachments, getHeader, getHeaders, getPassword, getPortName, getResponseHeader, getResponseHeaders, getResponseHeaders, getTimeout, getUsername, removeProperty, setAttachments, setHeader, setHeader, setMaintainSession, setPassword, setPortName, setPortName, setRequestHeaders, setTimeout, setUsernamepublic ForecastServiceSoapBindingStub()
throws org.apache.axis.AxisFault
org.apache.axis.AxisFaultpublic ForecastServiceSoapBindingStub(URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault
org.apache.axis.AxisFaultpublic ForecastServiceSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault
org.apache.axis.AxisFaultprotected org.apache.axis.client.Call createCall()
throws RemoteException
RemoteExceptionpublic AvailabilityForecast getAvailabilityForecast(ProspectiveLineItem lineItem, AvailabilityForecastOptions forecastOptions) throws RemoteException, ApiException
ForecastServiceInterfaceProspectiveLineItem.
An availability forecast
reports the maximum number of available units that the line
item can book, and the total
number of units matching the line item's targeting.
Note: Beginning in v201502, this replaces the previous getForecast method.
getAvailabilityForecast in interface ForecastServiceInterfacelineItem - the prospective line item (new or existing) to be
forecasted for availabilityforecastOptions - options controlling the forecastRemoteExceptionApiExceptionpublic AvailabilityForecast getAvailabilityForecastById(Long lineItemId, AvailabilityForecastOptions forecastOptions) throws RemoteException, ApiException
ForecastServiceInterfaceAvailabilityForecast 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.
Note: Beginning in v201502, this replaces the previous getForecastById method.
getAvailabilityForecastById in interface ForecastServiceInterfacelineItemId - the ID of a LineItem to run the forecast
on.forecastOptions - options controlling the forecastRemoteExceptionApiExceptionpublic DeliveryForecast getDeliveryForecast(ProspectiveLineItem[] lineItems, DeliveryForecastOptions forecastOptions) throws RemoteException, ApiException
ForecastServiceInterfaceProspectiveLineItem
objects in a single
delivery simulation with line items potentially contending
with each other. A delivery
forecast reports the number of units that will be delivered
to each line item given the line
item goals and contentions from other line items.getDeliveryForecast in interface ForecastServiceInterfacelineItems - line items to be forecasted for deliveryforecastOptions - options controlling the forecastRemoteExceptionApiExceptionpublic DeliveryForecast getDeliveryForecastByIds(long[] lineItemIds, DeliveryForecastOptions forecastOptions) throws RemoteException, ApiException
ForecastServiceInterfaceLineItem
objects in a single
delivery simulation with line items potentially contending
with each other. A delivery
forecast reports the number of units that will be delivered
to each line item given the line
item goals and contentions from other line items.getDeliveryForecastByIds in interface ForecastServiceInterfacelineItemIds - the IDs of line items to be forecasted for deliveryforecastOptions - options controlling the forecastRemoteExceptionApiExceptionCopyright © 2016. All Rights Reserved.