target.apidocs.com.google.api.services.content.model.PriceCompetitiveness.html Maven / Gradle / Ivy
PriceCompetitiveness (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class PriceCompetitiveness
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.PriceCompetitiveness
-
public final class PriceCompetitiveness
extends com.google.api.client.json.GenericJson
Price competitiveness fields requested by the merchant in the query. Field values are only set if
the merchant queries `PriceCompetitivenessProductView`.
https://support.google.com/merchants/answer/9626903
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
PriceCompetitiveness()
-
Method Summary
All Methods Instance Methods Concrete Methods
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).
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBenchmarkPriceCurrencyCode
public String getBenchmarkPriceCurrencyCode()
The price benchmark currency (ISO 4217 code).
- Returns:
- value or
null
for none
-
setBenchmarkPriceCurrencyCode
public PriceCompetitiveness setBenchmarkPriceCurrencyCode(String benchmarkPriceCurrencyCode)
The price benchmark currency (ISO 4217 code).
- Parameters:
benchmarkPriceCurrencyCode
- benchmarkPriceCurrencyCode or null
for none
-
getBenchmarkPriceMicros
public 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.
- Returns:
- value or
null
for none
-
setBenchmarkPriceMicros
public 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.
- Parameters:
benchmarkPriceMicros
- benchmarkPriceMicros or null
for none
-
getCountryCode
public String getCountryCode()
The country of the price benchmark (ISO 3166 code).
- Returns:
- value or
null
for none
-
setCountryCode
public PriceCompetitiveness setCountryCode(String countryCode)
The country of the price benchmark (ISO 3166 code).
- Parameters:
countryCode
- countryCode or null
for none
-
set
public PriceCompetitiveness set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public PriceCompetitiveness clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy