File manager - Edit - /var/www/payraty/hris/vendor/lahirulhr/laravel-payhere/src/Api/Refund.php
Back
<?php namespace Lahirulhr\PayHere\Api; use Lahirulhr\PayHere\Helpers\PayHereRestClient; class Refund extends PayHereRestClient { protected $url = 'merchant/v1/payment/refund'; public function makePaymentRefund(string $payment_id) { $this->form_data['payment_id'] = $payment_id; return $this; } public function makePaymentAuthorizationRefund(string $authorization_token) { $this->form_data['authorization_token'] = $authorization_token; return $this; } public function note(string $note) { $this->form_data['description'] = $note; return $this; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.16 |
proxy
|
phpinfo
|
Settings