ok

Mini Shell

Direktori : /home2/selectio/public_html/y1jobportal.in/razorpay-php-2.9.0/src/
Upload File :
Current File : //home2/selectio/public_html/y1jobportal.in/razorpay-php-2.9.0/src/Addon.php

<?php

namespace Razorpay\Api;

class Addon extends Entity
{
    // To create an Addon,
    // use the createAddon method of the Subscription class

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

    public function delete()
    {
        $entityUrl = $this->getEntityUrl();

        return $this->request('DELETE', $entityUrl . $this->id);
    }

    public function fetchAll($attributes = array())
    {
        $entityUrl = $this->getEntityUrl(); 

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

Zerion Mini Shell 1.0