BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
app.imagivibe.com
/
vendor
/
iyzico
/
iyzipay-php
/
src
/
Iyzipay
/
Model
📤 Upload
📝 New File
📁 New Folder
Close
Editing: IyziupForm.php
<?php namespace Iyzipay\Model; use Iyzipay\IyzipayResource; use Iyzipay\Model\Mapper\IyziupFormMapper; use Iyzipay\Options; use Iyzipay\Request\RetrieveIyziupFormRequest; class IyziupForm extends IyzipayResource { private $orderResponseStatus; private $token; private $callbackUrl; private $consumer; private $shippingAddress; private $billingAddress; private $paymentDetail; public static function retrieve(RetrieveIyziupFormRequest $request, Options $options) { $url = "/v1/iyziup/form/order/retrieve"; $rawResult = parent::httpClient()->post($options->getBaseUrl() . $url, parent::getHttpHeadersV2($url, $request, $options), $request->toJsonString()); return IyziupFormMapper::create($rawResult)->jsonDecode()->mapIyziupForm(new IyziupForm()); } public function getOrderResponseStatus() { return $this->orderResponseStatus; } public function setOrderResponseStatus($orderResponseStatus) { $this->orderResponseStatus = $orderResponseStatus; } public function getToken() { return $this->token; } public function setToken($token) { $this->token = $token; } public function getCallbackUrl() { return $this->callbackUrl; } public function setCallbackUrl($callbackUrl) { $this->callbackUrl = $callbackUrl; } public function getConsumer() { return $this->consumer; } public function setConsumer($consumer) { $this->consumer = $consumer; } public function getShippingAddress() { return $this->shippingAddress; } public function setShippingAddress($shippingAddress) { $this->shippingAddress = $shippingAddress; } public function getBillingAddress() { return $this->billingAddress; } public function setBillingAddress($billingAddress) { $this->billingAddress = $billingAddress; } public function getPaymentDetail() { return $this->paymentDetail; } public function setPaymentDetail($paymentDetail) { $this->paymentDetail = $paymentDetail; } }
Save
Cancel