Class: Google::Apis::ContentV2_1::OrdersShipLineItemsRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrdersShipLineItemsRequest
- 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
-
#line_items ⇒ Array<Google::Apis::ContentV2_1::OrderShipmentLineItemShipment>
Line items to ship.
-
#operation_id ⇒ String
The ID of the operation.
-
#shipment_group_id ⇒ String
ID of the shipment group.
-
#shipment_infos ⇒ Array<Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>
Shipment information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrdersShipLineItemsRequest
constructor
A new instance of OrdersShipLineItemsRequest.
-
#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) ⇒ OrdersShipLineItemsRequest
Returns a new instance of OrdersShipLineItemsRequest.
5999 6000 6001 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5999 def initialize(**args) update!(**args) end |
Instance Attribute Details
#line_items ⇒ Array<Google::Apis::ContentV2_1::OrderShipmentLineItemShipment>
Line items to ship.
Corresponds to the JSON property lineItems
5980 5981 5982 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5980 def line_items @line_items end |
#operation_id ⇒ String
The ID of the operation. Unique across all operations for a given order.
Corresponds to the JSON property operationId
5985 5986 5987 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5985 def operation_id @operation_id end |
#shipment_group_id ⇒ String
ID of the shipment group. Required for orders that use the orderinvoices
service.
Corresponds to the JSON property shipmentGroupId
5991 5992 5993 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5991 def shipment_group_id @shipment_group_id end |
#shipment_infos ⇒ Array<Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>
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
5997 5998 5999 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5997 def shipment_infos @shipment_infos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6004 6005 6006 6007 6008 6009 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6004 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 |