📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv6.demodesign.com.tr
/
iyzipay-php-master
/
src
/
Iyzipay
/
Model
📝
Payment.php
← Geri Dön
<?php namespace Iyzipay\Model; use Iyzipay\Model\Mapper\PaymentMapper; use Iyzipay\Options; use Iyzipay\Request\CreatePaymentRequest; use Iyzipay\Request\RetrievePaymentRequest; class Payment extends PaymentResource { public static function create(CreatePaymentRequest $request, Options $options) { $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/auth", parent::getHttpHeaders($request, $options), $request->toJsonString()); return PaymentMapper::create($rawResult)->jsonDecode()->mapPayment(new Payment()); } public static function retrieve(RetrievePaymentRequest $request, Options $options) { $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/detail", parent::getHttpHeaders($request, $options), $request->toJsonString()); return PaymentMapper::create($rawResult)->jsonDecode()->mapPayment(new Payment()); } }
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula