target.apidocs.com.google.api.services.content.model.AccountBusinessIdentity.html Maven / Gradle / Ivy
AccountBusinessIdentity (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class AccountBusinessIdentity
- 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.AccountBusinessIdentity
-
public final class AccountBusinessIdentity
extends com.google.api.client.json.GenericJson
The [business identity attributes](https://support.google.com/merchants/answer/10342414) can be
used to self-declare attributes that let customers know more about your business.
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
AccountBusinessIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AccountBusinessIdentity
clone()
AccountIdentityType
getBlackOwned()
Specifies whether the business identifies itself as being black-owned.
Boolean
getIncludeForPromotions()
Required.
AccountIdentityType
getLatinoOwned()
Specifies whether the business identifies itself as being latino-owned.
AccountIdentityType
getSmallBusiness()
Specifies whether the business identifies itself as a small business.
AccountIdentityType
getVeteranOwned()
Specifies whether the business identifies itself as being veteran-owned.
AccountIdentityType
getWomenOwned()
Specifies whether the business identifies itself as being women-owned.
AccountBusinessIdentity
set(String fieldName,
Object value)
AccountBusinessIdentity
setBlackOwned(AccountIdentityType blackOwned)
Specifies whether the business identifies itself as being black-owned.
AccountBusinessIdentity
setIncludeForPromotions(Boolean includeForPromotions)
Required.
AccountBusinessIdentity
setLatinoOwned(AccountIdentityType latinoOwned)
Specifies whether the business identifies itself as being latino-owned.
AccountBusinessIdentity
setSmallBusiness(AccountIdentityType smallBusiness)
Specifies whether the business identifies itself as a small business.
AccountBusinessIdentity
setVeteranOwned(AccountIdentityType veteranOwned)
Specifies whether the business identifies itself as being veteran-owned.
AccountBusinessIdentity
setWomenOwned(AccountIdentityType womenOwned)
Specifies whether the business identifies itself as being women-owned.
-
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
-
getBlackOwned
public AccountIdentityType getBlackOwned()
Specifies whether the business identifies itself as being black-owned. This optional field is
only available for merchants with a business country set to "US". This field is not allowed for
marketplaces or marketplace sellers.
- Returns:
- value or
null
for none
-
setBlackOwned
public AccountBusinessIdentity setBlackOwned(AccountIdentityType blackOwned)
Specifies whether the business identifies itself as being black-owned. This optional field is
only available for merchants with a business country set to "US". This field is not allowed for
marketplaces or marketplace sellers.
- Parameters:
blackOwned
- blackOwned or null
for none
-
getIncludeForPromotions
public Boolean getIncludeForPromotions()
Required. By setting this field, your business may be included in promotions for all the
selected attributes. If you clear this option, it won't affect your identification with any of
the attributes. For this field to be set, the merchant must self identify with at least one of
the `AccountIdentityType`. If none are included, the request will be considered invalid.
- Returns:
- value or
null
for none
-
setIncludeForPromotions
public AccountBusinessIdentity setIncludeForPromotions(Boolean includeForPromotions)
Required. By setting this field, your business may be included in promotions for all the
selected attributes. If you clear this option, it won't affect your identification with any of
the attributes. For this field to be set, the merchant must self identify with at least one of
the `AccountIdentityType`. If none are included, the request will be considered invalid.
- Parameters:
includeForPromotions
- includeForPromotions or null
for none
-
getLatinoOwned
public AccountIdentityType getLatinoOwned()
Specifies whether the business identifies itself as being latino-owned. This optional field is
only available for merchants with a business country set to "US". This field is not allowed for
marketplaces or marketplace sellers.
- Returns:
- value or
null
for none
-
setLatinoOwned
public AccountBusinessIdentity setLatinoOwned(AccountIdentityType latinoOwned)
Specifies whether the business identifies itself as being latino-owned. This optional field is
only available for merchants with a business country set to "US". This field is not allowed for
marketplaces or marketplace sellers.
- Parameters:
latinoOwned
- latinoOwned or null
for none
-
getSmallBusiness
public AccountIdentityType getSmallBusiness()
Specifies whether the business identifies itself as a small business. This optional field is
only available for merchants with a business country set to "US". It is also not allowed for
marketplaces, but it is allowed to marketplace sellers.
- Returns:
- value or
null
for none
-
setSmallBusiness
public AccountBusinessIdentity setSmallBusiness(AccountIdentityType smallBusiness)
Specifies whether the business identifies itself as a small business. This optional field is
only available for merchants with a business country set to "US". It is also not allowed for
marketplaces, but it is allowed to marketplace sellers.
- Parameters:
smallBusiness
- smallBusiness or null
for none
-
getVeteranOwned
public AccountIdentityType getVeteranOwned()
Specifies whether the business identifies itself as being veteran-owned. This optional field is
only available for merchants with a business country set to "US". This field is not allowed for
marketplaces or marketplace sellers.
- Returns:
- value or
null
for none
-
setVeteranOwned
public AccountBusinessIdentity setVeteranOwned(AccountIdentityType veteranOwned)
Specifies whether the business identifies itself as being veteran-owned. This optional field is
only available for merchants with a business country set to "US". This field is not allowed for
marketplaces or marketplace sellers.
- Parameters:
veteranOwned
- veteranOwned or null
for none
-
getWomenOwned
public AccountIdentityType getWomenOwned()
Specifies whether the business identifies itself as being women-owned. This optional field is
only available for merchants with a business country set to "US". This field is not allowed for
marketplaces or marketplace sellers.
- Returns:
- value or
null
for none
-
setWomenOwned
public AccountBusinessIdentity setWomenOwned(AccountIdentityType womenOwned)
Specifies whether the business identifies itself as being women-owned. This optional field is
only available for merchants with a business country set to "US". This field is not allowed for
marketplaces or marketplace sellers.
- Parameters:
womenOwned
- womenOwned or null
for none
-
set
public AccountBusinessIdentity set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public AccountBusinessIdentity 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