CommerceEvent.withImpression constructor
CommerceEvent.withImpression({
- required Impression impression,
Initializes an instance of MPCommerceEvent with a product impression.
Implementation
CommerceEvent.withImpression({required Impression impression})
: promotionActionType = null,
productActionType = null {
impressions.add(impression);
}