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