ok

Mini Shell

Direktori : /home2/selectio/public_html/ecommerce-website/website/vendor/razorpay/razorpay/src/
Upload File :
Current File : /home2/selectio/public_html/ecommerce-website/website/vendor/razorpay/razorpay/src/Item.php

<?php

namespace Razorpay\Api;

class Item extends Entity
{

    public function create($attributes = array())
    {
        return parent::create($attributes);
    }

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

    public function edit($attributes = array())
    {
        $url = $this->getEntityUrl() . $this->id;

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

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

    public function delete()
    {
        $url = $this->getEntityUrl() . $this->id;

        return $this->request('DELETE', $url);
    }
}

Zerion Mini Shell 1.0