public final class TestOrderLineItemProduct
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 |
---|
TestOrderLineItemProduct() |
Modifier and Type | Method and Description |
---|---|
TestOrderLineItemProduct |
clone() |
String |
getBrand()
Brand of the item.
|
String |
getCondition()
Condition or state of the item.
|
String |
getContentLanguage()
The two-letter ISO 639-1 language code for the item.
|
String |
getGtin()
Global Trade Item Number (GTIN) of the item.
|
String |
getImageLink()
URL of an image of the item.
|
String |
getItemGroupId()
Shared identifier for all variants of the same product.
|
String |
getMpn()
Manufacturer Part Number (MPN) of the item.
|
String |
getOfferId()
An identifier of the item.
|
Price |
getPrice()
The price for the product.
|
String |
getTargetCountry()
The CLDR territory code of the target country of the product.
|
String |
getTitle()
The title of the product.
|
List<OrderLineItemProductVariantAttribute> |
getVariantAttributes()
Variant attributes for the item.
|
TestOrderLineItemProduct |
set(String fieldName,
Object value) |
TestOrderLineItemProduct |
setBrand(String brand)
Brand of the item.
|
TestOrderLineItemProduct |
setCondition(String condition)
Condition or state of the item.
|
TestOrderLineItemProduct |
setContentLanguage(String contentLanguage)
The two-letter ISO 639-1 language code for the item.
|
TestOrderLineItemProduct |
setGtin(String gtin)
Global Trade Item Number (GTIN) of the item.
|
TestOrderLineItemProduct |
setImageLink(String imageLink)
URL of an image of the item.
|
TestOrderLineItemProduct |
setItemGroupId(String itemGroupId)
Shared identifier for all variants of the same product.
|
TestOrderLineItemProduct |
setMpn(String mpn)
Manufacturer Part Number (MPN) of the item.
|
TestOrderLineItemProduct |
setOfferId(String offerId)
An identifier of the item.
|
TestOrderLineItemProduct |
setPrice(Price price)
The price for the product.
|
TestOrderLineItemProduct |
setTargetCountry(String targetCountry)
The CLDR territory code of the target country of the product.
|
TestOrderLineItemProduct |
setTitle(String title)
The title of the product.
|
TestOrderLineItemProduct |
setVariantAttributes(List<OrderLineItemProductVariantAttribute> variantAttributes)
Variant attributes for the item.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getBrand()
null
for nonepublic TestOrderLineItemProduct setBrand(String brand)
brand
- brand or null
for nonepublic String getCondition()
null
for nonepublic TestOrderLineItemProduct setCondition(String condition)
condition
- condition or null
for nonepublic String getContentLanguage()
null
for nonepublic TestOrderLineItemProduct setContentLanguage(String contentLanguage)
contentLanguage
- contentLanguage or null
for nonepublic String getGtin()
null
for nonepublic TestOrderLineItemProduct setGtin(String gtin)
gtin
- gtin or null
for nonepublic String getImageLink()
null
for nonepublic TestOrderLineItemProduct setImageLink(String imageLink)
imageLink
- imageLink or null
for nonepublic String getItemGroupId()
null
for nonepublic TestOrderLineItemProduct setItemGroupId(String itemGroupId)
itemGroupId
- itemGroupId or null
for nonepublic String getMpn()
null
for nonepublic TestOrderLineItemProduct setMpn(String mpn)
mpn
- mpn or null
for nonepublic String getOfferId()
null
for nonepublic TestOrderLineItemProduct setOfferId(String offerId)
offerId
- offerId or null
for nonepublic Price getPrice()
null
for nonepublic TestOrderLineItemProduct setPrice(Price price)
price
- price or null
for nonepublic String getTargetCountry()
null
for nonepublic TestOrderLineItemProduct setTargetCountry(String targetCountry)
targetCountry
- targetCountry or null
for nonepublic String getTitle()
null
for nonepublic TestOrderLineItemProduct setTitle(String title)
title
- title or null
for nonepublic List<OrderLineItemProductVariantAttribute> getVariantAttributes()
null
for nonepublic TestOrderLineItemProduct setVariantAttributes(List<OrderLineItemProductVariantAttribute> variantAttributes)
variantAttributes
- variantAttributes or null
for nonepublic TestOrderLineItemProduct set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public TestOrderLineItemProduct clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.