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

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

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






Account (Content API for Shopping v2.1-rev20190513-1.28.0)












com.google.api.services.content.model

Class Account

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


    public final class Account
    extends com.google.api.client.json.GenericJson
    Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, patch, and update require the admin role.

    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

      • Account

        public Account()
    • Method Detail

      • getAdsLinks

        public List<AccountAdsLink> getAdsLinks()
        List of linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.
        Returns:
        value or null for none
      • setAdsLinks

        public Account setAdsLinks(List<AccountAdsLink> adsLinks)
        List of linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.
        Parameters:
        adsLinks - adsLinks or null for none
      • getAdultContent

        public Boolean getAdultContent()
        Indicates whether the merchant sells adult content.
        Returns:
        value or null for none
      • setAdultContent

        public Account setAdultContent(Boolean adultContent)
        Indicates whether the merchant sells adult content.
        Parameters:
        adultContent - adultContent or null for none
      • getBusinessInformation

        public AccountBusinessInformation getBusinessInformation()
        The business information of the account.
        Returns:
        value or null for none
      • setBusinessInformation

        public Account setBusinessInformation(AccountBusinessInformation businessInformation)
        The business information of the account.
        Parameters:
        businessInformation - businessInformation or null for none
      • getGoogleMyBusinessLink

        public AccountGoogleMyBusinessLink getGoogleMyBusinessLink()
        The GMB account which is linked or in the process of being linked with the Merchant Center account.
        Returns:
        value or null for none
      • setGoogleMyBusinessLink

        public Account setGoogleMyBusinessLink(AccountGoogleMyBusinessLink googleMyBusinessLink)
        The GMB account which is linked or in the process of being linked with the Merchant Center account.
        Parameters:
        googleMyBusinessLink - googleMyBusinessLink or null for none
      • getId

        public BigInteger getId()
        Merchant Center account ID.
        Returns:
        value or null for none
      • setId

        public Account setId(BigInteger id)
        Merchant Center account ID.
        Parameters:
        id - id or null for none
      • getKind

        public String getKind()
        Identifies what kind of resource this is. Value: the fixed string "content#account".
        Returns:
        value or null for none
      • setKind

        public Account setKind(String kind)
        Identifies what kind of resource this is. Value: the fixed string "content#account".
        Parameters:
        kind - kind or null for none
      • getName

        public String getName()
        Display name for the account.
        Returns:
        value or null for none
      • setName

        public Account setName(String name)
        Display name for the account.
        Parameters:
        name - name or null for none
      • getSellerId

        public String getSellerId()
        Client-specific, locally-unique, internal ID for the child account.
        Returns:
        value or null for none
      • setSellerId

        public Account setSellerId(String sellerId)
        Client-specific, locally-unique, internal ID for the child account.
        Parameters:
        sellerId - sellerId or null for none
      • getUsers

        public List<AccountUser> getUsers()
        Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
        Returns:
        value or null for none
      • setUsers

        public Account setUsers(List<AccountUser> users)
        Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
        Parameters:
        users - users or null for none
      • getWebsiteUrl

        public String getWebsiteUrl()
        The merchant's website.
        Returns:
        value or null for none
      • setWebsiteUrl

        public Account setWebsiteUrl(String websiteUrl)
        The merchant's website.
        Parameters:
        websiteUrl - websiteUrl or null for none
      • getYoutubeChannelLinks

        public List<AccountYouTubeChannelLink> getYoutubeChannelLinks()
        List of linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.
        Returns:
        value or null for none
      • setYoutubeChannelLinks

        public Account setYoutubeChannelLinks(List<AccountYouTubeChannelLink> youtubeChannelLinks)
        List of linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.
        Parameters:
        youtubeChannelLinks - youtubeChannelLinks or null for none
      • set

        public Account set(String fieldName,
                           Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public Account clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy