public final class OrderShipment
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
OrderShipment() |
| Modifier and Type | Method and Description |
|---|---|
OrderShipment |
clone() |
String |
getCarrier()
The carrier handling the shipment.
|
String |
getCreationDate()
Date on which the shipment has been created, in ISO 8601 format.
|
String |
getDeliveryDate()
Date on which the shipment has been delivered, in ISO 8601 format.
|
String |
getId()
The ID of the shipment.
|
List<OrderShipmentLineItemShipment> |
getLineItems()
The line items that are shipped.
|
OrderShipmentScheduledDeliveryDetails |
getScheduledDeliveryDetails()
Delivery details of the shipment if scheduling is needed.
|
String |
getShipmentGroupId()
The shipment group ID of the shipment.
|
String |
getStatus()
The status of the shipment.
|
String |
getTrackingId()
The tracking ID for the shipment.
|
OrderShipment |
set(String fieldName,
Object value) |
OrderShipment |
setCarrier(String carrier)
The carrier handling the shipment.
|
OrderShipment |
setCreationDate(String creationDate)
Date on which the shipment has been created, in ISO 8601 format.
|
OrderShipment |
setDeliveryDate(String deliveryDate)
Date on which the shipment has been delivered, in ISO 8601 format.
|
OrderShipment |
setId(String id)
The ID of the shipment.
|
OrderShipment |
setLineItems(List<OrderShipmentLineItemShipment> lineItems)
The line items that are shipped.
|
OrderShipment |
setScheduledDeliveryDetails(OrderShipmentScheduledDeliveryDetails scheduledDeliveryDetails)
Delivery details of the shipment if scheduling is needed.
|
OrderShipment |
setShipmentGroupId(String shipmentGroupId)
The shipment group ID of the shipment.
|
OrderShipment |
setStatus(String status)
The status of the shipment.
|
OrderShipment |
setTrackingId(String trackingId)
The tracking ID for the shipment.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCarrier()
null for nonepublic OrderShipment setCarrier(String carrier)
carrier - carrier or null for nonepublic String getCreationDate()
null for nonepublic OrderShipment setCreationDate(String creationDate)
creationDate - creationDate or null for nonepublic String getDeliveryDate()
null for nonepublic OrderShipment setDeliveryDate(String deliveryDate)
deliveryDate - deliveryDate or null for nonepublic String getId()
null for nonepublic OrderShipment setId(String id)
id - id or null for nonepublic List<OrderShipmentLineItemShipment> getLineItems()
null for nonepublic OrderShipment setLineItems(List<OrderShipmentLineItemShipment> lineItems)
lineItems - lineItems or null for nonepublic OrderShipmentScheduledDeliveryDetails getScheduledDeliveryDetails()
null for nonepublic OrderShipment setScheduledDeliveryDetails(OrderShipmentScheduledDeliveryDetails scheduledDeliveryDetails)
scheduledDeliveryDetails - scheduledDeliveryDetails or null for nonepublic String getShipmentGroupId()
null for nonepublic OrderShipment setShipmentGroupId(String shipmentGroupId)
shipmentGroupId - shipmentGroupId or null for nonepublic String getStatus()
null for nonepublic OrderShipment setStatus(String status)
status - status or null for nonepublic String getTrackingId()
null for nonepublic OrderShipment setTrackingId(String trackingId)
trackingId - trackingId or null for nonepublic OrderShipment set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic OrderShipment clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.