commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
AssignedProductReference.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
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 }
setVariantExclusion(?ProductVariantExclusion $variantExclusion)
setVariantSelection(?ProductVariantSelection $variantSelection)