commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ApprovalRuleDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface ApprovalRuleDraft extends JsonObject
15 {
16  public const FIELD_KEY = 'key';
17  public const FIELD_NAME = 'name';
18  public const FIELD_DESCRIPTION = 'description';
19  public const FIELD_STATUS = 'status';
20  public const FIELD_PREDICATE = 'predicate';
21  public const FIELD_APPROVERS = 'approvers';
22  public const FIELD_REQUESTERS = 'requesters';
23 
30  public function getKey();
31 
38  public function getName();
39 
46  public function getDescription();
47 
54  public function getStatus();
55 
62  public function getPredicate();
63 
70  public function getApprovers();
71 
78  public function getRequesters();
79 
83  public function setKey(?string $key): void;
84 
88  public function setName(?string $name): void;
89 
93  public function setDescription(?string $description): void;
94 
98  public function setStatus(?string $status): void;
99 
103  public function setPredicate(?string $predicate): void;
104 
108  public function setApprovers(?ApproverHierarchyDraft $approvers): void;
109 
113  public function setRequesters(?RuleRequesterDraftCollection $requesters): void;
114 }
setApprovers(?ApproverHierarchyDraft $approvers)
setRequesters(?RuleRequesterDraftCollection $requesters)