src/Core/Model/Message/ProductDeletedMessage.php 1 location
|
@@ 41-48 (lines=8) @@
|
38 |
|
{ |
39 |
|
const MESSAGE_TYPE = 'ProductDeleted'; |
40 |
|
|
41 |
|
public function fieldDefinitions() |
42 |
|
{ |
43 |
|
$definitions = parent::fieldDefinitions(); |
44 |
|
$definitions['removedImageUrls'] = [static::TYPE => 'array']; |
45 |
|
$definitions['currentProjection'] = [static::TYPE => ProductProjection::class]; |
46 |
|
|
47 |
|
return $definitions; |
48 |
|
} |
49 |
|
} |
50 |
|
|
src/Core/Model/Message/ProductPublishedMessage.php 1 location
|
@@ 41-48 (lines=8) @@
|
38 |
|
{ |
39 |
|
const MESSAGE_TYPE = 'ProductPublished'; |
40 |
|
|
41 |
|
public function fieldDefinitions() |
42 |
|
{ |
43 |
|
$definitions = parent::fieldDefinitions(); |
44 |
|
$definitions['removedImageUrls'] = [static::TYPE => 'array']; |
45 |
|
$definitions['productProjection'] = [static::TYPE => ProductProjection::class]; |
46 |
|
|
47 |
|
return $definitions; |
48 |
|
} |
49 |
|
} |
50 |
|
|
src/Core/Model/Message/ProductVariantDeletedMessage.php 1 location
|
@@ 41-48 (lines=8) @@
|
38 |
|
{ |
39 |
|
const MESSAGE_TYPE = 'ProductVariantDeleted'; |
40 |
|
|
41 |
|
public function fieldDefinitions() |
42 |
|
{ |
43 |
|
$definitions = parent::fieldDefinitions(); |
44 |
|
$definitions['removedImageUrls'] = [static::TYPE => 'array']; |
45 |
|
$definitions['variant'] = [static::TYPE => ProductVariant::class]; |
46 |
|
|
47 |
|
return $definitions; |
48 |
|
} |
49 |
|
} |
50 |
|
|