public final class PriceList
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 Google My Business API. 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 |
---|
PriceList() |
Modifier and Type | Method and Description |
---|---|
PriceList |
clone() |
java.util.List<Label> |
getLabels()
Required.
|
java.lang.String |
getPriceListId()
Required.
|
java.util.List<Section> |
getSections()
Required.
|
java.lang.String |
getSourceUrl()
Optional source URL of where the price list was retrieved from.
|
PriceList |
set(java.lang.String fieldName,
java.lang.Object value) |
PriceList |
setLabels(java.util.List<Label> labels)
Required.
|
PriceList |
setPriceListId(java.lang.String priceListId)
Required.
|
PriceList |
setSections(java.util.List<Section> sections)
Required.
|
PriceList |
setSourceUrl(java.lang.String sourceUrl)
Optional source URL of where the price list was retrieved from.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<Label> getLabels()
null
for nonepublic PriceList setLabels(java.util.List<Label> labels)
labels
- labels or null
for nonepublic java.lang.String getPriceListId()
null
for nonepublic PriceList setPriceListId(java.lang.String priceListId)
priceListId
- priceListId or null
for nonepublic java.util.List<Section> getSections()
null
for nonepublic PriceList setSections(java.util.List<Section> sections)
sections
- sections or null
for nonepublic java.lang.String getSourceUrl()
null
for nonepublic PriceList setSourceUrl(java.lang.String sourceUrl)
sourceUrl
- sourceUrl or null
for nonepublic PriceList set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PriceList clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.