commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
CustomFieldsDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface CustomFieldsDraft extends JsonObject
15 {
16  public const FIELD_TYPE = 'type';
17  public const FIELD_FIELDS = 'fields';
18 
25  public function getType();
26 
33  public function getFields();
34 
38  public function setType(?TypeResourceIdentifier $type): void;
39 
43  public function setFields(?FieldContainer $fields): void;
44 }
setType(?TypeResourceIdentifier $type)