public final class OrderLineItemProduct
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 |
---|
OrderLineItemProduct() |
Modifier and Type | Method and Description |
---|---|
OrderLineItemProduct |
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.
|
List<OrderLineItemProductFee> |
getFees()
Associated fees at order creation time.
|
String |
getGtin()
Global Trade Item Number (GTIN) of the item.
|
String |
getId()
The REST ID of the product.
|
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()
Price of the item.
|
String |
getShownImage()
URL to the cached image shown to the user when order was placed.
|
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.
|
OrderLineItemProduct |
set(String fieldName,
Object value) |
OrderLineItemProduct |
setBrand(String brand)
Brand of the item.
|
OrderLineItemProduct |
setCondition(String condition)
Condition or state of the item.
|
OrderLineItemProduct |
setContentLanguage(String contentLanguage)
The two-letter ISO 639-1 language code for the item.
|
OrderLineItemProduct |
setFees(List<OrderLineItemProductFee> fees)
Associated fees at order creation time.
|
OrderLineItemProduct |
setGtin(String gtin)
Global Trade Item Number (GTIN) of the item.
|
OrderLineItemProduct |
setId(String id)
The REST ID of the product.
|
OrderLineItemProduct |
setImageLink(String imageLink)
URL of an image of the item.
|
OrderLineItemProduct |
setItemGroupId(String itemGroupId)
Shared identifier for all variants of the same product.
|
OrderLineItemProduct |
setMpn(String mpn)
Manufacturer Part Number (MPN) of the item.
|
OrderLineItemProduct |
setOfferId(String offerId)
An identifier of the item.
|
OrderLineItemProduct |
setPrice(Price price)
Price of the item.
|
OrderLineItemProduct |
setShownImage(String shownImage)
URL to the cached image shown to the user when order was placed.
|
OrderLineItemProduct |
setTargetCountry(String targetCountry)
The CLDR territory code of the target country of the product.
|
OrderLineItemProduct |
setTitle(String title)
The title of the product.
|
OrderLineItemProduct |
setVariantAttributes(List<OrderLineItemProductVariantAttribute> variantAttributes)
Variant attributes for the item.
|
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 getBrand()
null
for nonepublic OrderLineItemProduct setBrand(String brand)
brand
- brand or null
for nonepublic String getCondition()
null
for nonepublic OrderLineItemProduct setCondition(String condition)
condition
- condition or null
for nonepublic String getContentLanguage()
null
for nonepublic OrderLineItemProduct setContentLanguage(String contentLanguage)
contentLanguage
- contentLanguage or null
for nonepublic List<OrderLineItemProductFee> getFees()
null
for nonepublic OrderLineItemProduct setFees(List<OrderLineItemProductFee> fees)
fees
- fees or null
for nonepublic String getGtin()
null
for nonepublic OrderLineItemProduct setGtin(String gtin)
gtin
- gtin or null
for nonepublic String getId()
null
for nonepublic OrderLineItemProduct setId(String id)
id
- id or null
for nonepublic String getImageLink()
null
for nonepublic OrderLineItemProduct setImageLink(String imageLink)
imageLink
- imageLink or null
for nonepublic String getItemGroupId()
null
for nonepublic OrderLineItemProduct setItemGroupId(String itemGroupId)
itemGroupId
- itemGroupId or null
for nonepublic String getMpn()
null
for nonepublic OrderLineItemProduct setMpn(String mpn)
mpn
- mpn or null
for nonepublic String getOfferId()
null
for nonepublic OrderLineItemProduct setOfferId(String offerId)
offerId
- offerId or null
for nonepublic Price getPrice()
null
for nonepublic OrderLineItemProduct setPrice(Price price)
price
- price or null
for nonepublic String getShownImage()
null
for nonepublic OrderLineItemProduct setShownImage(String shownImage)
shownImage
- shownImage or null
for nonepublic String getTargetCountry()
null
for nonepublic OrderLineItemProduct setTargetCountry(String targetCountry)
targetCountry
- targetCountry or null
for nonepublic String getTitle()
null
for nonepublic OrderLineItemProduct setTitle(String title)
title
- title or null
for nonepublic List<OrderLineItemProductVariantAttribute> getVariantAttributes()
null
for nonepublic OrderLineItemProduct setVariantAttributes(List<OrderLineItemProductVariantAttribute> variantAttributes)
variantAttributes
- variantAttributes or null
for nonepublic OrderLineItemProduct set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public OrderLineItemProduct clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.