target.apidocs.com.google.api.services.content.model.OrdersCustomBatchRequestEntryShipLineItems.html Maven / Gradle / Ivy
OrdersCustomBatchRequestEntryShipLineItems (Content API for Shopping v2-rev20190308-1.26.0)
com.google.api.services.content.model
Class OrdersCustomBatchRequestEntryShipLineItems
- 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.OrdersCustomBatchRequestEntryShipLineItems
-
public final class OrdersCustomBatchRequestEntryShipLineItems
extends com.google.api.client.json.GenericJson
Model definition for OrdersCustomBatchRequestEntryShipLineItems.
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
OrdersCustomBatchRequestEntryShipLineItems()
-
Method Summary
-
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, 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
-
-
Constructor Detail
-
OrdersCustomBatchRequestEntryShipLineItems
public OrdersCustomBatchRequestEntryShipLineItems()
-
Method Detail
-
getCarrier
public String getCarrier()
Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See
shipments[].carrier in the Orders resource representation for a list of acceptable values.
- Returns:
- value or
null
for none
-
setCarrier
public OrdersCustomBatchRequestEntryShipLineItems setCarrier(String carrier)
Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See
shipments[].carrier in the Orders resource representation for a list of acceptable values.
- Parameters:
carrier
- carrier or null
for none
-
getLineItems
public List<OrderShipmentLineItemShipment> getLineItems()
Line items to ship.
- Returns:
- value or
null
for none
-
setLineItems
public OrdersCustomBatchRequestEntryShipLineItems setLineItems(List<OrderShipmentLineItemShipment> lineItems)
Line items to ship.
- Parameters:
lineItems
- lineItems 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 OrdersCustomBatchRequestEntryShipLineItems setShipmentGroupId(String shipmentGroupId)
ID of the shipment group. Required for orders that use the orderinvoices service.
- Parameters:
shipmentGroupId
- shipmentGroupId or null
for none
-
getShipmentId
public String getShipmentId()
Deprecated. Please use shipmentInfo instead. The ID of the shipment.
- Returns:
- value or
null
for none
-
setShipmentId
public OrdersCustomBatchRequestEntryShipLineItems setShipmentId(String shipmentId)
Deprecated. Please use shipmentInfo instead. The ID of the shipment.
- Parameters:
shipmentId
- shipmentId 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 OrdersCustomBatchRequestEntryShipLineItems 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
-
getTrackingId
public String getTrackingId()
Deprecated. Please use shipmentInfo instead. The tracking ID for the shipment.
- Returns:
- value or
null
for none
-
setTrackingId
public OrdersCustomBatchRequestEntryShipLineItems setTrackingId(String trackingId)
Deprecated. Please use shipmentInfo instead. The tracking ID for the shipment.
- Parameters:
trackingId
- trackingId or null
for none
-
set
public OrdersCustomBatchRequestEntryShipLineItems set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public OrdersCustomBatchRequestEntryShipLineItems clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy