public final class OrderTrackingSignalLineItemDetails
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 |
---|
OrderTrackingSignalLineItemDetails() |
Modifier and Type | Method and Description |
---|---|
OrderTrackingSignalLineItemDetails |
clone() |
String |
getBrand()
Brand of the product.
|
String |
getGtin()
The Global Trade Item Number.
|
String |
getLineItemId()
Required.
|
String |
getMpn()
The manufacturer part number.
|
String |
getProductDescription()
Plain text description of this product (deprecated: Please use product_title instead).
|
String |
getProductId()
Required.
|
String |
getProductTitle()
Plain text title of this product.
|
Long |
getQuantity()
The quantity of the line item in the order.
|
String |
getSku()
Merchant SKU for this item (deprecated).
|
String |
getUpc()
Universal product code for this item (deprecated: Please use GTIN instead).
|
OrderTrackingSignalLineItemDetails |
set(String fieldName,
Object value) |
OrderTrackingSignalLineItemDetails |
setBrand(String brand)
Brand of the product.
|
OrderTrackingSignalLineItemDetails |
setGtin(String gtin)
The Global Trade Item Number.
|
OrderTrackingSignalLineItemDetails |
setLineItemId(String lineItemId)
Required.
|
OrderTrackingSignalLineItemDetails |
setMpn(String mpn)
The manufacturer part number.
|
OrderTrackingSignalLineItemDetails |
setProductDescription(String productDescription)
Plain text description of this product (deprecated: Please use product_title instead).
|
OrderTrackingSignalLineItemDetails |
setProductId(String productId)
Required.
|
OrderTrackingSignalLineItemDetails |
setProductTitle(String productTitle)
Plain text title of this product.
|
OrderTrackingSignalLineItemDetails |
setQuantity(Long quantity)
The quantity of the line item in the order.
|
OrderTrackingSignalLineItemDetails |
setSku(String sku)
Merchant SKU for this item (deprecated).
|
OrderTrackingSignalLineItemDetails |
setUpc(String upc)
Universal product code for this item (deprecated: Please use GTIN instead).
|
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 OrderTrackingSignalLineItemDetails setBrand(String brand)
brand
- brand or null
for nonepublic String getGtin()
null
for nonepublic OrderTrackingSignalLineItemDetails setGtin(String gtin)
gtin
- gtin or null
for nonepublic String getLineItemId()
null
for nonepublic OrderTrackingSignalLineItemDetails setLineItemId(String lineItemId)
lineItemId
- lineItemId or null
for nonepublic String getMpn()
null
for nonepublic OrderTrackingSignalLineItemDetails setMpn(String mpn)
mpn
- mpn or null
for nonepublic String getProductDescription()
null
for nonepublic OrderTrackingSignalLineItemDetails setProductDescription(String productDescription)
productDescription
- productDescription or null
for nonepublic String getProductId()
null
for nonepublic OrderTrackingSignalLineItemDetails setProductId(String productId)
productId
- productId or null
for nonepublic String getProductTitle()
null
for nonepublic OrderTrackingSignalLineItemDetails setProductTitle(String productTitle)
productTitle
- productTitle or null
for nonepublic Long getQuantity()
null
for nonepublic OrderTrackingSignalLineItemDetails setQuantity(Long quantity)
quantity
- quantity or null
for nonepublic String getSku()
null
for nonepublic OrderTrackingSignalLineItemDetails setSku(String sku)
sku
- sku or null
for nonepublic String getUpc()
null
for nonepublic OrderTrackingSignalLineItemDetails setUpc(String upc)
upc
- upc or null
for nonepublic OrderTrackingSignalLineItemDetails set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public OrderTrackingSignalLineItemDetails clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.