class Google::Apis::ContentV2::OrderShipment
Attributes
The carrier handling the shipment. Corresponds to the JSON property `carrier` @return [String]
Date on which the shipment has been created, in ISO 8601 format. Corresponds to the JSON property `creationDate` @return [String]
Date on which the shipment has been delivered, in ISO 8601 format. Present only if status is delievered Corresponds to the JSON property `deliveryDate` @return [String]
The id of the shipment. Corresponds to the JSON property `id` @return [String]
The line items that are shipped. Corresponds to the JSON property `lineItems` @return [Array<Google::Apis::ContentV2::OrderShipmentLineItemShipment>]
The status of the shipment. Corresponds to the JSON property `status` @return [String]
The tracking id for the shipment. Corresponds to the JSON property `trackingId` @return [String]
Public Class Methods
# File generated/google/apis/content_v2/classes.rb, line 3433 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/content_v2/classes.rb, line 3438 def update!(**args) @carrier = args[:carrier] if args.key?(:carrier) @creation_date = args[:creation_date] if args.key?(:creation_date) @delivery_date = args[:delivery_date] if args.key?(:delivery_date) @id = args[:id] if args.key?(:id) @line_items = args[:line_items] if args.key?(:line_items) @status = args[:status] if args.key?(:status) @tracking_id = args[:tracking_id] if args.key?(:tracking_id) end