Files
famous-ly4-ev/app-modules/payment/src/Events/RefundProcessed.php
T

19 lines
440 B
PHP
Raw Normal View History

<?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) {}
}