commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
DirectDiscount.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
16 interface DirectDiscount extends JsonObject
17 {
18  public const FIELD_ID = 'id';
19  public const FIELD_VALUE = 'value';
20  public const FIELD_TARGET = 'target';
21 
28  public function getId();
29 
36  public function getValue();
37 
45  public function getTarget();
46 
50  public function setId(?string $id): void;
51 
55  public function setValue(?CartDiscountValue $value): void;
56 
60  public function setTarget(?CartDiscountTarget $target): void;
61 }
setTarget(?CartDiscountTarget $target)