3 declare(strict_types=1);
23 use DateTimeImmutable;
59 private $cartDiscounts;
65 private $cartPredicate;
77 private $maxApplications;
83 private $maxApplicationsPerCustomer;
162 return $this->cartDiscounts;
173 return $this->cartPredicate;
184 return $this->isActive;
195 return $this->maxApplications;
206 return $this->maxApplicationsPerCustomer;
217 return $this->groups;
228 return $this->validFrom;
239 return $this->validUntil;
250 return $this->custom instanceof
CustomBuilder ? $this->custom->
build() : $this->custom;
281 $this->description = $description;
303 $this->cartDiscounts = $cartDiscounts;
314 $this->cartPredicate = $cartPredicate;
325 $this->isActive = $isActive;
336 $this->maxApplications = $maxApplications;
347 $this->maxApplicationsPerCustomer = $maxApplicationsPerCustomer;
358 $this->groups = $groups;
369 $this->validFrom = $validFrom;
380 $this->validUntil = $validUntil;
391 $this->custom = $custom;
413 $this->description = $description;
424 $this->custom = $custom;
436 $this->cartDiscounts,
437 $this->cartPredicate,
439 $this->maxApplications,
440 $this->maxApplicationsPerCustomer,