public static class ProductCatalog.APIRequestGetHotels extends APIRequest<Hotel>
APIRequest.DefaultAsyncRequestExecutor, APIRequest.DefaultRequestExecutor, APIRequest.IAsyncRequestExecutor, APIRequest.IRequestExecutor, APIRequest.RequestHelper, APIRequest.ResponseParser<T extends APINode>, APIRequest.ResponseWrapper| Modifier and Type | Field and Description |
|---|---|
static String[] |
FIELDS |
static String[] |
PARAMS |
context, endpoint, method, nodeId, paramNames, params, parser, returnFields, USER_AGENT, useVideoEndpoint| Constructor and Description |
|---|
APIRequestGetHotels(String nodeId,
APIContext context) |
addToBatch, addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpointpublic APIRequestGetHotels(String nodeId, APIContext context)
public APINodeList<Hotel> getLastResponse()
getLastResponse in class APIRequest<Hotel>public APINodeList<Hotel> parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<Hotel>APIExceptionpublic APINodeList<Hotel> execute() throws APIException
execute in class APIRequest<Hotel>APIExceptionpublic APINodeList<Hotel> execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<Hotel>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<Hotel>> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<Hotel>> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic ProductCatalog.APIRequestGetHotels setParam(String param, Object value)
setParam in class APIRequest<Hotel>public ProductCatalog.APIRequestGetHotels setParams(Map<String,Object> params)
setParams in class APIRequest<Hotel>public ProductCatalog.APIRequestGetHotels setBulkPagination(Boolean bulkPagination)
public ProductCatalog.APIRequestGetHotels setBulkPagination(String bulkPagination)
public ProductCatalog.APIRequestGetHotels setFilter(Object filter)
public ProductCatalog.APIRequestGetHotels setFilter(String filter)
public ProductCatalog.APIRequestGetHotels requestAllFields()
public ProductCatalog.APIRequestGetHotels requestAllFields(boolean value)
public ProductCatalog.APIRequestGetHotels requestFields(List<String> fields)
requestFields in class APIRequest<Hotel>public ProductCatalog.APIRequestGetHotels requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<Hotel>public ProductCatalog.APIRequestGetHotels requestField(String field)
requestField in class APIRequest<Hotel>public ProductCatalog.APIRequestGetHotels requestField(String field, boolean value)
requestField in class APIRequest<Hotel>public ProductCatalog.APIRequestGetHotels requestAddressField()
public ProductCatalog.APIRequestGetHotels requestAddressField(boolean value)
public ProductCatalog.APIRequestGetHotels requestApplinksField()
public ProductCatalog.APIRequestGetHotels requestApplinksField(boolean value)
public ProductCatalog.APIRequestGetHotels requestBrandField()
public ProductCatalog.APIRequestGetHotels requestBrandField(boolean value)
public ProductCatalog.APIRequestGetHotels requestCategoryField()
public ProductCatalog.APIRequestGetHotels requestCategoryField(boolean value)
public ProductCatalog.APIRequestGetHotels requestCategorySpecificFieldsField()
public ProductCatalog.APIRequestGetHotels requestCategorySpecificFieldsField(boolean value)
public ProductCatalog.APIRequestGetHotels requestCurrencyField()
public ProductCatalog.APIRequestGetHotels requestCurrencyField(boolean value)
public ProductCatalog.APIRequestGetHotels requestDescriptionField()
public ProductCatalog.APIRequestGetHotels requestDescriptionField(boolean value)
public ProductCatalog.APIRequestGetHotels requestGuestRatingsField()
public ProductCatalog.APIRequestGetHotels requestGuestRatingsField(boolean value)
public ProductCatalog.APIRequestGetHotels requestHotelIdField()
public ProductCatalog.APIRequestGetHotels requestHotelIdField(boolean value)
public ProductCatalog.APIRequestGetHotels requestIdField()
public ProductCatalog.APIRequestGetHotels requestIdField(boolean value)
public ProductCatalog.APIRequestGetHotels requestImagesField()
public ProductCatalog.APIRequestGetHotels requestImagesField(boolean value)
public ProductCatalog.APIRequestGetHotels requestLowestBasePriceField()
public ProductCatalog.APIRequestGetHotels requestLowestBasePriceField(boolean value)
public ProductCatalog.APIRequestGetHotels requestLoyaltyProgramField()
public ProductCatalog.APIRequestGetHotels requestLoyaltyProgramField(boolean value)
public ProductCatalog.APIRequestGetHotels requestMarginLevelField()
public ProductCatalog.APIRequestGetHotels requestMarginLevelField(boolean value)
public ProductCatalog.APIRequestGetHotels requestNameField()
public ProductCatalog.APIRequestGetHotels requestNameField(boolean value)
public ProductCatalog.APIRequestGetHotels requestPhoneField()
public ProductCatalog.APIRequestGetHotels requestPhoneField(boolean value)
public ProductCatalog.APIRequestGetHotels requestSalePriceField()
public ProductCatalog.APIRequestGetHotels requestSalePriceField(boolean value)
public ProductCatalog.APIRequestGetHotels requestSanitizedImagesField()
public ProductCatalog.APIRequestGetHotels requestSanitizedImagesField(boolean value)
public ProductCatalog.APIRequestGetHotels requestStarRatingField()
public ProductCatalog.APIRequestGetHotels requestStarRatingField(boolean value)
public ProductCatalog.APIRequestGetHotels requestUrlField()
public ProductCatalog.APIRequestGetHotels requestUrlField(boolean value)
Copyright © 2020. All rights reserved.