commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
CartDiscountValueGiftLineItem.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
17 {
18  public const FIELD_PRODUCT = 'product';
19  public const FIELD_VARIANT_ID = 'variantId';
20  public const FIELD_SUPPLY_CHANNEL = 'supplyChannel';
21  public const FIELD_DISTRIBUTION_CHANNEL = 'distributionChannel';
22 
30  public function getProduct();
31 
38  public function getVariantId();
39 
46  public function getSupplyChannel();
47 
54  public function getDistributionChannel();
55 
59  public function setProduct(?ProductReference $product): void;
60 
64  public function setVariantId(?int $variantId): void;
65 
69  public function setSupplyChannel(?ChannelReference $supplyChannel): void;
70 
74  public function setDistributionChannel(?ChannelReference $distributionChannel): void;
75 }
setDistributionChannel(?ChannelReference $distributionChannel)