PrimaryProductDataSource class
The primary data source for local and online products.
Constructors
-
PrimaryProductDataSource.new({String? contentLanguage, List<
String> ? countries, DefaultRule? defaultRule, List<Destination> ? destinations, String? feedLabel, bool? legacyLocal}) - PrimaryProductDataSource.fromJson(Map json_)
Properties
- contentLanguage ↔ String?
-
The two-letter ISO 639-1 language of the items in the data source.
getter/setter pair
-
countries
↔ List<
String> ? -
The countries where the items may be displayed.
getter/setter pair
- defaultRule ↔ DefaultRule?
-
Default rule management of the data source.
getter/setter pair
-
destinations
↔ List<
Destination> ? -
A list of destinations describing where products of the data source can be
shown.
getter/setter pair
- feedLabel ↔ String?
-
The feed label that is specified on the data source level.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- legacyLocal ↔ bool?
-
Determines whether the products of this data source are only targeting
local destinations.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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