<?php

namespace KrokedilSwedbankPayDeps\SwedbankPay\Api\Service\Trustly\Request;

use KrokedilSwedbankPayDeps\SwedbankPay\Api\Service\Payment\Resource\Response\PaymentObject;
use KrokedilSwedbankPayDeps\SwedbankPay\Api\Service\Request;
class GetPayment extends Request
{
    public function setup()
    {
        $this->setRequestMethod('GET');
        $this->setRequestEndpoint('/psp/trustly/payments/%s');
        $this->setResponseResourceFQCN(PaymentObject::class);
    }
}
