public final class PriceInsights
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 |
---|
PriceInsights() |
Modifier and Type | Method and Description |
---|---|
PriceInsights |
clone() |
String |
getEffectiveness()
The predicted effectiveness of applying the price suggestion, bucketed.
|
Double |
getPredictedClicksChangeFraction()
The predicted change in clicks as a fraction after introducing the suggested price compared to
current active price.
|
Double |
getPredictedConversionsChangeFraction()
The predicted change in conversions as a fraction after introducing the suggested price
compared to current active price.
|
Double |
getPredictedGrossProfitChangeFraction()
*Deprecated*: This field is no longer supported and will start returning 0.
|
Double |
getPredictedImpressionsChangeFraction()
The predicted change in impressions as a fraction after introducing the suggested price
compared to current active price.
|
String |
getPredictedMonthlyGrossProfitChangeCurrencyCode()
*Deprecated*: This field is no longer supported and will start returning USD for all requests.
|
Long |
getPredictedMonthlyGrossProfitChangeMicros()
*Deprecated*: This field is no longer supported and will start returning 0.
|
String |
getSuggestedPriceCurrencyCode()
The suggested price currency (ISO 4217 code).
|
Long |
getSuggestedPriceMicros()
The latest suggested price in micros (1 millionth of a standard unit, 1 USD = 1000000 micros)
for the product.
|
PriceInsights |
set(String fieldName,
Object value) |
PriceInsights |
setEffectiveness(String effectiveness)
The predicted effectiveness of applying the price suggestion, bucketed.
|
PriceInsights |
setPredictedClicksChangeFraction(Double predictedClicksChangeFraction)
The predicted change in clicks as a fraction after introducing the suggested price compared to
current active price.
|
PriceInsights |
setPredictedConversionsChangeFraction(Double predictedConversionsChangeFraction)
The predicted change in conversions as a fraction after introducing the suggested price
compared to current active price.
|
PriceInsights |
setPredictedGrossProfitChangeFraction(Double predictedGrossProfitChangeFraction)
*Deprecated*: This field is no longer supported and will start returning 0.
|
PriceInsights |
setPredictedImpressionsChangeFraction(Double predictedImpressionsChangeFraction)
The predicted change in impressions as a fraction after introducing the suggested price
compared to current active price.
|
PriceInsights |
setPredictedMonthlyGrossProfitChangeCurrencyCode(String predictedMonthlyGrossProfitChangeCurrencyCode)
*Deprecated*: This field is no longer supported and will start returning USD for all requests.
|
PriceInsights |
setPredictedMonthlyGrossProfitChangeMicros(Long predictedMonthlyGrossProfitChangeMicros)
*Deprecated*: This field is no longer supported and will start returning 0.
|
PriceInsights |
setSuggestedPriceCurrencyCode(String suggestedPriceCurrencyCode)
The suggested price currency (ISO 4217 code).
|
PriceInsights |
setSuggestedPriceMicros(Long suggestedPriceMicros)
The latest suggested price in micros (1 millionth of a standard unit, 1 USD = 1000000 micros)
for the product.
|
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 getEffectiveness()
null
for nonepublic PriceInsights setEffectiveness(String effectiveness)
effectiveness
- effectiveness or null
for nonepublic Double getPredictedClicksChangeFraction()
null
for nonepublic PriceInsights setPredictedClicksChangeFraction(Double predictedClicksChangeFraction)
predictedClicksChangeFraction
- predictedClicksChangeFraction or null
for nonepublic Double getPredictedConversionsChangeFraction()
null
for nonepublic PriceInsights setPredictedConversionsChangeFraction(Double predictedConversionsChangeFraction)
predictedConversionsChangeFraction
- predictedConversionsChangeFraction or null
for nonepublic Double getPredictedGrossProfitChangeFraction()
null
for nonepublic PriceInsights setPredictedGrossProfitChangeFraction(Double predictedGrossProfitChangeFraction)
predictedGrossProfitChangeFraction
- predictedGrossProfitChangeFraction or null
for nonepublic Double getPredictedImpressionsChangeFraction()
null
for nonepublic PriceInsights setPredictedImpressionsChangeFraction(Double predictedImpressionsChangeFraction)
predictedImpressionsChangeFraction
- predictedImpressionsChangeFraction or null
for nonepublic String getPredictedMonthlyGrossProfitChangeCurrencyCode()
null
for nonepublic PriceInsights setPredictedMonthlyGrossProfitChangeCurrencyCode(String predictedMonthlyGrossProfitChangeCurrencyCode)
predictedMonthlyGrossProfitChangeCurrencyCode
- predictedMonthlyGrossProfitChangeCurrencyCode or null
for nonepublic Long getPredictedMonthlyGrossProfitChangeMicros()
null
for nonepublic PriceInsights setPredictedMonthlyGrossProfitChangeMicros(Long predictedMonthlyGrossProfitChangeMicros)
predictedMonthlyGrossProfitChangeMicros
- predictedMonthlyGrossProfitChangeMicros or null
for nonepublic String getSuggestedPriceCurrencyCode()
null
for nonepublic PriceInsights setSuggestedPriceCurrencyCode(String suggestedPriceCurrencyCode)
suggestedPriceCurrencyCode
- suggestedPriceCurrencyCode or null
for nonepublic Long getSuggestedPriceMicros()
null
for nonepublic PriceInsights setSuggestedPriceMicros(Long suggestedPriceMicros)
suggestedPriceMicros
- suggestedPriceMicros or null
for nonepublic PriceInsights set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PriceInsights clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.