Class: Google::Apis::ContentV2sandbox::OrdersShipLineItemsRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2sandbox::OrdersShipLineItemsRequest
- Defined in:
- generated/google/apis/content_v2sandbox/classes.rb,
generated/google/apis/content_v2sandbox/representations.rb,
generated/google/apis/content_v2sandbox/representations.rb
Instance Attribute Summary collapse
-
#carrier ⇒ String
The carrier handling the shipment.
-
#line_items ⇒ Array<Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment>
Line items to ship.
-
#operation_id ⇒ String
The ID of the operation.
-
#shipment_id ⇒ String
The ID of the shipment.
-
#tracking_id ⇒ String
The tracking id for the shipment.
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
1938 1939 1940 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 1938 def initialize(**args) update!(**args) end |
Instance Attribute Details
#carrier ⇒ String
The carrier handling the shipment.
Corresponds to the JSON property carrier
1916 1917 1918 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 1916 def carrier @carrier end |
#line_items ⇒ Array<Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment>
Line items to ship.
Corresponds to the JSON property lineItems
1921 1922 1923 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 1921 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
1926 1927 1928 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 1926 def operation_id @operation_id end |
#shipment_id ⇒ String
The ID of the shipment.
Corresponds to the JSON property shipmentId
1931 1932 1933 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 1931 def shipment_id @shipment_id end |
#tracking_id ⇒ String
The tracking id for the shipment.
Corresponds to the JSON property trackingId
1936 1937 1938 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 1936 def tracking_id @tracking_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1943 1944 1945 1946 1947 1948 1949 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 1943 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 |