target.apidocs.com.google.api.services.content.model.OrdersShipLineItemsRequest.html Maven / Gradle / Ivy
OrdersShipLineItemsRequest (Content API for Shopping v2.1-rev20220413-1.32.1)
com.google.api.services.content.model
Class OrdersShipLineItemsRequest
- 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.OrdersShipLineItemsRequest
-
public final class OrdersShipLineItemsRequest
extends GenericJson
Model definition for OrdersShipLineItemsRequest.
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
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
OrdersShipLineItemsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
OrdersShipLineItemsRequest
clone()
List<OrderShipmentLineItemShipment>
getLineItems()
Line items to ship.
String
getOperationId()
The ID of the operation.
String
getShipmentGroupId()
ID of the shipment group.
List<OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>
getShipmentInfos()
Shipment information.
OrdersShipLineItemsRequest
set(String fieldName,
Object value)
OrdersShipLineItemsRequest
setLineItems(List<OrderShipmentLineItemShipment> lineItems)
Line items to ship.
OrdersShipLineItemsRequest
setOperationId(String operationId)
The ID of the operation.
OrdersShipLineItemsRequest
setShipmentGroupId(String shipmentGroupId)
ID of the shipment group.
OrdersShipLineItemsRequest
setShipmentInfos(List<OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo> shipmentInfos)
Shipment information.
-
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
-
getLineItems
public List<OrderShipmentLineItemShipment> getLineItems()
Line items to ship.
- Returns:
- value or
null
for none
-
setLineItems
public OrdersShipLineItemsRequest setLineItems(List<OrderShipmentLineItemShipment> lineItems)
Line items to ship.
- Parameters:
lineItems
- lineItems or null
for none
-
getOperationId
public String getOperationId()
The ID of the operation. Unique across all operations for a given order.
- Returns:
- value or
null
for none
-
setOperationId
public OrdersShipLineItemsRequest setOperationId(String operationId)
The ID of the operation. Unique across all operations for a given order.
- Parameters:
operationId
- operationId or null
for none
-
getShipmentGroupId
public String getShipmentGroupId()
ID of the shipment group. Required for orders that use the orderinvoices service.
- Returns:
- value or
null
for none
-
setShipmentGroupId
public OrdersShipLineItemsRequest setShipmentGroupId(String shipmentGroupId)
ID of the shipment group. Required for orders that use the orderinvoices service.
- Parameters:
shipmentGroupId
- shipmentGroupId or null
for none
-
getShipmentInfos
public List<OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo> getShipmentInfos()
Shipment information. This field is repeated because a single line item can be shipped in
several packages (and have several tracking IDs).
- Returns:
- value or
null
for none
-
setShipmentInfos
public OrdersShipLineItemsRequest setShipmentInfos(List<OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo> shipmentInfos)
Shipment information. This field is repeated because a single line item can be shipped in
several packages (and have several tracking IDs).
- Parameters:
shipmentInfos
- shipmentInfos or null
for none
-
set
public OrdersShipLineItemsRequest set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public OrdersShipLineItemsRequest clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy