Iyzipay\Model\BasicThreedsPayment::create PHP Method

create() public static method

public static create ( CreateThreedsPaymentRequest $request, Options $options )
$request Iyzipay\Request\CreateThreedsPaymentRequest
$options Iyzipay\Options
    public static function create(CreateThreedsPaymentRequest $request, Options $options)
    {
        $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/3dsecure/auth/basic", parent::getHttpHeaders($request, $options), $request->toJsonString());
        return BasicThreedsPaymentMapper::create($rawResult)->jsonDecode()->mapBasicThreedsPayment(new BasicThreedsPayment());
    }
BasicThreedsPayment