public final class AccountsLinkRequest
extends com.google.api.client.json.GenericJson
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
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AccountsLinkRequest() |
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`"
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAction()
null
for nonepublic AccountsLinkRequest setAction(String action)
action
- action or null
for nonepublic ECommercePlatformLinkInfo getECommercePlatformLinkInfo()
null
for nonepublic AccountsLinkRequest setECommercePlatformLinkInfo(ECommercePlatformLinkInfo eCommercePlatformLinkInfo)
eCommercePlatformLinkInfo
- eCommercePlatformLinkInfo or null
for nonepublic String getLinkType()
null
for nonepublic AccountsLinkRequest setLinkType(String linkType)
linkType
- linkType or null
for nonepublic String getLinkedAccountId()
null
for nonepublic AccountsLinkRequest setLinkedAccountId(String linkedAccountId)
linkedAccountId
- linkedAccountId or null
for nonepublic PaymentServiceProviderLinkInfo getPaymentServiceProviderLinkInfo()
null
for nonepublic AccountsLinkRequest setPaymentServiceProviderLinkInfo(PaymentServiceProviderLinkInfo paymentServiceProviderLinkInfo)
paymentServiceProviderLinkInfo
- paymentServiceProviderLinkInfo or null
for nonepublic List<String> getServices()
null
for nonepublic AccountsLinkRequest setServices(List<String> services)
services
- services or null
for nonepublic AccountsLinkRequest set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AccountsLinkRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.