public class ShoppingContent.Returnpolicy.Get extends ShoppingContentRequest<ReturnPolicy>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Get(BigInteger merchantId,
String returnPolicyId)
Gets a return policy of the Merchant Center account.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
BigInteger |
getMerchantId()
The Merchant Center account to get a return policy for.
|
String |
getReturnPolicyId()
Return policy ID generated by Google.
|
ShoppingContent.Returnpolicy.Get |
set(String parameterName,
Object value) |
ShoppingContent.Returnpolicy.Get |
setAlt(String alt)
Data format for the response.
|
ShoppingContent.Returnpolicy.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
ShoppingContent.Returnpolicy.Get |
setKey(String key)
API key.
|
ShoppingContent.Returnpolicy.Get |
setMerchantId(BigInteger merchantId)
The Merchant Center account to get a return policy for.
|
ShoppingContent.Returnpolicy.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
ShoppingContent.Returnpolicy.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
ShoppingContent.Returnpolicy.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
ShoppingContent.Returnpolicy.Get |
setReturnPolicyId(String returnPolicyId)
Return policy ID generated by Google.
|
ShoppingContent.Returnpolicy.Get |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(BigInteger merchantId, String returnPolicyId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. ShoppingContent.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
merchantId - The Merchant Center account to get a return policy for.returnPolicyId - Return policy ID generated by Google.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<ReturnPolicy>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<ReturnPolicy>IOExceptionpublic ShoppingContent.Returnpolicy.Get setAlt(String alt)
ShoppingContentRequestsetAlt in class ShoppingContentRequest<ReturnPolicy>public ShoppingContent.Returnpolicy.Get setFields(String fields)
ShoppingContentRequestsetFields in class ShoppingContentRequest<ReturnPolicy>public ShoppingContent.Returnpolicy.Get setKey(String key)
ShoppingContentRequestsetKey in class ShoppingContentRequest<ReturnPolicy>public ShoppingContent.Returnpolicy.Get setOauthToken(String oauthToken)
ShoppingContentRequestsetOauthToken in class ShoppingContentRequest<ReturnPolicy>public ShoppingContent.Returnpolicy.Get setPrettyPrint(Boolean prettyPrint)
ShoppingContentRequestsetPrettyPrint in class ShoppingContentRequest<ReturnPolicy>public ShoppingContent.Returnpolicy.Get setQuotaUser(String quotaUser)
ShoppingContentRequestsetQuotaUser in class ShoppingContentRequest<ReturnPolicy>public ShoppingContent.Returnpolicy.Get setUserIp(String userIp)
ShoppingContentRequestsetUserIp in class ShoppingContentRequest<ReturnPolicy>public BigInteger getMerchantId()
public ShoppingContent.Returnpolicy.Get setMerchantId(BigInteger merchantId)
public String getReturnPolicyId()
public ShoppingContent.Returnpolicy.Get setReturnPolicyId(String returnPolicyId)
public ShoppingContent.Returnpolicy.Get set(String parameterName, Object value)
set in class ShoppingContentRequest<ReturnPolicy>Copyright © 2011–2020 Google. All rights reserved.