commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
CartSetDirectDiscountsAction.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
15 {
16  public const FIELD_DISCOUNTS = 'discounts';
17 
28  public function getDiscounts();
29 
33  public function setDiscounts(?DirectDiscountDraftCollection $discounts): void;
34 }
setDiscounts(?DirectDiscountDraftCollection $discounts)