3 declare(strict_types=1);
23 use DateTimeImmutable;
59 private $cartDiscounts;
65 private $cartPredicate;
77 private $maxApplications;
83 private $maxApplicationsPerCustomer;
161 return $this->cartDiscounts;
172 return $this->cartPredicate;
183 return $this->isActive;
194 return $this->maxApplications;
205 return $this->maxApplicationsPerCustomer;
216 return $this->groups;
227 return $this->validFrom;
238 return $this->validUntil;
249 return $this->custom instanceof
CustomBuilder ? $this->custom->
build() : $this->custom;
280 $this->description = $description;
302 $this->cartDiscounts = $cartDiscounts;
313 $this->cartPredicate = $cartPredicate;
324 $this->isActive = $isActive;
335 $this->maxApplications = $maxApplications;
346 $this->maxApplicationsPerCustomer = $maxApplicationsPerCustomer;
357 $this->groups = $groups;
368 $this->validFrom = $validFrom;
379 $this->validUntil = $validUntil;
390 $this->custom = $custom;
412 $this->description = $description;
423 $this->custom = $custom;
435 $this->cartDiscounts,
436 $this->cartPredicate,
438 $this->maxApplications,
439 $this->maxApplicationsPerCustomer,