Recommendations and Documents
Recommendations
RecommendationResponse
Declared In
lib/model/content/recommendation_response.dart
Related To
Declaration
class RecommendationResponse
Properties
Property | Type | Optional | Description |
---|---|---|---|
name | String |
no | Recommendations name |
campaignHash | String |
no | Campaign Hash |
campaignID | String |
no | Campaign ID |
items | List<Recommendation> |
no | List of recommendation items |
Recommendation
Model representating a recommendation item data.
Declared In
lib/model/content/recommendation.dart
Related To
Declaration
class Recommendation
Properties
Property | Type | Optional | Description |
---|---|---|---|
itemID | String |
no | Product’s GTIN |
attributes | HashMap<dynamic, dynamic> |
no | Product’s recommendation attributes |
RecommendationOptions
Declared In
lib/model/content/recommendation_options.dart
Declaration
class RecommendationOptions
Properties
Property | Type | Optional | Description |
---|---|---|---|
slug | String |
no | Unique identifier of a specific recommendation |
productID | String |
no | Product ID attribute |
Documents
DocumentsApiQuery
The object to set parameters easily for fetching documents from API.
Declared In
lib/model/content/documents_api_query.dart
Related To
Declaration
class DocumentsApiQuery
Properties
Property | Type | Optional | Default | Description |
---|---|---|---|---|
type | DocumentsApiQueryType |
no | .bySchema | Query type |
typeValue | String |
no | [] | Value for query type |
version | String |
yes | [] | Specifies document version |
Initializers
DocumentsApiQuery(typeValue: '')
DocumentsApiQueryType
Declared In
lib/enums/content/documents_api_query_type.dart
Declaration
enum DocumentsApiQueryType {
schema('by-schema');
}