commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ProductAddPriceAction.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_PRICE = 'price';
20  public const FIELD_STAGED = 'staged';
21 
28  public function getVariantId();
29 
36  public function getSku();
37 
44  public function getPrice();
45 
52  public function getStaged();
53 
57  public function setVariantId(?int $variantId): void;
58 
62  public function setSku(?string $sku): void;
63 
67  public function setPrice(?PriceDraft $price): void;
68 
72  public function setStaged(?bool $staged): void;
73 }