class Google::Apis::ContentV2::OrdersShipLineItemsRequest
Attributes
carrier[RW]
The carrier handling the shipment. Corresponds to the JSON property `carrier` @return [String]
line_items[RW]
Line items to ship. Corresponds to the JSON property `lineItems` @return [Array<Google::Apis::ContentV2::OrderShipmentLineItemShipment>]
operation_id[RW]
The ID of the operation. Unique across all operations for a given order. Corresponds to the JSON property `operationId` @return [String]
shipment_id[RW]
The ID of the shipment. Corresponds to the JSON property `shipmentId` @return [String]
tracking_id[RW]
The tracking id for the shipment. Corresponds to the JSON property `trackingId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/content_v2/classes.rb, line 4361 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/content_v2/classes.rb, line 4366 def update!(**args) @carrier = args[:carrier] if args.key?(:carrier) @line_items = args[:line_items] if args.key?(:line_items) @operation_id = args[:operation_id] if args.key?(:operation_id) @shipment_id = args[:shipment_id] if args.key?(:shipment_id) @tracking_id = args[:tracking_id] if args.key?(:tracking_id) end