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/UCSInitialize.php |
<?php namespace Iyzipay\Model; use Iyzipay\Model\Mapper\UCSInitializeMapper; use Iyzipay\Options; use Iyzipay\Request\UCSInitializeRequest; class UCSInitialize extends UCSInitializeResource { public static function create(UCSInitializeRequest $request, Options $options) { $uri = $options->getBaseUrl() . "/v2/ucs/init"; $rawResult = parent::httpClient()->post($uri, parent::getHttpHeadersV2($uri, $request, $options), $request->toJsonString()); return UCSInitializeMapper::create($rawResult)->jsonDecode()->mapUCSInitialize(new UCSInitialize()); } }