target.apidocs.com.google.api.services.content.model.AccountsCustomBatchRequestEntryLinkRequest.html Maven / Gradle / Ivy
AccountsCustomBatchRequestEntryLinkRequest (Content API for Shopping v2.1-rev20220413-1.32.1)
com.google.api.services.content.model
Class AccountsCustomBatchRequestEntryLinkRequest
- 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.AccountsCustomBatchRequestEntryLinkRequest
-
public final class AccountsCustomBatchRequestEntryLinkRequest
extends GenericJson
Model definition for AccountsCustomBatchRequestEntryLinkRequest.
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
AccountsCustomBatchRequestEntryLinkRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AccountsCustomBatchRequestEntryLinkRequest
clone()
String
getAction()
Action to perform for this link.
String
getLinkedAccountId()
The ID of the linked account.
String
getLinkType()
Type of the link between the two accounts.
List<String>
getServices()
Provided services.
AccountsCustomBatchRequestEntryLinkRequest
set(String fieldName,
Object value)
AccountsCustomBatchRequestEntryLinkRequest
setAction(String action)
Action to perform for this link.
AccountsCustomBatchRequestEntryLinkRequest
setLinkedAccountId(String linkedAccountId)
The ID of the linked account.
AccountsCustomBatchRequestEntryLinkRequest
setLinkType(String linkType)
Type of the link between the two accounts.
AccountsCustomBatchRequestEntryLinkRequest
setServices(List<String> services)
Provided services.
-
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
-
AccountsCustomBatchRequestEntryLinkRequest
public AccountsCustomBatchRequestEntryLinkRequest()
-
Method Detail
-
getAction
public String getAction()
Action to perform for this link. The `"request"` action is only available to select merchants.
Acceptable values are: - "`approve`" - "`remove`" - "`request`"
- Returns:
- value or
null
for none
-
setAction
public AccountsCustomBatchRequestEntryLinkRequest setAction(String action)
Action to perform for this link. The `"request"` action is only available to select merchants.
Acceptable values are: - "`approve`" - "`remove`" - "`request`"
- Parameters:
action
- action or null
for none
-
getLinkType
public String getLinkType()
Type of the link between the two accounts. Acceptable values are: - "`channelPartner`" -
"`eCommercePlatform`" - "`paymentServiceProvider`"
- Returns:
- value or
null
for none
-
setLinkType
public AccountsCustomBatchRequestEntryLinkRequest setLinkType(String linkType)
Type of the link between the two accounts. Acceptable values are: - "`channelPartner`" -
"`eCommercePlatform`" - "`paymentServiceProvider`"
- Parameters:
linkType
- linkType or null
for none
-
getLinkedAccountId
public String getLinkedAccountId()
The ID of the linked account.
- Returns:
- value or
null
for none
-
setLinkedAccountId
public AccountsCustomBatchRequestEntryLinkRequest setLinkedAccountId(String linkedAccountId)
The ID of the linked account.
- Parameters:
linkedAccountId
- linkedAccountId or null
for none
-
getServices
public List<String> getServices()
Provided services. Acceptable values are: - "`shoppingAdsProductManagement`" -
"`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`" -
"`paymentProcessing`"
- Returns:
- value or
null
for none
-
setServices
public AccountsCustomBatchRequestEntryLinkRequest setServices(List<String> services)
Provided services. Acceptable values are: - "`shoppingAdsProductManagement`" -
"`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`" -
"`paymentProcessing`"
- Parameters:
services
- services or null
for none
-
set
public AccountsCustomBatchRequestEntryLinkRequest set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public AccountsCustomBatchRequestEntryLinkRequest clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy