target.apidocs.com.google.api.services.content.model.ShipmentTrackingInfo.html Maven / Gradle / Ivy
ShipmentTrackingInfo (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class ShipmentTrackingInfo
- 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.ShipmentTrackingInfo
-
public final class ShipmentTrackingInfo
extends com.google.api.client.json.GenericJson
Model definition for ShipmentTrackingInfo.
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
ShipmentTrackingInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ShipmentTrackingInfo
clone()
String
getCarrier()
The shipping carrier that handles the package.
String
getTrackingNumber()
The tracking number for the package.
ShipmentTrackingInfo
set(String fieldName,
Object value)
ShipmentTrackingInfo
setCarrier(String carrier)
The shipping carrier that handles the package.
ShipmentTrackingInfo
setTrackingNumber(String trackingNumber)
The tracking number for the package.
-
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
-
getCarrier
public String getCarrier()
The shipping carrier that handles the package. Acceptable values are: - "`boxtal`" - "`bpost`"
- "`chronopost`" - "`colisPrive`" - "`colissimo`" - "`cxt`" - "`deliv`" - "`dhl`" - "`dpd`" -
"`dynamex`" - "`eCourier`" - "`easypost`" - "`efw`" - "`fedex`" - "`fedexSmartpost`" -
"`geodis`" - "`gls`" - "`googleCourier`" - "`gsx`" - "`jdLogistics`" - "`laPoste`" -
"`lasership`" - "`manual`" - "`mpx`" - "`onTrac`" - "`other`" - "`tnt`" - "`uds`" - "`ups`" -
"`usps`"
- Returns:
- value or
null
for none
-
setCarrier
public ShipmentTrackingInfo setCarrier(String carrier)
The shipping carrier that handles the package. Acceptable values are: - "`boxtal`" - "`bpost`"
- "`chronopost`" - "`colisPrive`" - "`colissimo`" - "`cxt`" - "`deliv`" - "`dhl`" - "`dpd`" -
"`dynamex`" - "`eCourier`" - "`easypost`" - "`efw`" - "`fedex`" - "`fedexSmartpost`" -
"`geodis`" - "`gls`" - "`googleCourier`" - "`gsx`" - "`jdLogistics`" - "`laPoste`" -
"`lasership`" - "`manual`" - "`mpx`" - "`onTrac`" - "`other`" - "`tnt`" - "`uds`" - "`ups`" -
"`usps`"
- Parameters:
carrier
- carrier or null
for none
-
getTrackingNumber
public String getTrackingNumber()
The tracking number for the package.
- Returns:
- value or
null
for none
-
setTrackingNumber
public ShipmentTrackingInfo setTrackingNumber(String trackingNumber)
The tracking number for the package.
- Parameters:
trackingNumber
- trackingNumber or null
for none
-
set
public ShipmentTrackingInfo set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ShipmentTrackingInfo clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy