<?php

namespace IpagWoocommerce;

final class TransactionCancelParser extends AbstractTransactionParser
{
    public function __construct()
    {
        parent::__construct();
        $this->endpoint = 'service/cancel';
        $this->requestTransformer = new TransactionCancelRequestTransformer();
    }

    public function parseRequest(array $request): array
    {
        return parent::parseRequest($request);
    }

    public function parseResponse($response): array
    {
        return parent::parseResponse($response);
    }
}