Iyzipay\Model\PaymentPostAuth::create PHP Метод

create() публичный статический Метод

public static create ( CreatePaymentPostAuthRequest $request, Options $options )
$request Iyzipay\Request\CreatePaymentPostAuthRequest
$options Iyzipay\Options
    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());
    }
PaymentPostAuth