芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/bit-alphas-ltd.com/user/project/vendor/razorpay/razorpay/src/PaymentLink.php
getEntityUrl() . $this->id . '/cancel'; return $this->request(Requests::POST, $url); } public function edit($attributes = array()) { $relativeUrl = $this->getEntityUrl() . $this->id; $attributes = json_encode($attributes); Request::addHeader('Content-Type', 'application/json'); return $this->request('PATCH', $relativeUrl, $attributes); } /** * Send/re-send notification with short url by given medium * * @param $medium - sms|email * * @return array */ public function notifyBy($medium) { $url = $this->getEntityUrl() . $this->id . '/notify_by/' . $medium; $r = new Request(); return $r->request(Requests::POST, $url); } }