Class: Google::Apis::ContentV2_1::ShipmentTrackingInfo
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ShipmentTrackingInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#carrier ⇒ String
The shipping carrier that handles the package.
-
#tracking_number ⇒ String
The tracking number for the package.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShipmentTrackingInfo
constructor
A new instance of ShipmentTrackingInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ShipmentTrackingInfo
Returns a new instance of ShipmentTrackingInfo.
12682 12683 12684 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 12682 def initialize(**args) update!(**args) end |
Instance Attribute Details
#carrier ⇒ String
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
12675 12676 12677 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 12675 def carrier @carrier end |
#tracking_number ⇒ String
The tracking number for the package.
Corresponds to the JSON property trackingNumber
12680 12681 12682 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 12680 def tracking_number @tracking_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12687 12688 12689 12690 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 12687 def update!(**args) @carrier = args[:carrier] if args.key?(:carrier) @tracking_number = args[:tracking_number] if args.key?(:tracking_number) end |