commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ProductSearchResult.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
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 }
setProductProjection(?ProductProjection $productProjection)
setMatchingVariants(?ProductSearchMatchingVariants $matchingVariants)