19 lines
440 B
PHP
19 lines
440 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Modules\Payment\Events;
|
||
|
|
|
||
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
||
|
|
use Modules\Payment\Models\Refund;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Dispatched once a Refund completes successfully — gateways/actions stay
|
||
|
|
* ignorant of Booking, so booking-status changes react to this event
|
||
|
|
* instead (domain.md §6, see MarkBookingRefunded).
|
||
|
|
*/
|
||
|
|
class RefundProcessed
|
||
|
|
{
|
||
|
|
use Dispatchable;
|
||
|
|
|
||
|
|
public function __construct(public Refund $refund) {}
|
||
|
|
}
|