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

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

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






CustomAttribute (Content API for Shopping v2-rev20210911-1.32.1)












com.google.api.services.content.model

Class CustomAttribute

    • Constructor Detail

      • CustomAttribute

        public CustomAttribute()
    • Method Detail

      • getName

        public String getName()
        The name of the attribute. Underscores will be replaced by spaces upon insertion.
        Returns:
        value or null for none
      • setName

        public CustomAttribute setName(String name)
        The name of the attribute. Underscores will be replaced by spaces upon insertion.
        Parameters:
        name - name or null for none
      • getType

        public String getType()
        The type of the attribute. Acceptable values are: - "`boolean`" - "`datetimerange`" - "`float`" - "`group`" - "`int`" - "`price`" - "`text`" - "`time`" - "`url`"
        Returns:
        value or null for none
      • setType

        public CustomAttribute setType(String type)
        The type of the attribute. Acceptable values are: - "`boolean`" - "`datetimerange`" - "`float`" - "`group`" - "`int`" - "`price`" - "`text`" - "`time`" - "`url`"
        Parameters:
        type - type or null for none
      • getUnit

        public String getUnit()
        Free-form unit of the attribute. Unit can only be used for values of type int, float, or price.
        Returns:
        value or null for none
      • setUnit

        public CustomAttribute setUnit(String unit)
        Free-form unit of the attribute. Unit can only be used for values of type int, float, or price.
        Parameters:
        unit - unit or null for none
      • getValue

        public String getValue()
        The value of the attribute.
        Returns:
        value or null for none
      • setValue

        public CustomAttribute setValue(String value)
        The value of the attribute.
        Parameters:
        value - value or null for none

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy