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
/
View File Name :
Order.php
<?php namespace Razorpay\Api; use Requests; class Order extends Entity { /** * @param $id Order id description */ public function create($attributes = array()) { $attributes = json_encode($attributes); Request::addHeader('Content-Type', 'application/json'); return parent::create($attributes); } public function fetch($id) { return parent::fetch($id); } public function all($options = array()) { return parent::all($options); } public function edit($attributes = array()) { $url = $this->getEntityUrl() . $this->id; return $this->request('PATCH', $url, $attributes); } public function payments() { $relativeUrl = $this->getEntityUrl().$this->id.'/payments'; return $this->request('GET', $relativeUrl); } public function transfers($options = array()) { $relativeUrl = $this->getEntityUrl().$this->id; return $this->request('GET', $relativeUrl, $options); } }