commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Hit.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface Hit extends JsonObject
15 {
16  public const FIELD_ID = 'id';
17  public const FIELD_VERSION = 'version';
18  public const FIELD_RELEVANCE = 'relevance';
19 
26  public function getId();
27 
34  public function getVersion();
35 
42  public function getRelevance();
43 
47  public function setId(?string $id): void;
48 
52  public function setVersion(?int $version): void;
53 
57  public function setRelevance(?float $relevance): void;
58 }