public final class Service
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Service() |
Modifier and Type | Method and Description |
---|---|
Service |
clone() |
Boolean |
getActive()
A boolean exposing the active status of the shipping service.
|
String |
getCurrency()
The CLDR code of the currency to which this service applies.
|
String |
getDeliveryCountry()
The CLDR territory code of the country to which the service applies.
|
DeliveryTime |
getDeliveryTime()
Time spent in various aspects from order to the delivery of the product.
|
String |
getEligibility()
Eligibility for this service.
|
Price |
getMinimumOrderValue()
Minimum order value for this service.
|
MinimumOrderValueTable |
getMinimumOrderValueTable()
Table of per store minimum order values for the pickup fulfillment type.
|
String |
getName()
Free-form name of the service.
|
PickupCarrierService |
getPickupService()
The carrier-service pair delivering items to collection points.
|
List<RateGroup> |
getRateGroups()
Shipping rate group definitions.
|
String |
getShipmentType()
Type of locations this service ships orders to.
|
ServiceStoreConfig |
getStoreConfig()
A list of stores your products are delivered from.
|
Service |
set(String fieldName,
Object value) |
Service |
setActive(Boolean active)
A boolean exposing the active status of the shipping service.
|
Service |
setCurrency(String currency)
The CLDR code of the currency to which this service applies.
|
Service |
setDeliveryCountry(String deliveryCountry)
The CLDR territory code of the country to which the service applies.
|
Service |
setDeliveryTime(DeliveryTime deliveryTime)
Time spent in various aspects from order to the delivery of the product.
|
Service |
setEligibility(String eligibility)
Eligibility for this service.
|
Service |
setMinimumOrderValue(Price minimumOrderValue)
Minimum order value for this service.
|
Service |
setMinimumOrderValueTable(MinimumOrderValueTable minimumOrderValueTable)
Table of per store minimum order values for the pickup fulfillment type.
|
Service |
setName(String name)
Free-form name of the service.
|
Service |
setPickupService(PickupCarrierService pickupService)
The carrier-service pair delivering items to collection points.
|
Service |
setRateGroups(List<RateGroup> rateGroups)
Shipping rate group definitions.
|
Service |
setShipmentType(String shipmentType)
Type of locations this service ships orders to.
|
Service |
setStoreConfig(ServiceStoreConfig storeConfig)
A list of stores your products are delivered from.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Boolean getActive()
null
for nonepublic Service setActive(Boolean active)
active
- active or null
for nonepublic String getCurrency()
null
for nonepublic Service setCurrency(String currency)
currency
- currency or null
for nonepublic String getDeliveryCountry()
null
for nonepublic Service setDeliveryCountry(String deliveryCountry)
deliveryCountry
- deliveryCountry or null
for nonepublic DeliveryTime getDeliveryTime()
null
for nonepublic Service setDeliveryTime(DeliveryTime deliveryTime)
deliveryTime
- deliveryTime or null
for nonepublic String getEligibility()
null
for nonepublic Service setEligibility(String eligibility)
eligibility
- eligibility or null
for nonepublic Price getMinimumOrderValue()
null
for nonepublic Service setMinimumOrderValue(Price minimumOrderValue)
minimumOrderValue
- minimumOrderValue or null
for nonepublic MinimumOrderValueTable getMinimumOrderValueTable()
null
for nonepublic Service setMinimumOrderValueTable(MinimumOrderValueTable minimumOrderValueTable)
minimumOrderValueTable
- minimumOrderValueTable or null
for nonepublic String getName()
null
for nonepublic Service setName(String name)
name
- name or null
for nonepublic PickupCarrierService getPickupService()
null
for nonepublic Service setPickupService(PickupCarrierService pickupService)
pickupService
- pickupService or null
for nonepublic List<RateGroup> getRateGroups()
null
for nonepublic Service setRateGroups(List<RateGroup> rateGroups)
rateGroups
- rateGroups or null
for nonepublic String getShipmentType()
null
for nonepublic Service setShipmentType(String shipmentType)
shipmentType
- shipmentType or null
for nonepublic ServiceStoreConfig getStoreConfig()
null
for nonepublic Service setStoreConfig(ServiceStoreConfig storeConfig)
storeConfig
- storeConfig or null
for nonepublic Service set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Service clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.