GoogleCloudRecommendationengineV1beta1ProductEventDetail class
ProductEventDetail captures user event information specific to retail products.
Constructors
-
GoogleCloudRecommendationengineV1beta1ProductEventDetail({String? cartId, String? listId, List<
GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy> ? pageCategories, List<GoogleCloudRecommendationengineV1beta1ProductDetail> ? productDetails, GoogleCloudRecommendationengineV1beta1PurchaseTransaction? purchaseTransaction, String? searchQuery}) - GoogleCloudRecommendationengineV1beta1ProductEventDetail.fromJson(Map _json)
Properties
- cartId ↔ String?
-
The id or name of the associated shopping cart.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- listId ↔ String?
-
Required for
add-to-list
andremove-from-list
events.getter/setter pair -
pageCategories
↔ List<
GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy> ? -
Required for
category-page-view
events.getter/setter pair -
productDetails
↔ List<
GoogleCloudRecommendationengineV1beta1ProductDetail> ? -
The main product details related to the event.
getter/setter pair
- purchaseTransaction ↔ GoogleCloudRecommendationengineV1beta1PurchaseTransaction?
-
A transaction represents the entire purchase transaction.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchQuery ↔ String?
-
At least one of search_query or page_categories is required for
search
events.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