class Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
Attributes
carrier[RW]
The carrier handling the shipment. See `shipments[].carrier` in the Orders resource representation for a list of acceptable values. Corresponds to the JSON property `carrier` @return [String]
shipment_id[RW]
Required. The ID of the shipment. This is assigned by the merchant and is unique to each 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 lib/google/apis/content_v2/classes.rb, line 6912 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/classes.rb, line 6917 def update!(**args) @carrier = args[:carrier] if args.key?(:carrier) @shipment_id = args[:shipment_id] if args.key?(:shipment_id) @tracking_id = args[:tracking_id] if args.key?(:tracking_id) end