commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ReviewStateTransitionMessage.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
17 {
18  public const FIELD_OLD_STATE = 'oldState';
19  public const FIELD_NEW_STATE = 'newState';
20  public const FIELD_OLD_INCLUDED_IN_STATISTICS = 'oldIncludedInStatistics';
21  public const FIELD_NEW_INCLUDED_IN_STATISTICS = 'newIncludedInStatistics';
22  public const FIELD_TARGET = 'target';
23  public const FIELD_FORCE = 'force';
24 
31  public function getOldState();
32 
39  public function getNewState();
40 
47  public function getOldIncludedInStatistics();
48 
55  public function getNewIncludedInStatistics();
56 
63  public function getTarget();
64 
71  public function getForce();
72 
76  public function setOldState(?StateReference $oldState): void;
77 
81  public function setNewState(?StateReference $newState): void;
82 
86  public function setOldIncludedInStatistics(?bool $oldIncludedInStatistics): void;
87 
91  public function setNewIncludedInStatistics(?bool $newIncludedInStatistics): void;
92 
96  public function setTarget(?Reference $target): void;
97 
101  public function setForce(?bool $force): void;
102 }