class Google::Apis::ContentV2_1::OrderTrackingSignalLineItemDetails
The line items of the order.
Attributes
gtin[RW]
The Global Trade Item Number. Corresponds to the JSON property `gtin` @return [String]
line_item_id[RW]
Required. The ID for this line item. Corresponds to the JSON property `lineItemId` @return [String]
mpn[RW]
The manufacturer part number. Corresponds to the JSON property `mpn` @return [String]
product_id[RW]
Required. The Content API REST ID of the product, in the form channel: contentLanguage:targetCountry:offerId. Corresponds to the JSON property `productId` @return [String]
quantity[RW]
Required. The quantity of the line item in the order. Corresponds to the JSON property `quantity` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 6845 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 6850 def update!(**args) @gtin = args[:gtin] if args.key?(:gtin) @line_item_id = args[:line_item_id] if args.key?(:line_item_id) @mpn = args[:mpn] if args.key?(:mpn) @product_id = args[:product_id] if args.key?(:product_id) @quantity = args[:quantity] if args.key?(:quantity) end