public static class ProductFeed.APIRequestUpdate extends APIRequest<ProductFeed>
APIRequest.DefaultAsyncRequestExecutor, APIRequest.DefaultRequestExecutor, APIRequest.IAsyncRequestExecutor, APIRequest.IRequestExecutor, APIRequest.RequestHelper, APIRequest.ResponseParser<T extends APINode>
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 |
---|
APIRequestUpdate(String nodeId,
APIContext context) |
addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpoint
public APIRequestUpdate(String nodeId, APIContext context)
public ProductFeed getLastResponse()
getLastResponse
in class APIRequest<ProductFeed>
public ProductFeed parseResponse(String response) throws APIException
parseResponse
in class APIRequest<ProductFeed>
APIException
public ProductFeed execute() throws APIException
execute
in class APIRequest<ProductFeed>
APIException
public ProductFeed execute(Map<String,Object> extraParams) throws APIException
execute
in class APIRequest<ProductFeed>
APIException
public com.google.common.util.concurrent.ListenableFuture<ProductFeed> executeAsync() throws APIException
APIException
public com.google.common.util.concurrent.ListenableFuture<ProductFeed> executeAsync(Map<String,Object> extraParams) throws APIException
APIException
public ProductFeed.APIRequestUpdate setParam(String param, Object value)
setParam
in class APIRequest<ProductFeed>
public ProductFeed.APIRequestUpdate setParams(Map<String,Object> params)
setParams
in class APIRequest<ProductFeed>
public ProductFeed.APIRequestUpdate setDefaultCurrency(String defaultCurrency)
public ProductFeed.APIRequestUpdate setDelimiter(ProductFeed.EnumDelimiter delimiter)
public ProductFeed.APIRequestUpdate setDelimiter(String delimiter)
public ProductFeed.APIRequestUpdate setEncoding(ProductFeed.EnumEncoding encoding)
public ProductFeed.APIRequestUpdate setEncoding(String encoding)
public ProductFeed.APIRequestUpdate setName(String name)
public ProductFeed.APIRequestUpdate setQuotedFieldsMode(ProductFeed.EnumQuotedFieldsMode quotedFieldsMode)
public ProductFeed.APIRequestUpdate setQuotedFieldsMode(String quotedFieldsMode)
public ProductFeed.APIRequestUpdate setSchedule(String schedule)
public ProductFeed.APIRequestUpdate setUpdateSchedule(String updateSchedule)
public ProductFeed.APIRequestUpdate setQuotedFields(Boolean quotedFields)
public ProductFeed.APIRequestUpdate setQuotedFields(String quotedFields)
public ProductFeed.APIRequestUpdate setDeletionEnabled(Boolean deletionEnabled)
public ProductFeed.APIRequestUpdate setDeletionEnabled(String deletionEnabled)
public ProductFeed.APIRequestUpdate requestAllFields()
public ProductFeed.APIRequestUpdate requestAllFields(boolean value)
public ProductFeed.APIRequestUpdate requestFields(List<String> fields)
requestFields
in class APIRequest<ProductFeed>
public ProductFeed.APIRequestUpdate requestFields(List<String> fields, boolean value)
requestFields
in class APIRequest<ProductFeed>
public ProductFeed.APIRequestUpdate requestField(String field)
requestField
in class APIRequest<ProductFeed>
public ProductFeed.APIRequestUpdate requestField(String field, boolean value)
requestField
in class APIRequest<ProductFeed>
Copyright © 2018. All rights reserved.