target.apidocs.com.google.api.services.content.model.OrdersCustomBatchRequestEntry.html Maven / Gradle / Ivy
OrdersCustomBatchRequestEntry (Content API for Shopping v2-rev20200902-1.30.10)
com.google.api.services.content.model
Class OrdersCustomBatchRequestEntry
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.OrdersCustomBatchRequestEntry
-
public final class OrdersCustomBatchRequestEntry
extends GenericJson
Model definition for OrdersCustomBatchRequestEntry.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation
see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
OrdersCustomBatchRequestEntry()
-
Method Summary
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBatchId
public Long getBatchId()
An entry ID, unique within the batch request.
- Returns:
- value or
null
for none
-
setBatchId
public OrdersCustomBatchRequestEntry setBatchId(Long batchId)
An entry ID, unique within the batch request.
- Parameters:
batchId
- batchId or null
for none
-
getCancel
public OrdersCustomBatchRequestEntryCancel getCancel()
Required for `cancel` method.
- Returns:
- value or
null
for none
-
setCancel
public OrdersCustomBatchRequestEntry setCancel(OrdersCustomBatchRequestEntryCancel cancel)
Required for `cancel` method.
- Parameters:
cancel
- cancel or null
for none
-
getCancelLineItem
public OrdersCustomBatchRequestEntryCancelLineItem getCancelLineItem()
Required for `cancelLineItem` method.
- Returns:
- value or
null
for none
-
setCancelLineItem
public OrdersCustomBatchRequestEntry setCancelLineItem(OrdersCustomBatchRequestEntryCancelLineItem cancelLineItem)
Required for `cancelLineItem` method.
- Parameters:
cancelLineItem
- cancelLineItem or null
for none
-
getInStoreRefundLineItem
public OrdersCustomBatchRequestEntryInStoreRefundLineItem getInStoreRefundLineItem()
Required for `inStoreReturnLineItem` method.
- Returns:
- value or
null
for none
-
setInStoreRefundLineItem
public OrdersCustomBatchRequestEntry setInStoreRefundLineItem(OrdersCustomBatchRequestEntryInStoreRefundLineItem inStoreRefundLineItem)
Required for `inStoreReturnLineItem` method.
- Parameters:
inStoreRefundLineItem
- inStoreRefundLineItem or null
for none
-
getMerchantId
public BigInteger getMerchantId()
The ID of the managing account.
- Returns:
- value or
null
for none
-
setMerchantId
public OrdersCustomBatchRequestEntry setMerchantId(BigInteger merchantId)
The ID of the managing account.
- Parameters:
merchantId
- merchantId or null
for none
-
getMerchantOrderId
public String getMerchantOrderId()
The merchant order ID. Required for `updateMerchantOrderId` and `getByMerchantOrderId` methods.
- Returns:
- value or
null
for none
-
setMerchantOrderId
public OrdersCustomBatchRequestEntry setMerchantOrderId(String merchantOrderId)
The merchant order ID. Required for `updateMerchantOrderId` and `getByMerchantOrderId` methods.
- Parameters:
merchantOrderId
- merchantOrderId or null
for none
-
getMethod
public String getMethod()
The method of the batch entry.
Acceptable values are: - "`acknowledge`" - "`cancel`" - "`cancelLineItem`" - "`get`" -
"`getByMerchantOrderId`" - "`inStoreRefundLineItem`" - "`refund`" - "`rejectReturnLineItem`"
- "`returnLineItem`" - "`returnRefundLineItem`" - "`setLineItemMetadata`" -
"`shipLineItems`" - "`updateLineItemShippingDetails`" - "`updateMerchantOrderId`" -
"`updateShipment`"
- Returns:
- value or
null
for none
-
setMethod
public OrdersCustomBatchRequestEntry setMethod(String method)
The method of the batch entry.
Acceptable values are: - "`acknowledge`" - "`cancel`" - "`cancelLineItem`" - "`get`" -
"`getByMerchantOrderId`" - "`inStoreRefundLineItem`" - "`refund`" - "`rejectReturnLineItem`"
- "`returnLineItem`" - "`returnRefundLineItem`" - "`setLineItemMetadata`" -
"`shipLineItems`" - "`updateLineItemShippingDetails`" - "`updateMerchantOrderId`" -
"`updateShipment`"
- Parameters:
method
- method or null
for none
-
getOperationId
public String getOperationId()
The ID of the operation. Unique across all operations for a given order. Required for all
methods beside `get` and `getByMerchantOrderId`.
- Returns:
- value or
null
for none
-
setOperationId
public OrdersCustomBatchRequestEntry setOperationId(String operationId)
The ID of the operation. Unique across all operations for a given order. Required for all
methods beside `get` and `getByMerchantOrderId`.
- Parameters:
operationId
- operationId or null
for none
-
getOrderId
public String getOrderId()
The ID of the order. Required for all methods beside `getByMerchantOrderId`.
- Returns:
- value or
null
for none
-
setOrderId
public OrdersCustomBatchRequestEntry setOrderId(String orderId)
The ID of the order. Required for all methods beside `getByMerchantOrderId`.
- Parameters:
orderId
- orderId or null
for none
-
getRefund
public OrdersCustomBatchRequestEntryRefund getRefund()
Required for `refund` method.
- Returns:
- value or
null
for none
-
setRefund
public OrdersCustomBatchRequestEntry setRefund(OrdersCustomBatchRequestEntryRefund refund)
Required for `refund` method.
- Parameters:
refund
- refund or null
for none
-
getRejectReturnLineItem
public OrdersCustomBatchRequestEntryRejectReturnLineItem getRejectReturnLineItem()
Required for `rejectReturnLineItem` method.
- Returns:
- value or
null
for none
-
setRejectReturnLineItem
public OrdersCustomBatchRequestEntry setRejectReturnLineItem(OrdersCustomBatchRequestEntryRejectReturnLineItem rejectReturnLineItem)
Required for `rejectReturnLineItem` method.
- Parameters:
rejectReturnLineItem
- rejectReturnLineItem or null
for none
-
getReturnLineItem
public OrdersCustomBatchRequestEntryReturnLineItem getReturnLineItem()
Required for `returnLineItem` method.
- Returns:
- value or
null
for none
-
setReturnLineItem
public OrdersCustomBatchRequestEntry setReturnLineItem(OrdersCustomBatchRequestEntryReturnLineItem returnLineItem)
Required for `returnLineItem` method.
- Parameters:
returnLineItem
- returnLineItem or null
for none
-
getReturnRefundLineItem
public OrdersCustomBatchRequestEntryReturnRefundLineItem getReturnRefundLineItem()
Required for `returnRefundLineItem` method.
- Returns:
- value or
null
for none
-
setReturnRefundLineItem
public OrdersCustomBatchRequestEntry setReturnRefundLineItem(OrdersCustomBatchRequestEntryReturnRefundLineItem returnRefundLineItem)
Required for `returnRefundLineItem` method.
- Parameters:
returnRefundLineItem
- returnRefundLineItem or null
for none
-
getSetLineItemMetadata
public OrdersCustomBatchRequestEntrySetLineItemMetadata getSetLineItemMetadata()
Required for `setLineItemMetadata` method.
- Returns:
- value or
null
for none
-
setSetLineItemMetadata
public OrdersCustomBatchRequestEntry setSetLineItemMetadata(OrdersCustomBatchRequestEntrySetLineItemMetadata setLineItemMetadata)
Required for `setLineItemMetadata` method.
- Parameters:
setLineItemMetadata
- setLineItemMetadata or null
for none
-
getShipLineItems
public OrdersCustomBatchRequestEntryShipLineItems getShipLineItems()
Required for `shipLineItems` method.
- Returns:
- value or
null
for none
-
setShipLineItems
public OrdersCustomBatchRequestEntry setShipLineItems(OrdersCustomBatchRequestEntryShipLineItems shipLineItems)
Required for `shipLineItems` method.
- Parameters:
shipLineItems
- shipLineItems or null
for none
-
getUpdateLineItemShippingDetails
public OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails getUpdateLineItemShippingDetails()
Required for `updateLineItemShippingDate` method.
- Returns:
- value or
null
for none
-
setUpdateLineItemShippingDetails
public OrdersCustomBatchRequestEntry setUpdateLineItemShippingDetails(OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails updateLineItemShippingDetails)
Required for `updateLineItemShippingDate` method.
- Parameters:
updateLineItemShippingDetails
- updateLineItemShippingDetails or null
for none
-
getUpdateShipment
public OrdersCustomBatchRequestEntryUpdateShipment getUpdateShipment()
Required for `updateShipment` method.
- Returns:
- value or
null
for none
-
setUpdateShipment
public OrdersCustomBatchRequestEntry setUpdateShipment(OrdersCustomBatchRequestEntryUpdateShipment updateShipment)
Required for `updateShipment` method.
- Parameters:
updateShipment
- updateShipment or null
for none
-
set
public OrdersCustomBatchRequestEntry set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public OrdersCustomBatchRequestEntry clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy