commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Review
ReviewSetRatingAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Review
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
ReviewSetRatingAction
extends
ReviewUpdateAction
15
{
16
public
const
FIELD_RATING
=
'rating'
;
17
24
public
function
getRating
();
25
29
public
function
setRating
(?
int
$rating): void;
30
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Review\ReviewSetRatingAction
Definition:
ReviewSetRatingAction.php:15
Commercetools\Api\Models\Review\ReviewSetRatingAction\getRating
getRating()
Commercetools\Api\Models\Review\ReviewSetRatingAction\setRating
setRating(?int $rating)
Commercetools\Api\Models\Review\ReviewSetRatingAction\FIELD_RATING
const FIELD_RATING
Definition:
ReviewSetRatingAction.php:16
Commercetools\Api\Models\Review\ReviewUpdateAction
Definition:
ReviewUpdateAction.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Review
Definition:
Review.php:9
Generated by
1.9.1