commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
Variant.php
1<?php
2
3declare(strict_types=1);
10
13
14interface Variant extends JsonObject
15{
16
17 public const FIELD_ID = 'id';
18 public const FIELD_SKU = 'sku';
19 public const FIELD_KEY = 'key';
20
25 public function getId();
26
31 public function getSku();
32
37 public function getKey();
38
42 public function setId(?int $id): void;
43
47 public function setSku(?string $sku): void;
48
52 public function setKey(?string $key): void;
53}