/home/techb158/ileadtechnology.com/vendor/razorpay/razorpay/src
Edit: /home/techb158/ileadtechnology.com/vendor/razorpay/razorpay/src/PaymentLink.php (1783B)
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);
}
}