class Google::Apis::ContentV2_1::OrdersShipLineItemsRequest
Attributes
line_items[RW]
Line items to ship. Corresponds to the JSON property `lineItems` @return [Array<Google::Apis::ContentV2_1::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_group_id[RW]
ID of the shipment group. Required for orders that use the orderinvoices service. Corresponds to the JSON property `shipmentGroupId` @return [String]
shipment_infos[RW]
Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs). Corresponds to the JSON property `shipmentInfos` @return [Array<Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 8812 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 8817 def update!(**args) @line_items = args[:line_items] if args.key?(:line_items) @operation_id = args[:operation_id] if args.key?(:operation_id) @shipment_group_id = args[:shipment_group_id] if args.key?(:shipment_group_id) @shipment_infos = args[:shipment_infos] if args.key?(:shipment_infos) end