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/PaymentPage.php

<?php

namespace Razorpay\Api;

class PaymentPage extends Entity
{

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

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

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

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

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

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

Zerion Mini Shell 1.0