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