ok

Mini Shell

Direktori : /home2/selectio/www/limpiar.in.net/vendor/iyzico/iyzipay-php/src/Iyzipay/Model/
Upload File :
Current File : /home2/selectio/www/limpiar.in.net/vendor/iyzico/iyzipay-php/src/Iyzipay/Model/PaymentPostAuth.php

<?php

namespace Iyzipay\Model;

use Iyzipay\Model\Mapper\PaymentPostAuthMapper;
use Iyzipay\Options;
use Iyzipay\Request\CreatePaymentPostAuthRequest;

class PaymentPostAuth extends PaymentResource
{
    public static function create(CreatePaymentPostAuthRequest $request, Options $options)
    {
        $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/postauth", parent::getHttpHeaders($request, $options), $request->toJsonString());
        return PaymentPostAuthMapper::create($rawResult)->jsonDecode()->mapPaymentPostAuth(new PaymentPostAuth());
    }
}

Zerion Mini Shell 1.0