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;
|
||||
|
||||
class PaymentMethodsReordered
|
||||
{
|
||||
/**
|
||||
* @param array<int, int> $ids PaymentMethod ids, in their new order —
|
||||
* the same array Filament's own reorderTable() already wrote to the
|
||||
* database directly (bulk SQL, not PaymentMethodService::update() —
|
||||
* see PaymentMethodResource's own docblock for why this is the one
|
||||
* PaymentMethod write that doesn't go through the service).
|
||||
*/
|
||||
public function __construct(
|
||||
public readonly array $ids,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user