Class: Google::Apis::ContentV2_1::ShipmentTrackingInfo
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ShipmentTrackingInfo
- 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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ShipmentTrackingInfo
Returns a new instance of ShipmentTrackingInfo.
9431 9432 9433 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 9431 def initialize(**args) update!(**args) end |
Instance Attribute Details
#carrier ⇒ String
The shipping carrier that handles the package.
Corresponds to the JSON property carrier
9424 9425 9426 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 9424 def carrier @carrier end |
#tracking_number ⇒ String
The tracking number for the package.
Corresponds to the JSON property trackingNumber
9429 9430 9431 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 9429 def tracking_number @tracking_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9436 9437 9438 9439 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 9436 def update!(**args) @carrier = args[:carrier] if args.key?(:carrier) @tracking_number = args[:tracking_number] if args.key?(:tracking_number) end |