PaymentProvider.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. declare(strict_types=1);
  3. namespace SixShop\Lakala;
  4. use SixShop\Payment\Contracts\PaymentNotifyResult;
  5. use SixShop\Payment\Contracts\PaymentProviderInterface;
  6. use SixShop\Payment\Contracts\PaymentQueryResult;
  7. use SixShop\Payment\Contracts\PaymentRefundRequest;
  8. use SixShop\Payment\Contracts\PaymentRefundResult;
  9. use SixShop\Payment\Contracts\PaymentResponse;
  10. use SixShop\Payment\Enum\PaymentBizEnum;
  11. class PaymentProvider implements PaymentProviderInterface
  12. {
  13. #[\Override] public function create(array $order, PaymentBizEnum $bizType): PaymentResponse
  14. {
  15. throw new \Exception('Not implemented');
  16. }
  17. #[\Override] public function notify(array $request): PaymentNotifyResult
  18. {
  19. throw new \Exception('Not implemented');
  20. }
  21. #[\Override] public function query(int $recordID): PaymentQueryResult
  22. {
  23. throw new \Exception('Not implemented');
  24. }
  25. #[\Override] public function refund(int $recordID, PaymentRefundRequest $param): PaymentRefundResult
  26. {
  27. throw new \Exception('Not implemented');
  28. }
  29. #[\Override] public function refundQuery(int $refundID): PaymentRefundResult
  30. {
  31. throw new \Exception('Not implemented');
  32. }
  33. }