target.apidocs.com.google.api.services.content.model.AccountsLinkRequest.html Maven / Gradle / Ivy
AccountsLinkRequest (Content API for Shopping v2.1-rev20240609-2.0.0)
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 com.google.api.client.json.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
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
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.
ECommercePlatformLinkInfo
getECommercePlatformLinkInfo()
Additional information required for `eCommercePlatform` link type.
String
getLinkedAccountId()
The ID of the linked account.
String
getLinkType()
Type of the link between the two accounts.
PaymentServiceProviderLinkInfo
getPaymentServiceProviderLinkInfo()
Additional information required for `paymentServiceProvider` link type.
List<String>
getServices()
Acceptable values are: - "`shoppingAdsProductManagement`" -
"`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`" -
"`paymentProcessing`"
AccountsLinkRequest
set(String fieldName,
Object value)
AccountsLinkRequest
setAction(String action)
Action to perform for this link.
AccountsLinkRequest
setECommercePlatformLinkInfo(ECommercePlatformLinkInfo eCommercePlatformLinkInfo)
Additional information required for `eCommercePlatform` link type.
AccountsLinkRequest
setLinkedAccountId(String linkedAccountId)
The ID of the linked account.
AccountsLinkRequest
setLinkType(String linkType)
Type of the link between the two accounts.
AccountsLinkRequest
setPaymentServiceProviderLinkInfo(PaymentServiceProviderLinkInfo paymentServiceProviderLinkInfo)
Additional information required for `paymentServiceProvider` link type.
AccountsLinkRequest
setServices(List<String> services)
Acceptable values are: - "`shoppingAdsProductManagement`" -
"`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`" -
"`paymentProcessing`"
-
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
-
getECommercePlatformLinkInfo
public ECommercePlatformLinkInfo getECommercePlatformLinkInfo()
Additional information required for `eCommercePlatform` link type.
- Returns:
- value or
null
for none
-
setECommercePlatformLinkInfo
public AccountsLinkRequest setECommercePlatformLinkInfo(ECommercePlatformLinkInfo eCommercePlatformLinkInfo)
Additional information required for `eCommercePlatform` link type.
- Parameters:
eCommercePlatformLinkInfo
- eCommercePlatformLinkInfo 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 AccountsLinkRequest 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 AccountsLinkRequest setLinkedAccountId(String linkedAccountId)
The ID of the linked account.
- Parameters:
linkedAccountId
- linkedAccountId or null
for none
-
getPaymentServiceProviderLinkInfo
public PaymentServiceProviderLinkInfo getPaymentServiceProviderLinkInfo()
Additional information required for `paymentServiceProvider` link type.
- Returns:
- value or
null
for none
-
setPaymentServiceProviderLinkInfo
public AccountsLinkRequest setPaymentServiceProviderLinkInfo(PaymentServiceProviderLinkInfo paymentServiceProviderLinkInfo)
Additional information required for `paymentServiceProvider` link type.
- Parameters:
paymentServiceProviderLinkInfo
- paymentServiceProviderLinkInfo or null
for none
-
getServices
public List<String> getServices()
Acceptable values are: - "`shoppingAdsProductManagement`" -
"`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`" -
"`paymentProcessing`"
- Returns:
- value or
null
for none
-
setServices
public AccountsLinkRequest setServices(List<String> services)
Acceptable values are: - "`shoppingAdsProductManagement`" -
"`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`" -
"`paymentProcessing`"
- Parameters:
services
- services or null
for none
-
set
public AccountsLinkRequest set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public AccountsLinkRequest 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