BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
app.imagivibe.com
/
vendor
/
iyzico
/
iyzipay-php
/
src
/
Iyzipay
/
Request
📤 Upload
📝 New File
📁 New Folder
Close
Editing: CreateRefundToBalanceRequest.php
<?php namespace Iyzipay\Request; use Iyzipay\JsonBuilder; use Iyzipay\Request; use Iyzipay\RequestStringBuilder; class CreateRefundToBalanceRequest extends Request { private $paymentId; private $callbackUrl; public function getPaymentId() { return $this->paymentId; } public function setPaymentId($paymentId) { $this->paymentId = $paymentId; } public function getCallbackUrl() { return $this->callbackUrl; } public function setCallbackUrl($callbackUrl) { $this->callbackUrl = $callbackUrl; } public function getJsonObject() { return JsonBuilder::fromJsonObject(parent::getJsonObject()) ->add("paymentId", $this->getPaymentId()) ->add("callbackUrl", $this->getCallbackUrl()) ->getObject(); } public function toPKIRequestString() { return RequestStringBuilder::create() ->appendSuper(parent::toPKIRequestString()) ->append("paymentId", $this->getPaymentId()) ->append("callbackUrl", $this->getCallbackUrl()) ->getRequestString(); } }
Save
Cancel