value) === '') { throw new \DomainException('Coupon name cannot be empty.'); } } }