This repository was archived by the owner on Oct 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/Core/Request/Products/Command Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 55
66namespace Commercetools \Core \Request \Products \Command ;
77
8+ use Commercetools \Core \Model \Common \AssetCollection ;
89use Commercetools \Core \Model \Common \AttributeCollection ;
910use Commercetools \Core \Model \Common \Context ;
1011use Commercetools \Core \Model \Common \PriceDraftCollection ;
2829 * @method ProductAddVariantAction setKey(string $key = null)
2930 * @method ImageCollection getImages()
3031 * @method ProductAddVariantAction setImages(ImageCollection $images = null)
32+ * @method AssetCollection getAssets()
33+ * @method ProductAddVariantAction setAssets(AssetCollection $assets = null)
3134 */
3235class ProductAddVariantAction extends AbstractAction
3336{
@@ -40,7 +43,8 @@ public function fieldDefinitions()
4043 'attributes ' => [static ::TYPE => AttributeCollection::class],
4144 'staged ' => [static ::TYPE => 'bool ' ],
4245 'key ' => [static ::TYPE => 'string ' ],
43- 'images ' => [static ::TYPE => ImageCollection::class]
46+ 'images ' => [static ::TYPE => ImageCollection::class],
47+ 'assets ' => [static ::TYPE => AssetCollection::class],
4448 ];
4549 }
4650
You can’t perform that action at this time.
0 commit comments