target.apidocs.com.google.api.services.content.model.OrdersCustomBatchRequestEntryUpdateShipment.html Maven / Gradle / Ivy
OrdersCustomBatchRequestEntryUpdateShipment (Content API for Shopping v2-rev20210113-1.31.0)
com.google.api.services.content.model
Class OrdersCustomBatchRequestEntryUpdateShipment
- 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.OrdersCustomBatchRequestEntryUpdateShipment
-
public final class OrdersCustomBatchRequestEntryUpdateShipment
extends GenericJson
Model definition for OrdersCustomBatchRequestEntryUpdateShipment.
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
OrdersCustomBatchRequestEntryUpdateShipment()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
OrdersCustomBatchRequestEntryUpdateShipment
clone()
String
getCarrier()
The carrier handling the shipment.
String
getDeliveryDate()
Date on which the shipment has been delivered, in ISO 8601 format.
String
getShipmentId()
The ID of the shipment.
String
getStatus()
New status for the shipment.
String
getTrackingId()
The tracking ID for the shipment.
OrdersCustomBatchRequestEntryUpdateShipment
set(String fieldName,
Object value)
OrdersCustomBatchRequestEntryUpdateShipment
setCarrier(String carrier)
The carrier handling the shipment.
OrdersCustomBatchRequestEntryUpdateShipment
setDeliveryDate(String deliveryDate)
Date on which the shipment has been delivered, in ISO 8601 format.
OrdersCustomBatchRequestEntryUpdateShipment
setShipmentId(String shipmentId)
The ID of the shipment.
OrdersCustomBatchRequestEntryUpdateShipment
setStatus(String status)
New status for the shipment.
OrdersCustomBatchRequestEntryUpdateShipment
setTrackingId(String trackingId)
The tracking ID for the shipment.
-
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
-
-
Constructor Detail
-
OrdersCustomBatchRequestEntryUpdateShipment
public OrdersCustomBatchRequestEntryUpdateShipment()
-
Method Detail
-
getCarrier
public String getCarrier()
The carrier handling the shipment. Not updated if missing. See `shipments[].carrier` in the
Orders resource representation for a list of acceptable values.
- Returns:
- value or
null
for none
-
setCarrier
public OrdersCustomBatchRequestEntryUpdateShipment setCarrier(String carrier)
The carrier handling the shipment. Not updated if missing. See `shipments[].carrier` in the
Orders resource representation for a list of acceptable values.
- Parameters:
carrier
- carrier or null
for none
-
getDeliveryDate
public String getDeliveryDate()
Date on which the shipment has been delivered, in ISO 8601 format. Optional and can be provided
only if `status` is `delivered`.
- Returns:
- value or
null
for none
-
setDeliveryDate
public OrdersCustomBatchRequestEntryUpdateShipment setDeliveryDate(String deliveryDate)
Date on which the shipment has been delivered, in ISO 8601 format. Optional and can be provided
only if `status` is `delivered`.
- Parameters:
deliveryDate
- deliveryDate or null
for none
-
getShipmentId
public String getShipmentId()
The ID of the shipment.
- Returns:
- value or
null
for none
-
setShipmentId
public OrdersCustomBatchRequestEntryUpdateShipment setShipmentId(String shipmentId)
The ID of the shipment.
- Parameters:
shipmentId
- shipmentId or null
for none
-
getStatus
public String getStatus()
New status for the shipment. Not updated if missing. Acceptable values are: - "`delivered`" -
"`undeliverable`" - "`readyForPickup`"
- Returns:
- value or
null
for none
-
setStatus
public OrdersCustomBatchRequestEntryUpdateShipment setStatus(String status)
New status for the shipment. Not updated if missing. Acceptable values are: - "`delivered`" -
"`undeliverable`" - "`readyForPickup`"
- Parameters:
status
- status or null
for none
-
getTrackingId
public String getTrackingId()
The tracking ID for the shipment. Not updated if missing.
- Returns:
- value or
null
for none
-
setTrackingId
public OrdersCustomBatchRequestEntryUpdateShipment setTrackingId(String trackingId)
The tracking ID for the shipment. Not updated if missing.
- Parameters:
trackingId
- trackingId or null
for none
-
set
public OrdersCustomBatchRequestEntryUpdateShipment set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public OrdersCustomBatchRequestEntryUpdateShipment clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy