ok
Direktori : /proc/self/root/home2/selectio/www/ramali.in/dashboard/api-firebase/razorpay/src/ |
Current File : //proc/self/root/home2/selectio/www/ramali.in/dashboard/api-firebase/razorpay/src/Subscription.php |
<?php namespace Razorpay\Api; class Subscription 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 cancel($attributes = array()) { $relativeUrl = $this->getEntityUrl() . $this->id . '/cancel'; return $this->request('POST', $relativeUrl, $attributes); } public function createAddon($attributes = array()) { $relativeUrl = $this->getEntityUrl() . $this->id . '/addons'; return $this->request('POST', $relativeUrl, $attributes); } }