Browse Source

fix: 移除支付多余的接口

runphp 1 month ago
parent
commit
c572d66099
1 changed files with 0 additions and 28 deletions
  1. 0 28
      src/PaymentManager.php

+ 0 - 28
src/PaymentManager.php

@@ -75,34 +75,6 @@ readonly class PaymentManager
         return $this->getPaymentProvider($paymentID)->refundQuery($refundID);
     }
 
-    /**
-     * 获取指定支付方式
-     */
-    public function getPayment($paymentID): array
-    {
-        return [
-            // todo
-        ];
-    }
-
-    /**
-     * 开启支付方式
-     */
-    public function enablePayment($paymentID): bool
-    {
-        // todo
-        return true;
-    }
-
-    /**
-     * 关闭支付方式
-     */
-    public function disablePayment($paymentID): bool
-    {
-        // todo
-        return true;
-    }
-
     public function getPaymentProvider(string $paymentID): PaymentProviderInterface
     {
         $extension = $this->extensionManager->getExtension($paymentID);