public function preApproval(
        $longAccessToken,
        HpsOrderData $orderData = null
    ) {
        $payload = array(
            'LongAccessToken' => $longAccessToken,
            'SubMsgType' => 'cmpi_preapproval',
            'TransactionType' => 'WT',
        );
        return $this->submitTransaction($payload, 'cmpi_baseserver_api');
    }
public function preApproval(
        $longAccessToken,
        HpsOrderData $orderData = null
    ) {
        $payload = array(
            'LongAccessToken' => $longAccessToken,
            'SubMsgType' => 'cmpi_preapproval',
            'TransactionType' => 'WT',
        );
        return $this->submitTransaction($payload, 'cmpi_baseserver_api');
    }
public function preApproval ( $ longAccessToken , HpsOrderData $ orderData = null ) { $ payload = array ( 'LongAccessToken' => $ longAccessToken , 'SubMsgType' => 'cmpi_preapproval' , 'TransactionType' => 'WT' , ) ; return $ this -> submitTransaction ( $ payload , 'cmpi_baseserver_api' ) ; }
Gives Merchants the ability to provide the consumer the opportunity to
pre-select their checkout options before completing checkout.

@param string       $longAccessToken Access token from Cardinal/MasterPass
@param HpsOrderData $orderData       Cardinal/MasterPass specific data

@return object
Gives Merchants the ability to provide the consumer the opportunity to pre - select their checkout options before completing checkout .