target.apidocs.com.google.api.services.content.model.ShippingsettingsCustomBatchRequestEntry.html Maven / Gradle / Ivy
ShippingsettingsCustomBatchRequestEntry (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class ShippingsettingsCustomBatchRequestEntry
- 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.ShippingsettingsCustomBatchRequestEntry
-
public final class ShippingsettingsCustomBatchRequestEntry
extends com.google.api.client.json.GenericJson
A batch entry encoding a single non-batch shippingsettings request.
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
com.google.api.client.util.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
ShippingsettingsCustomBatchRequestEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ShippingsettingsCustomBatchRequestEntry
clone()
BigInteger
getAccountId()
The ID of the account for which to get/update account shipping settings.
Long
getBatchId()
An entry ID, unique within the batch request.
BigInteger
getMerchantId()
The ID of the managing account.
String
getMethod()
The method of the batch entry.
ShippingSettings
getShippingSettings()
The account shipping settings to update.
ShippingsettingsCustomBatchRequestEntry
set(String fieldName,
Object value)
ShippingsettingsCustomBatchRequestEntry
setAccountId(BigInteger accountId)
The ID of the account for which to get/update account shipping settings.
ShippingsettingsCustomBatchRequestEntry
setBatchId(Long batchId)
An entry ID, unique within the batch request.
ShippingsettingsCustomBatchRequestEntry
setMerchantId(BigInteger merchantId)
The ID of the managing account.
ShippingsettingsCustomBatchRequestEntry
setMethod(String method)
The method of the batch entry.
ShippingsettingsCustomBatchRequestEntry
setShippingSettings(ShippingSettings shippingSettings)
The account shipping settings to update.
-
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
-
-
Constructor Detail
-
ShippingsettingsCustomBatchRequestEntry
public ShippingsettingsCustomBatchRequestEntry()
-
Method Detail
-
getAccountId
public BigInteger getAccountId()
The ID of the account for which to get/update account shipping settings.
- Returns:
- value or
null
for none
-
setAccountId
public ShippingsettingsCustomBatchRequestEntry setAccountId(BigInteger accountId)
The ID of the account for which to get/update account shipping settings.
- Parameters:
accountId
- accountId or null
for none
-
getBatchId
public Long getBatchId()
An entry ID, unique within the batch request.
- Returns:
- value or
null
for none
-
setBatchId
public ShippingsettingsCustomBatchRequestEntry setBatchId(Long batchId)
An entry ID, unique within the batch request.
- Parameters:
batchId
- batchId or null
for none
-
getMerchantId
public BigInteger getMerchantId()
The ID of the managing account.
- Returns:
- value or
null
for none
-
setMerchantId
public ShippingsettingsCustomBatchRequestEntry setMerchantId(BigInteger merchantId)
The ID of the managing account.
- Parameters:
merchantId
- merchantId or null
for none
-
getMethod
public String getMethod()
The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
- Returns:
- value or
null
for none
-
setMethod
public ShippingsettingsCustomBatchRequestEntry setMethod(String method)
The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
- Parameters:
method
- method or null
for none
-
getShippingSettings
public ShippingSettings getShippingSettings()
The account shipping settings to update. Only defined if the method is `update`.
- Returns:
- value or
null
for none
-
setShippingSettings
public ShippingsettingsCustomBatchRequestEntry setShippingSettings(ShippingSettings shippingSettings)
The account shipping settings to update. Only defined if the method is `update`.
- Parameters:
shippingSettings
- shippingSettings or null
for none
-
set
public ShippingsettingsCustomBatchRequestEntry set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ShippingsettingsCustomBatchRequestEntry clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.