class Google::Apis::ContentV2_1::OrderTrackingSignalShipmentLineItemMapping

Represents how many items are in the shipment for the given shipment_id and line_item_id.

Attributes

line_item_id[RW]

Required. The line item ID. Corresponds to the JSON property `lineItemId` @return [String]

quantity[RW]

Required. The line item quantity in the shipment. Corresponds to the JSON property `quantity` @return [Fixnum]

shipment_id[RW]

Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response. Corresponds to the JSON property `shipmentId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 6880
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 6885
def update!(**args)
  @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
  @quantity = args[:quantity] if args.key?(:quantity)
  @shipment_id = args[:shipment_id] if args.key?(:shipment_id)
end