One Hat Cyber Team
Your IP :
216.73.216.93
Server IP :
178.63.234.5
Server :
Linux whm01.ins-jo.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Server Software :
Apache
PHP Version :
8.1.32
Buat File
|
Buat Folder
Dir :
~
/
home
/
business
/
www
/
vendor
/
razorpay
/
razorpay
/
src
/
Edit File Name :
Account.php
<?php namespace Razorpay\Api; class Account extends Entity { public function create($attributes = array()) { $entityUrl = $this->getEntityUrl(); return $this->request('POST', $entityUrl, $attributes, 'v2'); } public function fetch($id) { $entityUrl = $this->getEntityUrl(); return $this->request('GET', $entityUrl . $id, null, 'v2'); } public function delete() { $entityUrl = $this->getEntityUrl(); return $this->request('DELETE', $entityUrl . $this->id, null, 'v2'); } public function edit($attributes = array()) { $url = $this->getEntityUrl() . $this->id; return $this->request('PATCH', $url, $attributes, 'v2'); } public function stakeholders() { $stakeholder = new Stakeholder(); $stakeholder['account_id'] = $this->id; return $stakeholder; } public function products() { $product = new Product(); $product['account_id'] = $this->id; return $product; } public function webhooks() { $webhook = new Webhook(); $webhook['account_id'] = $this->id; return $webhook; } }
Save