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