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

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







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












com.google.api.services.content.model

Class Address

    • Constructor Detail

      • Address

        public Address()
    • Method Detail

      • getAdministrativeArea

        public String getAdministrativeArea()
        Required. Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC").
        Returns:
        value or null for none
      • setAdministrativeArea

        public Address setAdministrativeArea(String administrativeArea)
        Required. Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC").
        Parameters:
        administrativeArea - administrativeArea or null for none
      • getCity

        public String getCity()
        Required. City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).
        Returns:
        value or null for none
      • setCity

        public Address setCity(String city)
        Required. City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).
        Parameters:
        city - city or null for none
      • getCountry

        public String getCountry()
        Required. [CLDR country code](https://github.com/unicode- org/cldr/blob/latest/common/main/en.xml) (for example, "US").
        Returns:
        value or null for none
      • setCountry

        public Address setCountry(String country)
        Required. [CLDR country code](https://github.com/unicode- org/cldr/blob/latest/common/main/en.xml) (for example, "US").
        Parameters:
        country - country or null for none
      • getPostalCode

        public String getPostalCode()
        Required. Postal code or ZIP (for example, "94043").
        Returns:
        value or null for none
      • setPostalCode

        public Address setPostalCode(String postalCode)
        Required. Postal code or ZIP (for example, "94043").
        Parameters:
        postalCode - postalCode or null for none
      • getStreetAddress

        public String getStreetAddress()
        Street-level part of the address. Use `\n` to add a second line.
        Returns:
        value or null for none
      • setStreetAddress

        public Address setStreetAddress(String streetAddress)
        Street-level part of the address. Use `\n` to add a second line.
        Parameters:
        streetAddress - streetAddress or null for none
      • set

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

        public Address 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