commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ProductSelection
ProductSelectionAssignment.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
ProductSelectionAssignment
extends
JsonObject
16
{
17
public
const
FIELD_PRODUCT
=
'product'
;
18
public
const
FIELD_PRODUCT_SELECTION
=
'productSelection'
;
19
public
const
FIELD_VARIANT_SELECTION
=
'variantSelection'
;
20
public
const
FIELD_VARIANT_EXCLUSION
=
'variantExclusion'
;
21
28
public
function
getProduct
();
29
36
public
function
getProductSelection
();
37
46
public
function
getVariantSelection
();
47
56
public
function
getVariantExclusion
();
57
61
public
function
setProduct
(?
ProductReference
$product): void;
62
66
public
function
setProductSelection
(?
ProductSelectionReference
$productSelection): void;
67
71
public
function
setVariantSelection
(?
ProductVariantSelection
$variantSelection): void;
72
76
public
function
setVariantExclusion
(?
ProductVariantExclusion
$variantExclusion): void;
77
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Product\ProductReference
Definition:
ProductReference.php:16
Commercetools\Api\Models\ProductSelection\ProductSelectionAssignment
Definition:
ProductSelectionAssignment.php:16
Commercetools\Api\Models\ProductSelection\ProductSelectionAssignment\setVariantSelection
setVariantSelection(?ProductVariantSelection $variantSelection)
Commercetools\Api\Models\ProductSelection\ProductSelectionAssignment\setProductSelection
setProductSelection(?ProductSelectionReference $productSelection)
Commercetools\Api\Models\ProductSelection\ProductSelectionAssignment\setProduct
setProduct(?ProductReference $product)
Commercetools\Api\Models\ProductSelection\ProductSelectionAssignment\getVariantExclusion
getVariantExclusion()
Commercetools\Api\Models\ProductSelection\ProductSelectionAssignment\setVariantExclusion
setVariantExclusion(?ProductVariantExclusion $variantExclusion)
Commercetools\Api\Models\ProductSelection\ProductSelectionAssignment\getVariantSelection
getVariantSelection()
Commercetools\Api\Models\ProductSelection\ProductSelectionAssignment\getProduct
getProduct()
Commercetools\Api\Models\ProductSelection\ProductSelectionAssignment\FIELD_PRODUCT_SELECTION
const FIELD_PRODUCT_SELECTION
Definition:
ProductSelectionAssignment.php:18
Commercetools\Api\Models\ProductSelection\ProductSelectionAssignment\FIELD_PRODUCT
const FIELD_PRODUCT
Definition:
ProductSelectionAssignment.php:17
Commercetools\Api\Models\ProductSelection\ProductSelectionAssignment\FIELD_VARIANT_EXCLUSION
const FIELD_VARIANT_EXCLUSION
Definition:
ProductSelectionAssignment.php:20
Commercetools\Api\Models\ProductSelection\ProductSelectionAssignment\getProductSelection
getProductSelection()
Commercetools\Api\Models\ProductSelection\ProductSelectionAssignment\FIELD_VARIANT_SELECTION
const FIELD_VARIANT_SELECTION
Definition:
ProductSelectionAssignment.php:19
Commercetools\Api\Models\ProductSelection\ProductSelectionReference
Definition:
ProductSelectionReference.php:16
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