¨4.0.1¨

This commit is contained in:
¨NW¨
2023-12-03 14:07:47 +00:00
parent c08b36d1b6
commit f35052522d
1112 changed files with 43019 additions and 24987 deletions

View File

@@ -3,30 +3,34 @@
namespace Modules\Coupon\Exceptions;
use Exception;
use Modules\Support\Money;
use Illuminate\Http\Response;
class MinimumSpendException extends Exception
{
/**
* The amount that need to spend.
*
* @var \Modules\Support\Money
* @var Money
*/
private $money;
/**
* Create a new instance of the exceptions
*
* @param \Modules\Support\Money $money
* @param Money $money
*/
public function __construct($money)
{
$this->money = $money;
}
/**
* Render the exception into an HTTP response.
*
* @return \Illuminate\Http\Response
* @return Response
*/
public function render()
{