Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.118.126.51
<?php
namespace Razorpay\Api;
class Order extends Entity
{
/**
* @param $id Order id description
*/
public function create($attributes = array())
{
return parent::create($attributes);
}
public function fetch($id)
{
return parent::fetch($id);
}
public function all($options = array())
{
return parent::all($options);
}
public function payments()
{
$relativeUrl = $this->getEntityUrl().$this->id.'/payments';
return $this->request('GET', $relativeUrl);
}
}
|