public function enrollmentChecks( ThreeDSecure\ThreeDEnrollment $enrollmentchecks )
    {
        $enrollmentchecks->setRequiredFields(array(
            'merchantRefNum',
            'amount',
            'currency',
            'card',
            'customerIp',
            'userAgent',
            'acceptHeader',
            'merchantUrl'
        ));
        $enrollmentchecks->checkRequiredFields();
        $request = new Request(array(
            'method' => Request::POST,
            'uri' => $this->prepareURI("/enrollmentchecks"),
            'body' => $enrollmentchecks
        ));

        $response = $this->client->processRequest($request);
        return new ThreeDSecure\ThreeDEnrollment($response);
    }
public function enrollmentChecks( ThreeDSecure\ThreeDEnrollment $enrollmentchecks )
    {
        $enrollmentchecks->setRequiredFields(array(
            'merchantRefNum',
            'amount',
            'currency',
            'card',
            'customerIp',
            'userAgent',
            'acceptHeader',
            'merchantUrl'
        ));
        $enrollmentchecks->checkRequiredFields();
        $request = new Request(array(
            'method' => Request::POST,
            'uri' => $this->prepareURI("/enrollmentchecks"),
            'body' => $enrollmentchecks
        ));

        $response = $this->client->processRequest($request);
        return new ThreeDSecure\ThreeDEnrollment($response);
    }
public function enrollmentChecks ( ThreeDSecure \ ThreeDEnrollment $ enrollmentchecks ) { $ enrollmentchecks -> setRequiredFields ( array ( 'merchantRefNum' , 'amount' , 'currency' , 'card' , 'customerIp' , 'userAgent' , 'acceptHeader' , 'merchantUrl' ) ) ; $ enrollmentchecks -> checkRequiredFields ( ) ; $ request = new Request ( array ( 'method' => Request :: POST , 'uri' => $ this -> prepareURI ( "/enrollmentchecks" ) , 'body' => $ enrollmentchecks ) ) ; $ response = $ this -> client -> processRequest ( $ request ) ; return new ThreeDSecure \ ThreeDEnrollment ( $ response ) ; }
Submit an Enrollment lookup Request
@param \Paysafe\ThreeDSecure\ThreeDEnrollment $enrollmentchecks
@return \Paysafe\ThreeDSecure\ThreeDEnrollment
@throws PaysafeException
Submit an Enrollment lookup Request