Iyzipay\Model\BasicPaymentPostAuth::create PHP Method

create() public static method

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/basic", parent::getHttpHeaders($request, $options), $request->toJsonString());
        return BasicPaymentPostAuthMapper::create($rawResult)->jsonDecode()->mapBasicPaymentPostAuth(new BasicPaymentPostAuth());
    }
BasicPaymentPostAuth