class Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment
Attributes
The carrier handling the shipment. Not updated if missing. See `shipments[]. carrier` in the Orders resource representation for a list of acceptable values. Corresponds to the JSON property `carrier` @return [String]
Date on which the shipment has been delivered, in ISO 8601 format. Optional and can be provided only if `status` is `delivered`. Corresponds to the JSON property `deliveryDate` @return [String]
The ID of the shipment. Corresponds to the JSON property `shipmentId` @return [String]
New status for the shipment. Not updated if missing. Acceptable values are: - “ `delivered`” - “`undeliverable`” - “`readyForPickup`” Corresponds to the JSON property `status` @return [String]
The tracking ID for the shipment. Not updated if missing. Corresponds to the JSON property `trackingId` @return [String]
Public Class Methods
# File lib/google/apis/content_v2/classes.rb, line 6999 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 7004 def update!(**args) @carrier = args[:carrier] if args.key?(:carrier) @delivery_date = args[:delivery_date] if args.key?(:delivery_date) @shipment_id = args[:shipment_id] if args.key?(:shipment_id) @status = args[:status] if args.key?(:status) @tracking_id = args[:tracking_id] if args.key?(:tracking_id) end