Feature: Moving Payment Methods to DB, adding fees, Transaction Updates, Refund Updates, General Updates to Payments
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Core\Payment\Events;
|
||||
|
||||
use Modules\Core\Payment\Models\PaymentMethod;
|
||||
|
||||
class PaymentMethodUpdated
|
||||
{
|
||||
/**
|
||||
* @param array<string, mixed> $old Snapshot of the changed attributes
|
||||
* before the update.
|
||||
*/
|
||||
public function __construct(
|
||||
public readonly PaymentMethod $method,
|
||||
public readonly array $old,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user