Attributes class

Attributes for CSS Product.

Constructors

Attributes({List<String>? additionalImageLinks, bool? adult, String? ageGroup, String? brand, List<Certification>? certifications, String? color, String? cppAdsRedirect, String? cppLink, String? cppMobileLink, String? customLabel0, String? customLabel1, String? customLabel2, String? customLabel3, String? customLabel4, String? description, List<String>? excludedDestinations, String? expirationDate, String? gender, String? googleProductCategory, String? gtin, String? headlineOfferCondition, HeadlineOfferInstallment? headlineOfferInstallment, String? headlineOfferLink, String? headlineOfferMobileLink, Price? headlineOfferPrice, Price? headlineOfferShippingPrice, HeadlineOfferSubscriptionCost? headlineOfferSubscriptionCost, Price? highPrice, String? imageLink, List<String>? includedDestinations, bool? isBundle, String? itemGroupId, Price? lowPrice, String? material, String? maxRating, String? minRating, String? mpn, String? multipack, String? numberOfOffers, String? pattern, String? pause, List<ProductDetail>? productDetails, ProductDimension? productHeight, List<String>? productHighlights, ProductDimension? productLength, List<String>? productTypes, ProductWeight? productWeight, ProductDimension? productWidth, double? rating, String? reviewCount, String? size, String? sizeSystem, List<String>? sizeTypes, String? title})
Attributes.fromJson(Map json_)

Properties

Additional URL of images of the item.
getter/setter pair
adult ↔ bool?
Set to true if the item is targeted towards adults.
getter/setter pair
ageGroup ↔ String?
Target age group of the item.
getter/setter pair
brand ↔ String?
Product Related Attributes.[14-36] Brand of the item.
getter/setter pair
certifications ↔ List<Certification>?
A list of certificates claimed by the CSS for the given product.
getter/setter pair
color ↔ String?
Color of the item.
getter/setter pair
cppAdsRedirect ↔ String?
Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
getter/setter pair
URL directly linking to your the Product Detail Page of the CSS.
getter/setter pair
URL for the mobile-optimized version of the Product Detail Page of the CSS.
getter/setter pair
customLabel0 ↔ String?
Custom label 0 for custom grouping of items in a Shopping campaign.
getter/setter pair
customLabel1 ↔ String?
Custom label 1 for custom grouping of items in a Shopping campaign.
getter/setter pair
customLabel2 ↔ String?
Custom label 2 for custom grouping of items in a Shopping campaign.
getter/setter pair
customLabel3 ↔ String?
Custom label 3 for custom grouping of items in a Shopping campaign.
getter/setter pair
customLabel4 ↔ String?
Custom label 4 for custom grouping of items in a Shopping campaign.
getter/setter pair
description ↔ String?
Description of the item.
getter/setter pair
excludedDestinations ↔ List<String>?
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
getter/setter pair
expirationDate ↔ String?
Date on which the item should expire, as specified upon insertion, in ISO 8601 format.
getter/setter pair
gender ↔ String?
Target gender of the item.
getter/setter pair
googleProductCategory ↔ String?
Google's category of the item (see Google product taxonomy).
getter/setter pair
gtin ↔ String?
Global Trade Item Number (GTIN) of the item.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
headlineOfferCondition ↔ String?
Condition of the headline offer.
getter/setter pair
headlineOfferInstallment ↔ HeadlineOfferInstallment?
Number and amount of installments to pay for an item.
getter/setter pair
Link to the headline offer.
getter/setter pair
Mobile Link to the headline offer.
getter/setter pair
headlineOfferPrice ↔ Price?
Headline Price of the CSS Product.
getter/setter pair
headlineOfferShippingPrice ↔ Price?
Headline Price of the CSS Product.
getter/setter pair
headlineOfferSubscriptionCost ↔ HeadlineOfferSubscriptionCost?
Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.
getter/setter pair
highPrice ↔ Price?
High Price of the CSS Product.
getter/setter pair
URL of an image of the item.
getter/setter pair
includedDestinations ↔ List<String>?
The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center).
getter/setter pair
isBundle ↔ bool?
Whether the item is a merchant-defined bundle.
getter/setter pair
itemGroupId ↔ String?
Shared identifier for all variants of the same product.
getter/setter pair
lowPrice ↔ Price?
Low Price of the CSS Product.
getter/setter pair
material ↔ String?
The material of which the item is made.
getter/setter pair
maxRating ↔ String?
Maximum rating score of the product.
getter/setter pair
minRating ↔ String?
Minimum rating score of the product.
getter/setter pair
mpn ↔ String?
Manufacturer Part Number (MPN) of the item.
getter/setter pair
multipack ↔ String?
The number of identical products in a merchant-defined multipack.
getter/setter pair
numberOfOffers ↔ String?
The number of CSS Products.
getter/setter pair
pattern ↔ String?
The item's pattern (e.g. polka dots).
getter/setter pair
pause ↔ String?
Publication of this item will be temporarily paused.
getter/setter pair
productDetails ↔ List<ProductDetail>?
Technical specification or additional product details.
getter/setter pair
productHeight ↔ ProductDimension?
The height of the product in the units provided.
getter/setter pair
productHighlights ↔ List<String>?
Bullet points describing the most relevant highlights of a product.
getter/setter pair
productLength ↔ ProductDimension?
The length of the product in the units provided.
getter/setter pair
productTypes ↔ List<String>?
Categories of the item (formatted as in products data specification).
getter/setter pair
productWeight ↔ ProductWeight?
The weight of the product in the units provided.
getter/setter pair
productWidth ↔ ProductDimension?
The width of the product in the units provided.
getter/setter pair
rating ↔ double?
Average rating score of the product.
getter/setter pair
reviewCount ↔ String?
Number of reviews of the product.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size ↔ String?
Size of the item.
getter/setter pair
sizeSystem ↔ String?
System in which the size is specified.
getter/setter pair
sizeTypes ↔ List<String>?
The cut of the item.
getter/setter pair
title ↔ String?
Title of the item.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited