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
Constructor and Description |
---|
RegionalInventory() |
Modifier and Type | Method and Description |
---|---|
RegionalInventory |
clone() |
java.lang.String |
getAvailability()
The availability of the product.
|
java.util.List<CustomAttribute> |
getCustomAttributes()
A list of custom (merchant-provided) attributes.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
Price |
getPrice()
The price of the product.
|
java.lang.String |
getRegionId()
The ID (name) of the region.
|
Price |
getSalePrice()
The sale price of the product.
|
java.lang.String |
getSalePriceEffectiveDate()
A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash.
|
RegionalInventory |
set(java.lang.String fieldName,
java.lang.Object value) |
RegionalInventory |
setAvailability(java.lang.String availability)
The availability of the product.
|
RegionalInventory |
setCustomAttributes(java.util.List<CustomAttribute> customAttributes)
A list of custom (merchant-provided) attributes.
|
RegionalInventory |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
RegionalInventory |
setPrice(Price price)
The price of the product.
|
RegionalInventory |
setRegionId(java.lang.String regionId)
The ID (name) of the region.
|
RegionalInventory |
setSalePrice(Price salePrice)
The sale price of the product.
|
RegionalInventory |
setSalePriceEffectiveDate(java.lang.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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAvailability()
null
for nonepublic RegionalInventory setAvailability(java.lang.String availability)
availability
- availability or null
for nonepublic java.util.List<CustomAttribute> getCustomAttributes()
null
for nonepublic RegionalInventory setCustomAttributes(java.util.List<CustomAttribute> customAttributes)
customAttributes
- customAttributes or null
for nonepublic java.lang.String getKind()
null
for nonepublic RegionalInventory setKind(java.lang.String kind)
kind
- kind or null
for nonepublic Price getPrice()
null
for nonepublic RegionalInventory setPrice(Price price)
price
- price or null
for nonepublic java.lang.String getRegionId()
null
for nonepublic RegionalInventory setRegionId(java.lang.String regionId)
regionId
- regionId or null
for nonepublic Price getSalePrice()
null
for nonepublic RegionalInventory setSalePrice(Price salePrice)
salePrice
- salePrice or null
for nonepublic java.lang.String getSalePriceEffectiveDate()
null
for nonepublic RegionalInventory setSalePriceEffectiveDate(java.lang.String salePriceEffectiveDate)
salePriceEffectiveDate
- salePriceEffectiveDate or null
for nonepublic RegionalInventory set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public RegionalInventory clone()
clone
in class com.google.api.client.json.GenericJson