瀏覽代碼

fix: 移除支付多余的接口

runphp 1 月之前
父節點
當前提交
c572d66099
共有 1 個文件被更改,包括 0 次插入28 次删除
  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);