public class ShoppingContent.Orders.Cancellineitem extends ShoppingContentRequest<OrdersCancelLineItemResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Cancellineitem(BigInteger merchantId,
String orderId,
OrdersCancelLineItemRequest content)
Cancels a line item, making a full refund.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Cancellineitem(BigInteger merchantId, String orderId, OrdersCancelLineItemRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Cancellineitem#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
ientRequest)
must be called to initialize this instance immediately after invoking the
constructor.
merchantId
- The ID of the account that manages the order. This cannot be a multi-client account.orderId
- The ID of the order.content
- the OrdersCancelLineItemRequest
public ShoppingContent.Orders.Cancellineitem setAlt(String alt)
ShoppingContentRequest
setAlt
in class ShoppingContentRequest<OrdersCancelLineItemResponse>
public ShoppingContent.Orders.Cancellineitem setFields(String fields)
ShoppingContentRequest
setFields
in class ShoppingContentRequest<OrdersCancelLineItemResponse>
public ShoppingContent.Orders.Cancellineitem setKey(String key)
ShoppingContentRequest
setKey
in class ShoppingContentRequest<OrdersCancelLineItemResponse>
public ShoppingContent.Orders.Cancellineitem setOauthToken(String oauthToken)
ShoppingContentRequest
setOauthToken
in class ShoppingContentRequest<OrdersCancelLineItemResponse>
public ShoppingContent.Orders.Cancellineitem setPrettyPrint(Boolean prettyPrint)
ShoppingContentRequest
setPrettyPrint
in class ShoppingContentRequest<OrdersCancelLineItemResponse>
public ShoppingContent.Orders.Cancellineitem setQuotaUser(String quotaUser)
ShoppingContentRequest
setQuotaUser
in class ShoppingContentRequest<OrdersCancelLineItemResponse>
public ShoppingContent.Orders.Cancellineitem setUserIp(String userIp)
ShoppingContentRequest
setUserIp
in class ShoppingContentRequest<OrdersCancelLineItemResponse>
public BigInteger getMerchantId()
public ShoppingContent.Orders.Cancellineitem setMerchantId(BigInteger merchantId)
public String getOrderId()
public ShoppingContent.Orders.Cancellineitem setOrderId(String orderId)
public ShoppingContent.Orders.Cancellineitem set(String parameterName, Object value)
set
in class ShoppingContentRequest<OrdersCancelLineItemResponse>
Copyright © 2011–2019 Google. All rights reserved.