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

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

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






Service (Content API for Shopping v2.1-rev20190215-1.27.0)












com.google.api.services.content.model

Class Service

    • Constructor Detail

      • Service

        public Service()
    • Method Detail

      • getActive

        public Boolean getActive()
        A boolean exposing the active status of the shipping service. Required.
        Returns:
        value or null for none
      • setActive

        public Service setActive(Boolean active)
        A boolean exposing the active status of the shipping service. Required.
        Parameters:
        active - active or null for none
      • getCurrency

        public String getCurrency()
        The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups.
        Returns:
        value or null for none
      • setCurrency

        public Service setCurrency(String currency)
        The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups.
        Parameters:
        currency - currency or null for none
      • getDeliveryCountry

        public String getDeliveryCountry()
        The CLDR territory code of the country to which the service applies. Required.
        Returns:
        value or null for none
      • setDeliveryCountry

        public Service setDeliveryCountry(String deliveryCountry)
        The CLDR territory code of the country to which the service applies. Required.
        Parameters:
        deliveryCountry - deliveryCountry or null for none
      • getDeliveryTime

        public DeliveryTime getDeliveryTime()
        Time spent in various aspects from order to the delivery of the product. Required.
        Returns:
        value or null for none
      • setDeliveryTime

        public Service setDeliveryTime(DeliveryTime deliveryTime)
        Time spent in various aspects from order to the delivery of the product. Required.
        Parameters:
        deliveryTime - deliveryTime or null for none
      • getEligibility

        public String getEligibility()
        Eligibility for this service.
        Returns:
        value or null for none
      • setEligibility

        public Service setEligibility(String eligibility)
        Eligibility for this service.
        Parameters:
        eligibility - eligibility or null for none
      • getMinimumOrderValue

        public Price getMinimumOrderValue()
        Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency.
        Returns:
        value or null for none
      • setMinimumOrderValue

        public Service setMinimumOrderValue(Price minimumOrderValue)
        Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency.
        Parameters:
        minimumOrderValue - minimumOrderValue or null for none
      • getName

        public String getName()
        Free-form name of the service. Must be unique within target account. Required.
        Returns:
        value or null for none
      • setName

        public Service setName(String name)
        Free-form name of the service. Must be unique within target account. Required.
        Parameters:
        name - name or null for none
      • getRateGroups

        public List<RateGroup> getRateGroups()
        Shipping rate group definitions. Only the last one is allowed to have an empty applicableShippingLabels, which means "everything else". The other applicableShippingLabels must not overlap.
        Returns:
        value or null for none
      • setRateGroups

        public Service setRateGroups(List<RateGroup> rateGroups)
        Shipping rate group definitions. Only the last one is allowed to have an empty applicableShippingLabels, which means "everything else". The other applicableShippingLabels must not overlap.
        Parameters:
        rateGroups - rateGroups or null for none
      • set

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

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