Recommendations and Documents

Recommendations


RecommendationResponse

Declared In

lib/model/content/recommendation_response.dart

Recommendation

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.

WARNING: This is a read-only class and it is not meant to be instantiated directly.

Declared In

lib/model/content/recommendation.dart

RecommendationResponse

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

DocumentsApiQueryType

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');
}
😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker