commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Order
Hit.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Order
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Order\Hit
Definition:
Hit.php:15
Commercetools\Api\Models\Order\Hit\FIELD_VERSION
const FIELD_VERSION
Definition:
Hit.php:17
Commercetools\Api\Models\Order\Hit\getId
getId()
Commercetools\Api\Models\Order\Hit\FIELD_RELEVANCE
const FIELD_RELEVANCE
Definition:
Hit.php:18
Commercetools\Api\Models\Order\Hit\FIELD_ID
const FIELD_ID
Definition:
Hit.php:16
Commercetools\Api\Models\Order\Hit\setId
setId(?string $id)
Commercetools\Api\Models\Order\Hit\setVersion
setVersion(?int $version)
Commercetools\Api\Models\Order\Hit\getVersion
getVersion()
Commercetools\Api\Models\Order\Hit\setRelevance
setRelevance(?float $relevance)
Commercetools\Api\Models\Order\Hit\getRelevance
getRelevance()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Order
Definition:
CustomLineItemImportDraft.php:9
Generated by
1.9.1