commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ProductSearch
ProductSearchResult.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ProductSearch
;
10
11
use
Commercetools\Api\Models\Product\ProductProjection
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ProductSearchResult
extends
JsonObject
16
{
17
public
const
FIELD_ID
=
'id'
;
18
public
const
FIELD_PRODUCT_PROJECTION
=
'productProjection'
;
19
public
const
FIELD_MATCHING_VARIANTS
=
'matchingVariants'
;
20
27
public
function
getId
();
28
35
public
function
getProductProjection
();
36
43
public
function
getMatchingVariants
();
44
48
public
function
setId
(?
string
$id): void;
49
53
public
function
setProductProjection
(?
ProductProjection
$productProjection): void;
54
58
public
function
setMatchingVariants
(?
ProductSearchMatchingVariants
$matchingVariants): void;
59
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Product\ProductProjection
Definition:
ProductProjection.php:23
Commercetools\Api\Models\ProductSearch\ProductSearchMatchingVariants
Definition:
ProductSearchMatchingVariants.php:15
Commercetools\Api\Models\ProductSearch\ProductSearchResult
Definition:
ProductSearchResult.php:16
Commercetools\Api\Models\ProductSearch\ProductSearchResult\setProductProjection
setProductProjection(?ProductProjection $productProjection)
Commercetools\Api\Models\ProductSearch\ProductSearchResult\getMatchingVariants
getMatchingVariants()
Commercetools\Api\Models\ProductSearch\ProductSearchResult\getId
getId()
Commercetools\Api\Models\ProductSearch\ProductSearchResult\getProductProjection
getProductProjection()
Commercetools\Api\Models\ProductSearch\ProductSearchResult\FIELD_PRODUCT_PROJECTION
const FIELD_PRODUCT_PROJECTION
Definition:
ProductSearchResult.php:18
Commercetools\Api\Models\ProductSearch\ProductSearchResult\setId
setId(?string $id)
Commercetools\Api\Models\ProductSearch\ProductSearchResult\FIELD_MATCHING_VARIANTS
const FIELD_MATCHING_VARIANTS
Definition:
ProductSearchResult.php:19
Commercetools\Api\Models\ProductSearch\ProductSearchResult\setMatchingVariants
setMatchingVariants(?ProductSearchMatchingVariants $matchingVariants)
Commercetools\Api\Models\ProductSearch\ProductSearchResult\FIELD_ID
const FIELD_ID
Definition:
ProductSearchResult.php:17
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ProductSearch
Definition:
ProductPagedSearchResponse.php:9
Generated by
1.9.1