commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
OperationStates.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface OperationStates extends JsonObject
15 {
16  public const FIELD_PROCESSING = 'processing';
17  public const FIELD_VALIDATION_FAILED = 'validationFailed';
18  public const FIELD_UNRESOLVED = 'unresolved';
19  public const FIELD_WAIT_FOR_MASTER_VARIANT = 'waitForMasterVariant';
20  public const FIELD_IMPORTED = 'imported';
21  public const FIELD_REJECTED = 'rejected';
22  public const FIELD_CANCELED = 'canceled';
23 
30  public function getProcessing();
31 
38  public function getValidationFailed();
39 
46  public function getUnresolved();
47 
54  public function getWaitForMasterVariant();
55 
62  public function getImported();
63 
70  public function getRejected();
71 
78  public function getCanceled();
79 
83  public function setProcessing(?int $processing): void;
84 
88  public function setValidationFailed(?int $validationFailed): void;
89 
93  public function setUnresolved(?int $unresolved): void;
94 
98  public function setWaitForMasterVariant(?int $waitForMasterVariant): void;
99 
103  public function setImported(?int $imported): void;
104 
108  public function setRejected(?int $rejected): void;
109 
113  public function setCanceled(?int $canceled): void;
114 }