ok
Direktori : /home2/selectio/www/limpiar.in.net/vendor/iyzico/iyzipay-php/src/Iyzipay/Model/ |
Current File : /home2/selectio/www/limpiar.in.net/vendor/iyzico/iyzipay-php/src/Iyzipay/Model/Bkm.php |
<?php namespace Iyzipay\Model; use Iyzipay\Model\Mapper\BkmMapper; use Iyzipay\Options; use Iyzipay\Request\RetrieveBkmRequest; class Bkm extends PaymentResource { private $token; private $callbackUrl; public static function retrieve(RetrieveBkmRequest $request, Options $options) { $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/bkm/auth/detail", parent::getHttpHeaders($request, $options), $request->toJsonString()); return BkmMapper::create($rawResult)->jsonDecode()->mapBkm(new Bkm()); } 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; } }