commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
DirectDiscountDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
17 {
18  public const FIELD_VALUE = 'value';
19  public const FIELD_TARGET = 'target';
20 
27  public function getValue();
28 
36  public function getTarget();
37 
41  public function setValue(?CartDiscountValueDraft $value): void;
42 
46  public function setTarget(?CartDiscountTarget $target): void;
47 }
setValue(?CartDiscountValueDraft $value)