target.apidocs.com.google.api.services.content.model.ShipmentInvoiceLineItemInvoice.html Maven / Gradle / Ivy
ShipmentInvoiceLineItemInvoice (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class ShipmentInvoiceLineItemInvoice
- 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.ShipmentInvoiceLineItemInvoice
-
public final class ShipmentInvoiceLineItemInvoice
extends com.google.api.client.json.GenericJson
Model definition for ShipmentInvoiceLineItemInvoice.
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
ShipmentInvoiceLineItemInvoice()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ShipmentInvoiceLineItemInvoice
clone()
String
getLineItemId()
ID of the line item.
String
getProductId()
ID of the product.
List<String>
getShipmentUnitIds()
[required] The shipment unit ID is assigned by the merchant and defines individual quantities
within a line item.
UnitInvoice
getUnitInvoice()
[required] Invoice details for a single unit.
ShipmentInvoiceLineItemInvoice
set(String fieldName,
Object value)
ShipmentInvoiceLineItemInvoice
setLineItemId(String lineItemId)
ID of the line item.
ShipmentInvoiceLineItemInvoice
setProductId(String productId)
ID of the product.
ShipmentInvoiceLineItemInvoice
setShipmentUnitIds(List<String> shipmentUnitIds)
[required] The shipment unit ID is assigned by the merchant and defines individual quantities
within a line item.
ShipmentInvoiceLineItemInvoice
setUnitInvoice(UnitInvoice unitInvoice)
[required] Invoice details for a single unit.
-
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
-
getLineItemId
public String getLineItemId()
ID of the line item. Either lineItemId or productId must be set.
- Returns:
- value or
null
for none
-
setLineItemId
public ShipmentInvoiceLineItemInvoice setLineItemId(String lineItemId)
ID of the line item. Either lineItemId or productId must be set.
- Parameters:
lineItemId
- lineItemId or null
for none
-
getProductId
public String getProductId()
ID of the product. This is the REST ID used in the products service. Either lineItemId or
productId must be set.
- Returns:
- value or
null
for none
-
setProductId
public ShipmentInvoiceLineItemInvoice setProductId(String productId)
ID of the product. This is the REST ID used in the products service. Either lineItemId or
productId must be set.
- Parameters:
productId
- productId or null
for none
-
getShipmentUnitIds
public List<String> getShipmentUnitIds()
[required] The shipment unit ID is assigned by the merchant and defines individual quantities
within a line item. The same ID can be assigned to units that are the same while units that
differ must be assigned a different ID (for example: free or promotional units).
- Returns:
- value or
null
for none
-
setShipmentUnitIds
public ShipmentInvoiceLineItemInvoice setShipmentUnitIds(List<String> shipmentUnitIds)
[required] The shipment unit ID is assigned by the merchant and defines individual quantities
within a line item. The same ID can be assigned to units that are the same while units that
differ must be assigned a different ID (for example: free or promotional units).
- Parameters:
shipmentUnitIds
- shipmentUnitIds or null
for none
-
getUnitInvoice
public UnitInvoice getUnitInvoice()
[required] Invoice details for a single unit.
- Returns:
- value or
null
for none
-
setUnitInvoice
public ShipmentInvoiceLineItemInvoice setUnitInvoice(UnitInvoice unitInvoice)
[required] Invoice details for a single unit.
- Parameters:
unitInvoice
- unitInvoice or null
for none
-
set
public ShipmentInvoiceLineItemInvoice set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ShipmentInvoiceLineItemInvoice 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