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.Flags
Constructor and Description |
---|
OrderShipment() |
Modifier and Type | Method and Description |
---|---|
OrderShipment |
clone() |
java.lang.String |
getCarrier()
The carrier handling the shipment.
|
java.lang.String |
getCreationDate()
Date on which the shipment has been created, in ISO 8601 format.
|
java.lang.String |
getDeliveryDate()
Date on which the shipment has been delivered, in ISO 8601 format.
|
java.lang.String |
getId()
The ID of the shipment.
|
java.util.List<OrderShipmentLineItemShipment> |
getLineItems()
The line items that are shipped.
|
java.lang.String |
getShipmentGroupId()
The shipment group ID of the shipment.
|
java.lang.String |
getStatus()
The status of the shipment.
|
java.lang.String |
getTrackingId()
The tracking ID for the shipment.
|
OrderShipment |
set(java.lang.String fieldName,
java.lang.Object value) |
OrderShipment |
setCarrier(java.lang.String carrier)
The carrier handling the shipment.
|
OrderShipment |
setCreationDate(java.lang.String creationDate)
Date on which the shipment has been created, in ISO 8601 format.
|
OrderShipment |
setDeliveryDate(java.lang.String deliveryDate)
Date on which the shipment has been delivered, in ISO 8601 format.
|
OrderShipment |
setId(java.lang.String id)
The ID of the shipment.
|
OrderShipment |
setLineItems(java.util.List<OrderShipmentLineItemShipment> lineItems)
The line items that are shipped.
|
OrderShipment |
setShipmentGroupId(java.lang.String shipmentGroupId)
The shipment group ID of the shipment.
|
OrderShipment |
setStatus(java.lang.String status)
The status of the shipment.
|
OrderShipment |
setTrackingId(java.lang.String trackingId)
The tracking ID for the shipment.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getCarrier()
null
for nonepublic OrderShipment setCarrier(java.lang.String carrier)
carrier
- carrier or null
for nonepublic java.lang.String getCreationDate()
null
for nonepublic OrderShipment setCreationDate(java.lang.String creationDate)
creationDate
- creationDate or null
for nonepublic java.lang.String getDeliveryDate()
null
for nonepublic OrderShipment setDeliveryDate(java.lang.String deliveryDate)
deliveryDate
- deliveryDate or null
for nonepublic java.lang.String getId()
null
for nonepublic OrderShipment setId(java.lang.String id)
id
- id or null
for nonepublic java.util.List<OrderShipmentLineItemShipment> getLineItems()
null
for nonepublic OrderShipment setLineItems(java.util.List<OrderShipmentLineItemShipment> lineItems)
lineItems
- lineItems or null
for nonepublic java.lang.String getShipmentGroupId()
null
for nonepublic OrderShipment setShipmentGroupId(java.lang.String shipmentGroupId)
shipmentGroupId
- shipmentGroupId or null
for nonepublic java.lang.String getStatus()
null
for nonepublic OrderShipment setStatus(java.lang.String status)
status
- status or null
for nonepublic java.lang.String getTrackingId()
null
for nonepublic OrderShipment setTrackingId(java.lang.String trackingId)
trackingId
- trackingId or null
for nonepublic OrderShipment set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public OrderShipment clone()
clone
in class com.google.api.client.json.GenericJson