target.apidocs.com.google.api.services.content.model.AccountsLinkRequest.html Maven / Gradle / Ivy
AccountsLinkRequest (Content API for Shopping v2-rev20200902-1.30.10)
com.google.api.services.content.model
Class AccountsLinkRequest
- 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.AccountsLinkRequest
-
public final class AccountsLinkRequest
extends GenericJson
Model definition for AccountsLinkRequest.
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
AccountsLinkRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AccountsLinkRequest
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.
AccountsLinkRequest
set(String fieldName,
Object value)
AccountsLinkRequest
setAction(String action)
Action to perform for this link.
AccountsLinkRequest
setLinkedAccountId(String linkedAccountId)
The ID of the linked account.
AccountsLinkRequest
setLinkType(String linkType)
Type of the link between the two accounts.
-
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
-
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 AccountsLinkRequest 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`"
- Returns:
- value or
null
for none
-
setLinkType
public AccountsLinkRequest setLinkType(String linkType)
Type of the link between the two accounts.
Acceptable values are: - "`channelPartner`" - "`eCommercePlatform`"
- 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 AccountsLinkRequest setLinkedAccountId(String linkedAccountId)
The ID of the linked account.
- Parameters:
linkedAccountId
- linkedAccountId or null
for none
-
set
public AccountsLinkRequest set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public AccountsLinkRequest clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy