commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ProductSetAttributeAction.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
15 {
16  public const FIELD_VARIANT_ID = 'variantId';
17  public const FIELD_SKU = 'sku';
18  public const FIELD_NAME = 'name';
19  public const FIELD_VALUE = 'value';
20  public const FIELD_STAGED = 'staged';
21 
28  public function getVariantId();
29 
36  public function getSku();
37 
44  public function getName();
45 
63  public function getValue();
64 
71  public function getStaged();
72 
76  public function setVariantId(?int $variantId): void;
77 
81  public function setSku(?string $sku): void;
82 
86  public function setName(?string $name): void;
87 
91  public function setValue($value): void;
92 
96  public function setStaged(?bool $staged): void;
97 }