commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ProductSelection
AssignedProductReference.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ProductSelection
;
10
11
use
Commercetools\Api\Models\Product\ProductReference
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
AssignedProductReference
extends
JsonObject
16
{
17
public
const
FIELD_PRODUCT
=
'product'
;
18
public
const
FIELD_VARIANT_SELECTION
=
'variantSelection'
;
19
public
const
FIELD_VARIANT_EXCLUSION
=
'variantExclusion'
;
20
27
public
function
getProduct
();
28
37
public
function
getVariantSelection
();
38
47
public
function
getVariantExclusion
();
48
52
public
function
setProduct
(?
ProductReference
$product): void;
53
57
public
function
setVariantSelection
(?
ProductVariantSelection
$variantSelection): void;
58
62
public
function
setVariantExclusion
(?
ProductVariantExclusion
$variantExclusion): void;
63
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Product\ProductReference
Definition:
ProductReference.php:16
Commercetools\Api\Models\ProductSelection\AssignedProductReference
Definition:
AssignedProductReference.php:16
Commercetools\Api\Models\ProductSelection\AssignedProductReference\FIELD_PRODUCT
const FIELD_PRODUCT
Definition:
AssignedProductReference.php:17
Commercetools\Api\Models\ProductSelection\AssignedProductReference\getVariantSelection
getVariantSelection()
Commercetools\Api\Models\ProductSelection\AssignedProductReference\setProduct
setProduct(?ProductReference $product)
Commercetools\Api\Models\ProductSelection\AssignedProductReference\getProduct
getProduct()
Commercetools\Api\Models\ProductSelection\AssignedProductReference\setVariantExclusion
setVariantExclusion(?ProductVariantExclusion $variantExclusion)
Commercetools\Api\Models\ProductSelection\AssignedProductReference\getVariantExclusion
getVariantExclusion()
Commercetools\Api\Models\ProductSelection\AssignedProductReference\setVariantSelection
setVariantSelection(?ProductVariantSelection $variantSelection)
Commercetools\Api\Models\ProductSelection\AssignedProductReference\FIELD_VARIANT_SELECTION
const FIELD_VARIANT_SELECTION
Definition:
AssignedProductReference.php:18
Commercetools\Api\Models\ProductSelection\AssignedProductReference\FIELD_VARIANT_EXCLUSION
const FIELD_VARIANT_EXCLUSION
Definition:
AssignedProductReference.php:19
Commercetools\Api\Models\ProductSelection\ProductVariantExclusion
Definition:
ProductVariantExclusion.php:15
Commercetools\Api\Models\ProductSelection\ProductVariantSelection
Definition:
ProductVariantSelection.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ProductSelection
Definition:
AssignedProductReference.php:9
Generated by
1.9.1