public final class BestSellers
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 |
---|
BestSellers() |
Modifier and Type | Method and Description |
---|---|
BestSellers |
clone() |
Long |
getCategoryId()
Google product category ID to calculate the ranking for, represented in [Google's product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
String |
getCountryCode()
Country where the ranking is calculated.
|
Long |
getPreviousRank()
Popularity rank in the previous week or month.
|
String |
getPreviousRelativeDemand()
Estimated demand in relation to the item with the highest popularity rank in the same category
and country in the previous week or month.
|
Long |
getRank()
Popularity on Shopping ads and free listings, in the selected category and country, based on
the estimated number of units sold.
|
String |
getRelativeDemand()
Estimated demand in relation to the item with the highest popularity rank in the same category
and country.
|
String |
getRelativeDemandChange()
Change in the estimated demand.
|
Date |
getReportDate()
Report date.
|
String |
getReportGranularity()
Granularity of the report.
|
BestSellers |
set(String fieldName,
Object value) |
BestSellers |
setCategoryId(Long categoryId)
Google product category ID to calculate the ranking for, represented in [Google's product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
BestSellers |
setCountryCode(String countryCode)
Country where the ranking is calculated.
|
BestSellers |
setPreviousRank(Long previousRank)
Popularity rank in the previous week or month.
|
BestSellers |
setPreviousRelativeDemand(String previousRelativeDemand)
Estimated demand in relation to the item with the highest popularity rank in the same category
and country in the previous week or month.
|
BestSellers |
setRank(Long rank)
Popularity on Shopping ads and free listings, in the selected category and country, based on
the estimated number of units sold.
|
BestSellers |
setRelativeDemand(String relativeDemand)
Estimated demand in relation to the item with the highest popularity rank in the same category
and country.
|
BestSellers |
setRelativeDemandChange(String relativeDemandChange)
Change in the estimated demand.
|
BestSellers |
setReportDate(Date reportDate)
Report date.
|
BestSellers |
setReportGranularity(String reportGranularity)
Granularity of the report.
|
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 Long getCategoryId()
null
for nonepublic BestSellers setCategoryId(Long categoryId)
categoryId
- categoryId or null
for nonepublic String getCountryCode()
null
for nonepublic BestSellers setCountryCode(String countryCode)
countryCode
- countryCode or null
for nonepublic Long getPreviousRank()
null
for nonepublic BestSellers setPreviousRank(Long previousRank)
previousRank
- previousRank or null
for nonepublic String getPreviousRelativeDemand()
null
for nonepublic BestSellers setPreviousRelativeDemand(String previousRelativeDemand)
previousRelativeDemand
- previousRelativeDemand or null
for nonepublic Long getRank()
null
for nonepublic BestSellers setRank(Long rank)
rank
- rank or null
for nonepublic String getRelativeDemand()
null
for nonepublic BestSellers setRelativeDemand(String relativeDemand)
relativeDemand
- relativeDemand or null
for nonepublic String getRelativeDemandChange()
null
for nonepublic BestSellers setRelativeDemandChange(String relativeDemandChange)
relativeDemandChange
- relativeDemandChange or null
for nonepublic Date getReportDate()
null
for nonepublic BestSellers setReportDate(Date reportDate)
reportDate
- reportDate or null
for nonepublic String getReportGranularity()
null
for nonepublic BestSellers setReportGranularity(String reportGranularity)
reportGranularity
- reportGranularity or null
for nonepublic BestSellers set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public BestSellers clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.