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

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

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






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












com.google.api.services.content.model

Class Distance

    • Constructor Detail

      • Distance

        public Distance()
    • Method Detail

      • getUnit

        public String getUnit()
        The distance unit. Acceptable values are `None`, `Miles`, and `Kilometers`.
        Returns:
        value or null for none
      • setUnit

        public Distance setUnit(String unit)
        The distance unit. Acceptable values are `None`, `Miles`, and `Kilometers`.
        Parameters:
        unit - unit or null for none
      • getValue

        public Long getValue()
        The distance represented as a number.
        Returns:
        value or null for none
      • setValue

        public Distance setValue(Long value)
        The distance represented as a number.
        Parameters:
        value - value or null for none
      • set

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

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