public final class RegionalInventory
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 |
---|
RegionalInventory() |
Modifier and Type | Method and Description |
---|---|
RegionalInventory |
clone() |
String |
getAvailability()
The availability of the product.
|
List<CustomAttribute> |
getCustomAttributes()
A list of custom (merchant-provided) attributes.
|
String |
getKind()
Identifies what kind of resource this is.
|
Price |
getPrice()
The price of the product.
|
String |
getRegionId()
The ID uniquely identifying each region.
|
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.
|
RegionalInventory |
set(String fieldName,
Object value) |
RegionalInventory |
setAvailability(String availability)
The availability of the product.
|
RegionalInventory |
setCustomAttributes(List<CustomAttribute> customAttributes)
A list of custom (merchant-provided) attributes.
|
RegionalInventory |
setKind(String kind)
Identifies what kind of resource this is.
|
RegionalInventory |
setPrice(Price price)
The price of the product.
|
RegionalInventory |
setRegionId(String regionId)
The ID uniquely identifying each region.
|
RegionalInventory |
setSalePrice(Price salePrice)
The sale price of the product.
|
RegionalInventory |
setSalePriceEffectiveDate(String salePriceEffectiveDate)
A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash.
|
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 String getAvailability()
null
for nonepublic RegionalInventory setAvailability(String availability)
availability
- availability or null
for nonepublic List<CustomAttribute> getCustomAttributes()
null
for nonepublic RegionalInventory setCustomAttributes(List<CustomAttribute> customAttributes)
customAttributes
- customAttributes or null
for nonepublic String getKind()
null
for nonepublic RegionalInventory setKind(String kind)
kind
- kind or null
for nonepublic Price getPrice()
null
for nonepublic RegionalInventory setPrice(Price price)
price
- price or null
for nonepublic String getRegionId()
null
for nonepublic RegionalInventory setRegionId(String regionId)
regionId
- regionId or null
for nonepublic Price getSalePrice()
null
for nonepublic RegionalInventory setSalePrice(Price salePrice)
salePrice
- salePrice or null
for nonepublic String getSalePriceEffectiveDate()
null
for nonepublic RegionalInventory setSalePriceEffectiveDate(String salePriceEffectiveDate)
salePriceEffectiveDate
- salePriceEffectiveDate or null
for nonepublic RegionalInventory set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public RegionalInventory clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.