PATH:
home
/
lab2454c
/
sportsnovate.com
/
backups
/
core
/
vendor
/
razorpay
/
razorpay
/
src
<?php namespace Razorpay\Api; class VirtualAccount extends Entity { 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 close() { $relativeUrl = $this->getEntityUrl() . $this->id; $data = array( 'status' => 'closed' ); return $this->request('PATCH', $relativeUrl, $data); } public function payments() { $relativeUrl = $this->getEntityUrl() . $this->id . '/payments'; return $this->request('GET', $relativeUrl); } }
[-] VirtualAccount.php
[edit]
[-] ArrayableInterface.php
[edit]
[+]
..
[-] Settlement.php
[edit]
[-] Resource.php
[edit]
[-] Request.php
[edit]
[-] Api.php
[edit]
[-] Plan.php
[edit]
[-] Refund.php
[edit]
[-] Card.php
[edit]
[-] Order.php
[edit]
[-] Subscription.php
[edit]
[-] Token.php
[edit]
[-] Customer.php
[edit]
[-] PaymentPage.php
[edit]
[-] Utility.php
[edit]
[+]
Errors
[-] Transfer.php
[edit]
[-] Addon.php
[edit]
[-] Payment.php
[edit]
[-] Invoice.php
[edit]
[-] Webhook.php
[edit]
[-] Collection.php
[edit]
[-] Entity.php
[edit]