ProductCluster class

Product cluster fields.

A product cluster is a grouping for different offers that represent the same product. Values are only set for fields requested explicitly in the request's search query.

Constructors

ProductCluster({String? brand, String? brandInventoryStatus, String? categoryL1, String? categoryL2, String? categoryL3, String? categoryL4, String? categoryL5, String? inventoryStatus, String? title, List<String>? variantGtins})
ProductCluster.fromJson(Map json_)

Properties

brand String?
Brand of the product cluster.
getter/setter pair
brandInventoryStatus String?
Tells if there is at least one product of the brand currently IN_STOCK in your product feed across multiple countries, all products are OUT_OF_STOCK in your product feed, or NOT_IN_INVENTORY.
getter/setter pair
categoryL1 String?
Product category (1st level) of the product cluster, represented in Google's product taxonomy.
getter/setter pair
categoryL2 String?
Product category (2nd level) of the product cluster, represented in Google's product taxonomy.
getter/setter pair
categoryL3 String?
Product category (3rd level) of the product cluster, represented in Google's product taxonomy.
getter/setter pair
categoryL4 String?
Product category (4th level) of the product cluster, represented in Google's product taxonomy.
getter/setter pair
categoryL5 String?
Product category (5th level) of the product cluster, represented in Google's product taxonomy.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inventoryStatus String?
Tells whether the product cluster is IN_STOCK in your product feed across multiple countries, OUT_OF_STOCK in your product feed, or NOT_IN_INVENTORY at all.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
Title of the product cluster.
getter/setter pair
variantGtins List<String>?
GTINs of example variants of the product cluster.
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