<?php

declare(strict_types=1);

namespace Kylin\Pay\Shortcut\Jsb;

use Kylin\Pay\Artful\Contract\ShortcutInterface;
use Kylin\Pay\Artful\Plugin\ParserPlugin;
use Kylin\Pay\Plugin\Jsb\AddPayloadSignPlugin;
use Kylin\Pay\Plugin\Jsb\AddRadarPlugin;
use Kylin\Pay\Plugin\Jsb\Pay\Scan\RefundPlugin;
use Kylin\Pay\Plugin\Jsb\ResponsePlugin;
use Kylin\Pay\Plugin\Jsb\StartPlugin;
use Kylin\Pay\Plugin\Jsb\VerifySignaturePlugin;

class RefundShortcut implements ShortcutInterface
{
    public function getPlugins(array $params): array
    {
        return [
            StartPlugin::class,
            RefundPlugin::class,
            AddPayloadSignPlugin::class,
            AddRadarPlugin::class,
            VerifySignaturePlugin::class,
            ResponsePlugin::class,
            ParserPlugin::class,
        ];
    }
}
