commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
OrderEditDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
16 
17 interface OrderEditDraft extends JsonObject
18 {
19  public const FIELD_KEY = 'key';
20  public const FIELD_RESOURCE = 'resource';
21  public const FIELD_STAGED_ACTIONS = 'stagedActions';
22  public const FIELD_CUSTOM = 'custom';
23  public const FIELD_COMMENT = 'comment';
24  public const FIELD_DRY_RUN = 'dryRun';
25 
32  public function getKey();
33 
40  public function getResource();
41 
49  public function getStagedActions();
50 
57  public function getCustom();
58 
65  public function getComment();
66 
75  public function getDryRun();
76 
80  public function setKey(?string $key): void;
81 
85  public function setResource(?OrderReference $resource): void;
86 
90  public function setStagedActions(?StagedOrderUpdateActionCollection $stagedActions): void;
91 
95  public function setCustom(?CustomFieldsDraft $custom): void;
96 
100  public function setComment(?string $comment): void;
101 
105  public function setDryRun(?bool $dryRun): void;
106 }
setStagedActions(?StagedOrderUpdateActionCollection $stagedActions)