<?php

declare(strict_types=1);

namespace Kylin\Pay\Shortcut\Paypal;

use Kylin\Pay\Artful\Contract\ShortcutInterface;
use Kylin\Pay\Artful\Plugin\AddPayloadBodyPlugin;
use Kylin\Pay\Artful\Plugin\ParserPlugin;
use Kylin\Pay\Artful\Plugin\StartPlugin;
use Kylin\Pay\Plugin\Paypal\V2\AddRadarPlugin;
use Kylin\Pay\Plugin\Paypal\V2\ObtainAccessTokenPlugin;
use Kylin\Pay\Plugin\Paypal\V2\Pay\RefundPlugin;
use Kylin\Pay\Plugin\Paypal\V2\ResponsePlugin;

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