public final class PriceCompetitiveness
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 |
---|
PriceCompetitiveness() |
Modifier and Type | Method and Description |
---|---|
PriceCompetitiveness |
clone() |
String |
getBenchmarkPriceCurrencyCode()
The price benchmark currency (ISO 4217 code).
|
Long |
getBenchmarkPriceMicros()
The latest available price benchmark in micros (1 millionth of a standard unit, 1 USD = 1000000
micros) for the product's catalog in the benchmark country.
|
String |
getCountryCode()
The country of the price benchmark (ISO 3166 code).
|
PriceCompetitiveness |
set(String fieldName,
Object value) |
PriceCompetitiveness |
setBenchmarkPriceCurrencyCode(String benchmarkPriceCurrencyCode)
The price benchmark currency (ISO 4217 code).
|
PriceCompetitiveness |
setBenchmarkPriceMicros(Long benchmarkPriceMicros)
The latest available price benchmark in micros (1 millionth of a standard unit, 1 USD = 1000000
micros) for the product's catalog in the benchmark country.
|
PriceCompetitiveness |
setCountryCode(String countryCode)
The country of the price benchmark (ISO 3166 code).
|
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 getBenchmarkPriceCurrencyCode()
null
for nonepublic PriceCompetitiveness setBenchmarkPriceCurrencyCode(String benchmarkPriceCurrencyCode)
benchmarkPriceCurrencyCode
- benchmarkPriceCurrencyCode or null
for nonepublic Long getBenchmarkPriceMicros()
null
for nonepublic PriceCompetitiveness setBenchmarkPriceMicros(Long benchmarkPriceMicros)
benchmarkPriceMicros
- benchmarkPriceMicros or null
for nonepublic String getCountryCode()
null
for nonepublic PriceCompetitiveness setCountryCode(String countryCode)
countryCode
- countryCode or null
for nonepublic PriceCompetitiveness set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PriceCompetitiveness clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.