public class ShoppingContent.Orders.Gettestordertemplate extends ShoppingContentRequest<OrdersGetTestOrderTemplateResponse>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Gettestordertemplate(BigInteger merchantId,
String templateName)
Sandbox only.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getCountry()
The country of the template to retrieve.
|
BigInteger |
getMerchantId()
The ID of the account that should manage the order.
|
String |
getTemplateName()
The name of the template to retrieve.
|
ShoppingContent.Orders.Gettestordertemplate |
set(String parameterName,
Object value) |
ShoppingContent.Orders.Gettestordertemplate |
setAlt(String alt)
Data format for the response.
|
ShoppingContent.Orders.Gettestordertemplate |
setCountry(String country)
The country of the template to retrieve.
|
ShoppingContent.Orders.Gettestordertemplate |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
ShoppingContent.Orders.Gettestordertemplate |
setKey(String key)
API key.
|
ShoppingContent.Orders.Gettestordertemplate |
setMerchantId(BigInteger merchantId)
The ID of the account that should manage the order.
|
ShoppingContent.Orders.Gettestordertemplate |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
ShoppingContent.Orders.Gettestordertemplate |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
ShoppingContent.Orders.Gettestordertemplate |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
ShoppingContent.Orders.Gettestordertemplate |
setTemplateName(String templateName)
The name of the template to retrieve.
|
ShoppingContent.Orders.Gettestordertemplate |
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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Gettestordertemplate(BigInteger merchantId, String templateName)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. Gettestordertemplate#initialize(com.google.api.client.googleapis.services
.AbstractGoogleClientRequest) must be called to initialize this instance immediately after
invoking the constructor.
merchantId - The ID of the account that should manage the order. This cannot be a multi-client account.templateName - The name of the template to retrieve.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<OrdersGetTestOrderTemplateResponse>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<OrdersGetTestOrderTemplateResponse>IOExceptionpublic ShoppingContent.Orders.Gettestordertemplate setAlt(String alt)
ShoppingContentRequestsetAlt in class ShoppingContentRequest<OrdersGetTestOrderTemplateResponse>public ShoppingContent.Orders.Gettestordertemplate setFields(String fields)
ShoppingContentRequestsetFields in class ShoppingContentRequest<OrdersGetTestOrderTemplateResponse>public ShoppingContent.Orders.Gettestordertemplate setKey(String key)
ShoppingContentRequestsetKey in class ShoppingContentRequest<OrdersGetTestOrderTemplateResponse>public ShoppingContent.Orders.Gettestordertemplate setOauthToken(String oauthToken)
ShoppingContentRequestsetOauthToken in class ShoppingContentRequest<OrdersGetTestOrderTemplateResponse>public ShoppingContent.Orders.Gettestordertemplate setPrettyPrint(Boolean prettyPrint)
ShoppingContentRequestsetPrettyPrint in class ShoppingContentRequest<OrdersGetTestOrderTemplateResponse>public ShoppingContent.Orders.Gettestordertemplate setQuotaUser(String quotaUser)
ShoppingContentRequestsetQuotaUser in class ShoppingContentRequest<OrdersGetTestOrderTemplateResponse>public ShoppingContent.Orders.Gettestordertemplate setUserIp(String userIp)
ShoppingContentRequestsetUserIp in class ShoppingContentRequest<OrdersGetTestOrderTemplateResponse>public BigInteger getMerchantId()
public ShoppingContent.Orders.Gettestordertemplate setMerchantId(BigInteger merchantId)
public String getTemplateName()
public ShoppingContent.Orders.Gettestordertemplate setTemplateName(String templateName)
public String getCountry()
public ShoppingContent.Orders.Gettestordertemplate setCountry(String country)
public ShoppingContent.Orders.Gettestordertemplate set(String parameterName, Object value)
set in class ShoppingContentRequest<OrdersGetTestOrderTemplateResponse>Copyright © 2011–2019 Google. All rights reserved.