target.apidocs.com.google.api.services.content.model.OrderTrackingSignalLineItemDetails.html Maven / Gradle / Ivy
OrderTrackingSignalLineItemDetails (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class OrderTrackingSignalLineItemDetails
- 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.OrderTrackingSignalLineItemDetails
-
public final class OrderTrackingSignalLineItemDetails
extends com.google.api.client.json.GenericJson
The line items of the order.
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
OrderTrackingSignalLineItemDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods
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).
-
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
-
getBrand
public String getBrand()
Brand of the product.
- Returns:
- value or
null
for none
-
setBrand
public OrderTrackingSignalLineItemDetails setBrand(String brand)
Brand of the product.
- Parameters:
brand
- brand or null
for none
-
getGtin
public String getGtin()
The Global Trade Item Number.
- Returns:
- value or
null
for none
-
setGtin
public OrderTrackingSignalLineItemDetails setGtin(String gtin)
The Global Trade Item Number.
- Parameters:
gtin
- gtin or null
for none
-
getLineItemId
public String getLineItemId()
Required. The ID for this line item.
- Returns:
- value or
null
for none
-
setLineItemId
public OrderTrackingSignalLineItemDetails setLineItemId(String lineItemId)
Required. The ID for this line item.
- Parameters:
lineItemId
- lineItemId or null
for none
-
getMpn
public String getMpn()
The manufacturer part number.
- Returns:
- value or
null
for none
-
setMpn
public OrderTrackingSignalLineItemDetails setMpn(String mpn)
The manufacturer part number.
- Parameters:
mpn
- mpn or null
for none
-
getProductDescription
public String getProductDescription()
Plain text description of this product (deprecated: Please use product_title instead).
- Returns:
- value or
null
for none
-
setProductDescription
public OrderTrackingSignalLineItemDetails setProductDescription(String productDescription)
Plain text description of this product (deprecated: Please use product_title instead).
- Parameters:
productDescription
- productDescription or null
for none
-
getProductId
public String getProductId()
Required. The Content API REST ID of the product, in the form
channel:contentLanguage:targetCountry:offerId.
- Returns:
- value or
null
for none
-
setProductId
public OrderTrackingSignalLineItemDetails setProductId(String productId)
Required. The Content API REST ID of the product, in the form
channel:contentLanguage:targetCountry:offerId.
- Parameters:
productId
- productId or null
for none
-
getProductTitle
public String getProductTitle()
Plain text title of this product.
- Returns:
- value or
null
for none
-
setProductTitle
public OrderTrackingSignalLineItemDetails setProductTitle(String productTitle)
Plain text title of this product.
- Parameters:
productTitle
- productTitle or null
for none
-
getQuantity
public Long getQuantity()
The quantity of the line item in the order.
- Returns:
- value or
null
for none
-
setQuantity
public OrderTrackingSignalLineItemDetails setQuantity(Long quantity)
The quantity of the line item in the order.
- Parameters:
quantity
- quantity or null
for none
-
getSku
public String getSku()
Merchant SKU for this item (deprecated).
- Returns:
- value or
null
for none
-
setSku
public OrderTrackingSignalLineItemDetails setSku(String sku)
Merchant SKU for this item (deprecated).
- Parameters:
sku
- sku or null
for none
-
getUpc
public String getUpc()
Universal product code for this item (deprecated: Please use GTIN instead).
- Returns:
- value or
null
for none
-
setUpc
public OrderTrackingSignalLineItemDetails setUpc(String upc)
Universal product code for this item (deprecated: Please use GTIN instead).
- Parameters:
upc
- upc or null
for none
-
set
public OrderTrackingSignalLineItemDetails set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public OrderTrackingSignalLineItemDetails 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