commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
ReviewRatingSetMessage.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Api\Models\Common\Reference
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ReviewRatingSetMessage
extends
Message
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\Reference
Definition:
Reference.php:50
Commercetools\Api\Models\Message\Message
Definition:
Message.php:20
Commercetools\Api\Models\Message\ReviewRatingSetMessage
Definition:
ReviewRatingSetMessage.php:16
Commercetools\Api\Models\Message\ReviewRatingSetMessage\FIELD_OLD_RATING
const FIELD_OLD_RATING
Definition:
ReviewRatingSetMessage.php:17
Commercetools\Api\Models\Message\ReviewRatingSetMessage\setNewRating
setNewRating(?float $newRating)
Commercetools\Api\Models\Message\ReviewRatingSetMessage\setIncludedInStatistics
setIncludedInStatistics(?bool $includedInStatistics)
Commercetools\Api\Models\Message\ReviewRatingSetMessage\getOldRating
getOldRating()
Commercetools\Api\Models\Message\ReviewRatingSetMessage\setOldRating
setOldRating(?float $oldRating)
Commercetools\Api\Models\Message\ReviewRatingSetMessage\FIELD_INCLUDED_IN_STATISTICS
const FIELD_INCLUDED_IN_STATISTICS
Definition:
ReviewRatingSetMessage.php:19
Commercetools\Api\Models\Message\ReviewRatingSetMessage\getIncludedInStatistics
getIncludedInStatistics()
Commercetools\Api\Models\Message\ReviewRatingSetMessage\getNewRating
getNewRating()
Commercetools\Api\Models\Message\ReviewRatingSetMessage\FIELD_NEW_RATING
const FIELD_NEW_RATING
Definition:
ReviewRatingSetMessage.php:18
Commercetools\Api\Models\Message\ReviewRatingSetMessage\FIELD_TARGET
const FIELD_TARGET
Definition:
ReviewRatingSetMessage.php:20
Commercetools\Api\Models\Message\ReviewRatingSetMessage\setTarget
setTarget(?Reference $target)
Commercetools\Api\Models\Message\ReviewRatingSetMessage\getTarget
getTarget()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1