class Google::Apis::ContentV2::ShipmentTrackingInfo
Attributes
carrier[RW]
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`” Corresponds to the JSON property `carrier` @return [String]
tracking_number[RW]
The tracking number for the package. Corresponds to the JSON property `trackingNumber` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 10617 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 10622 def update!(**args) @carrier = args[:carrier] if args.key?(:carrier) @tracking_number = args[:tracking_number] if args.key?(:tracking_number) end