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

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

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






RateGroup (Content API for Shopping v2.1-rev20200529-1.30.9)












com.google.api.services.content.model

Class RateGroup

    • Constructor Detail

      • RateGroup

        public RateGroup()
    • Method Detail

      • getApplicableShippingLabels

        public List<String> getApplicableShippingLabels()
        A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service. Required.
        Returns:
        value or null for none
      • setApplicableShippingLabels

        public RateGroup setApplicableShippingLabels(List<String> applicableShippingLabels)
        A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service. Required.
        Parameters:
        applicableShippingLabels - applicableShippingLabels or null for none
      • getCarrierRates

        public List<CarrierRate> getCarrierRates()
        A list of carrier rates that can be referred to by `mainTable` or `singleValue`.
        Returns:
        value or null for none
      • setCarrierRates

        public RateGroup setCarrierRates(List<CarrierRate> carrierRates)
        A list of carrier rates that can be referred to by `mainTable` or `singleValue`.
        Parameters:
        carrierRates - carrierRates or null for none
      • getMainTable

        public Table getMainTable()
        A table defining the rate group, when `singleValue` is not expressive enough. Can only be set if `singleValue` is not set.
        Returns:
        value or null for none
      • setMainTable

        public RateGroup setMainTable(Table mainTable)
        A table defining the rate group, when `singleValue` is not expressive enough. Can only be set if `singleValue` is not set.
        Parameters:
        mainTable - mainTable or null for none
      • getName

        public String getName()
        Name of the rate group. Optional. If set has to be unique within shipping service.
        Returns:
        value or null for none
      • setName

        public RateGroup setName(String name)
        Name of the rate group. Optional. If set has to be unique within shipping service.
        Parameters:
        name - name or null for none
      • getSingleValue

        public Value getSingleValue()
        The value of the rate group (e.g. flat rate $10). Can only be set if `mainTable` and `subtables` are not set.
        Returns:
        value or null for none
      • setSingleValue

        public RateGroup setSingleValue(Value singleValue)
        The value of the rate group (e.g. flat rate $10). Can only be set if `mainTable` and `subtables` are not set.
        Parameters:
        singleValue - singleValue or null for none
      • getSubtables

        public List<Table> getSubtables()
        A list of subtables referred to by `mainTable`. Can only be set if `mainTable` is set.
        Returns:
        value or null for none
      • setSubtables

        public RateGroup setSubtables(List<Table> subtables)
        A list of subtables referred to by `mainTable`. Can only be set if `mainTable` is set.
        Parameters:
        subtables - subtables or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy