| 12345678910111213141516171819 |
- <?php
-
- namespace App\Commerce\Payments\HitPay;
-
- use App\Commerce\Payments\PaymentException;
-
- /**
- * HitPay refused some payment methods: they are not switched on in the merchant's HitPay account.
- */
- final class HitPayRefusedMethods extends PaymentException
- {
- /**
- * @param list<string> $methods HitPay's names, such as "duitnow"
- */
- public function __construct(public readonly array $methods, string $message)
- {
- parent::__construct($message);
- }
- }
|