spentMoreThanMaximumAmount()) { throw new MaximumSpendException($coupon->maximum_spend); } return $next($coupon); } }