commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ReviewRatingSetMessage.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
16 {
17  public const FIELD_OLD_RATING = 'oldRating';
18  public const FIELD_NEW_RATING = 'newRating';
19  public const FIELD_INCLUDED_IN_STATISTICS = 'includedInStatistics';
20  public const FIELD_TARGET = 'target';
21 
28  public function getOldRating();
29 
36  public function getNewRating();
37 
44  public function getIncludedInStatistics();
45 
52  public function getTarget();
53 
57  public function setOldRating(?float $oldRating): void;
58 
62  public function setNewRating(?float $newRating): void;
63 
67  public function setIncludedInStatistics(?bool $includedInStatistics): void;
68 
72  public function setTarget(?Reference $target): void;
73 }