class Google::Apis::ContentV2_1::OrderLineItemProduct
Attributes
Brand of the item. Corresponds to the JSON property `brand` @return [String]
Condition or state of the item. Acceptable values are: - “`new`” - “` refurbished`” - “`used`” Corresponds to the JSON property `condition` @return [String]
The two-letter ISO 639-1 language code for the item. Corresponds to the JSON property `contentLanguage` @return [String]
Associated fees at order creation time. Corresponds to the JSON property `fees` @return [Array<Google::Apis::ContentV2_1::OrderLineItemProductFee>]
Global Trade Item Number (GTIN) of the item. Corresponds to the JSON property `gtin` @return [String]
The REST ID of the product. Corresponds to the JSON property `id` @return [String]
URL of an image of the item. Corresponds to the JSON property `imageLink` @return [String]
Shared identifier for all variants of the same product. Corresponds to the JSON property `itemGroupId` @return [String]
Manufacturer Part Number (MPN) of the item. Corresponds to the JSON property `mpn` @return [String]
An identifier of the item. Corresponds to the JSON property `offerId` @return [String]
Price
of the item. Corresponds to the JSON property `price` @return [Google::Apis::ContentV2_1::Price]
URL to the cached image shown to the user when order was placed. Corresponds to the JSON property `shownImage` @return [String]
The CLDR territory // code of the target country of the product. Corresponds to the JSON property `targetCountry` @return [String]
The title of the product. Corresponds to the JSON property `title` @return [String]
Variant attributes for the item. These are dimensions of the product, such as color, gender, material, pattern, and size. You can find a comprehensive list of variant attributes here. Corresponds to the JSON property `variantAttributes` @return [Array<Google::Apis::ContentV2_1::OrderLineItemProductVariantAttribute>]
Public Class Methods
# File lib/google/apis/content_v2_1/classes.rb, line 5895 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 5900 def update!(**args) @brand = args[:brand] if args.key?(:brand) @condition = args[:condition] if args.key?(:condition) @content_language = args[:content_language] if args.key?(:content_language) @fees = args[:fees] if args.key?(:fees) @gtin = args[:gtin] if args.key?(:gtin) @id = args[:id] if args.key?(:id) @image_link = args[:image_link] if args.key?(:image_link) @item_group_id = args[:item_group_id] if args.key?(:item_group_id) @mpn = args[:mpn] if args.key?(:mpn) @offer_id = args[:offer_id] if args.key?(:offer_id) @price = args[:price] if args.key?(:price) @shown_image = args[:shown_image] if args.key?(:shown_image) @target_country = args[:target_country] if args.key?(:target_country) @title = args[:title] if args.key?(:title) @variant_attributes = args[:variant_attributes] if args.key?(:variant_attributes) end