<?php

namespace KrokedilSwedbankPayDeps\SwedbankPay\Api\Service\Paymentorder\V3\Request;

use KrokedilSwedbankPayDeps\SwedbankPay\Api\Service\Paymentorder\V3\Resource\Response\PaymentorderResponse;
use KrokedilSwedbankPayDeps\SwedbankPay\Api\Service\Request;
/**
 * Create a paymentOrder via Online Payments v3.1.
 */
class Purchase extends Request
{
    public function setup()
    {
        $this->setRequestMethod('POST');
        $this->setRequestEndpoint('/psp/paymentorders');
        $this->setServiceOperation('Purchase');
        $this->setResponseResourceFQCN(PaymentorderResponse::class);
    }
}
