public static class Page.APIRequestCreateOffersV3 extends APIRequest<APINode>
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 |
|---|
APIRequestCreateOffersV3(String nodeId,
APIContext context) |
addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpointpublic APIRequestCreateOffersV3(String nodeId, APIContext context)
public APINode getLastResponse()
getLastResponse in class APIRequest<APINode>public APINode parseResponse(String response) throws APIException
parseResponse in class APIRequest<APINode>APIExceptionpublic APINode execute() throws APIException
execute in class APIRequest<APINode>APIExceptionpublic APINode execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<APINode>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINode> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINode> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic Page.APIRequestCreateOffersV3 setParam(String param, Object value)
setParam in class APIRequest<APINode>public Page.APIRequestCreateOffersV3 setParams(Map<String,Object> params)
setParams in class APIRequest<APINode>public Page.APIRequestCreateOffersV3 setAvailabilityLocation(Page.EnumAvailabilityLocation availabilityLocation)
public Page.APIRequestCreateOffersV3 setAvailabilityLocation(String availabilityLocation)
public Page.APIRequestCreateOffersV3 setDescription(String description)
public Page.APIRequestCreateOffersV3 setDestinationUri(String destinationUri)
public Page.APIRequestCreateOffersV3 setDiscountCode(String discountCode)
public Page.APIRequestCreateOffersV3 setExpirationTime(String expirationTime)
public Page.APIRequestCreateOffersV3 setHidden(Boolean hidden)
public Page.APIRequestCreateOffersV3 setHidden(String hidden)
public Page.APIRequestCreateOffersV3 setPhotoUris(List<String> photoUris)
public Page.APIRequestCreateOffersV3 setPhotoUris(String photoUris)
public Page.APIRequestCreateOffersV3 setReferrer(String referrer)
public Page.APIRequestCreateOffersV3 setScheduleTime(String scheduleTime)
public Page.APIRequestCreateOffersV3 setStartTime(String startTime)
public Page.APIRequestCreateOffersV3 setTermsAndConditions(String termsAndConditions)
public Page.APIRequestCreateOffersV3 setVideoIds(List<String> videoIds)
public Page.APIRequestCreateOffersV3 setVideoIds(String videoIds)
public Page.APIRequestCreateOffersV3 requestAllFields()
public Page.APIRequestCreateOffersV3 requestAllFields(boolean value)
public Page.APIRequestCreateOffersV3 requestFields(List<String> fields)
requestFields in class APIRequest<APINode>public Page.APIRequestCreateOffersV3 requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<APINode>public Page.APIRequestCreateOffersV3 requestField(String field)
requestField in class APIRequest<APINode>public Page.APIRequestCreateOffersV3 requestField(String field, boolean value)
requestField in class APIRequest<APINode>Copyright © 2018. All rights reserved.