HEX
Server: nginx/1.27.1
System: Linux in-4 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: ilikadirect (1186)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v6964/gopalak/public_html/wp-content/plugins/woo-razorpay/razorpay-sdk/src/Dispute.php
<?php

namespace Razorpay\Api;

class Dispute extends Entity
{
    public function create($attributes = array())
    {
        return parent::create($attributes);
    }

    public function fetch($id)
    {
        return parent::fetch($id);
    }

    public function all($options = array())
    {
        return parent::all($options);
    }

    public function accept()
    {
        $entityUrl = $this->getEntityUrl(). $this->id. '/accept';

        return $this->request('POST', $entityUrl);
    }

    public function contest($attributes = array())
    {
        $entityUrl = $this->getEntityUrl(). $this->id. '/contest';

        return $this->request('PATCH', $entityUrl, $attributes);
    }
}