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-rev20210325-1.31.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. Acceptable values are: - "`All scenarios`" - "`All scenarios except Shopping Actions`" - "`Shopping Actions`"
        Returns:
        value or null for none
      • setEligibility

        public Service setEligibility(String eligibility)
        Eligibility for this service. Acceptable values are: - "`All scenarios`" - "`All scenarios except Shopping Actions`" - "`Shopping Actions`"
        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. Cannot be set together with minimum_order_value_table.
        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. Cannot be set together with minimum_order_value_table.
        Parameters:
        minimumOrderValue - minimumOrderValue or null for none
      • getMinimumOrderValueTable

        public MinimumOrderValueTable getMinimumOrderValueTable()
        Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with minimum_order_value.
        Returns:
        value or null for none
      • setMinimumOrderValueTable

        public Service setMinimumOrderValueTable(MinimumOrderValueTable minimumOrderValueTable)
        Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with minimum_order_value.
        Parameters:
        minimumOrderValueTable - minimumOrderValueTable 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
      • getPickupService

        public PickupCarrierService getPickupService()
        The carrier-service pair delivering items to collection points. The list of supported pickup services can be retrieved via the `getSupportedPickupServices` method. Required if and only if the service delivery type is `pickup`.
        Returns:
        value or null for none
      • setPickupService

        public Service setPickupService(PickupCarrierService pickupService)
        The carrier-service pair delivering items to collection points. The list of supported pickup services can be retrieved via the `getSupportedPickupServices` method. Required if and only if the service delivery type is `pickup`.
        Parameters:
        pickupService - pickupService 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
      • getShipmentType

        public String getShipmentType()
        Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`"
        Returns:
        value or null for none
      • setShipmentType

        public Service setShipmentType(String shipmentType)
        Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`"
        Parameters:
        shipmentType - shipmentType or null for none

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy