All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.content.model.AccountBusinessIdentity.html Maven / Gradle / Ivy

There is a newer version: v2.1-rev20241217-2.0.0
Show newest version






AccountBusinessIdentity (Content API for Shopping v2.1-rev20240609-2.0.0)












com.google.api.services.content.model

Class AccountBusinessIdentity

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    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.
    • Constructor Detail

      • AccountBusinessIdentity

        public AccountBusinessIdentity()
    • 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
      • 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