commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ProductAddAssetAction.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
16 {
17  public const FIELD_VARIANT_ID = 'variantId';
18  public const FIELD_SKU = 'sku';
19  public const FIELD_STAGED = 'staged';
20  public const FIELD_ASSET = 'asset';
21  public const FIELD_POSITION = 'position';
22 
29  public function getVariantId();
30 
37  public function getSku();
38 
45  public function getStaged();
46 
53  public function getAsset();
54 
61  public function getPosition();
62 
66  public function setVariantId(?int $variantId): void;
67 
71  public function setSku(?string $sku): void;
72 
76  public function setStaged(?bool $staged): void;
77 
81  public function setAsset(?AssetDraft $asset): void;
82 
86  public function setPosition(?int $position): void;
87 }