⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
public_html
/
vendor
/
razorpay
/
razorpay
/
src
/
View 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; } }