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/InstallmentHtml.php |
<?php namespace Iyzipay\Model; use Iyzipay\IyzipayResource; use Iyzipay\Model\Mapper\InstallmentHtmlMapper; use Iyzipay\Options; use Iyzipay\Request\RetrieveInstallmentInfoRequest; class InstallmentHtml extends IyzipayResource { private $htmlContent; public static function retrieve(RetrieveInstallmentInfoRequest $request, Options $options) { $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/iyzipos/installment/html/horizontal", parent::getHttpHeaders($request, $options), $request->toJsonString()); return InstallmentHtmlMapper::create($rawResult)->jsonDecode()->mapInstallmentHtml(new InstallmentHtml()); } public function getHtmlContent() { return $this->htmlContent; } public function setHtmlContent($htmlContent) { $this->htmlContent = $htmlContent; } }