public final class LocalInventory
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LocalInventory() |
| Modifier and Type | Method and Description |
|---|---|
LocalInventory |
clone() |
String |
getAvailability()
The availability of the product.
|
List<CustomAttribute> |
getCustomAttributes()
A list of custom (merchant-provided) attributes.
|
String |
getInstoreProductLocation()
The in-store product location.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getPickupMethod()
The supported pickup method for this offer.
|
String |
getPickupSla()
The expected date that an order will be ready for pickup relative to the order date.
|
Price |
getPrice()
The price of the product.
|
Long |
getQuantity()
The quantity of the product.
|
Price |
getSalePrice()
The sale price of the product.
|
String |
getSalePriceEffectiveDate()
A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash.
|
String |
getStoreCode()
Required.
|
LocalInventory |
set(String fieldName,
Object value) |
LocalInventory |
setAvailability(String availability)
The availability of the product.
|
LocalInventory |
setCustomAttributes(List<CustomAttribute> customAttributes)
A list of custom (merchant-provided) attributes.
|
LocalInventory |
setInstoreProductLocation(String instoreProductLocation)
The in-store product location.
|
LocalInventory |
setKind(String kind)
Identifies what kind of resource this is.
|
LocalInventory |
setPickupMethod(String pickupMethod)
The supported pickup method for this offer.
|
LocalInventory |
setPickupSla(String pickupSla)
The expected date that an order will be ready for pickup relative to the order date.
|
LocalInventory |
setPrice(Price price)
The price of the product.
|
LocalInventory |
setQuantity(Long quantity)
The quantity of the product.
|
LocalInventory |
setSalePrice(Price salePrice)
The sale price of the product.
|
LocalInventory |
setSalePriceEffectiveDate(String salePriceEffectiveDate)
A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash.
|
LocalInventory |
setStoreCode(String storeCode)
Required.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAvailability()
null for nonepublic LocalInventory setAvailability(String availability)
availability - availability or null for nonepublic List<CustomAttribute> getCustomAttributes()
null for nonepublic LocalInventory setCustomAttributes(List<CustomAttribute> customAttributes)
customAttributes - customAttributes or null for nonepublic String getInstoreProductLocation()
null for nonepublic LocalInventory setInstoreProductLocation(String instoreProductLocation)
instoreProductLocation - instoreProductLocation or null for nonepublic String getKind()
null for nonepublic LocalInventory setKind(String kind)
kind - kind or null for nonepublic String getPickupMethod()
null for nonepublic LocalInventory setPickupMethod(String pickupMethod)
pickupMethod - pickupMethod or null for nonepublic String getPickupSla()
null for nonepublic LocalInventory setPickupSla(String pickupSla)
pickupSla - pickupSla or null for nonepublic Price getPrice()
null for nonepublic LocalInventory setPrice(Price price)
price - price or null for nonepublic Long getQuantity()
null for nonepublic LocalInventory setQuantity(Long quantity)
quantity - quantity or null for nonepublic Price getSalePrice()
null for nonepublic LocalInventory setSalePrice(Price salePrice)
salePrice - salePrice or null for nonepublic String getSalePriceEffectiveDate()
null for nonepublic LocalInventory setSalePriceEffectiveDate(String salePriceEffectiveDate)
salePriceEffectiveDate - salePriceEffectiveDate or null for nonepublic String getStoreCode()
null for nonepublic LocalInventory setStoreCode(String storeCode)
storeCode - storeCode or null for nonepublic LocalInventory set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic LocalInventory clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.