original_string: public function preApproval(
          $longAccessToken,
          HpsOrderData $orderData = null
      ) {
          $payload = array(
              'LongAccessToken' => $longAccessToken,
              'SubMsgType' => 'cmpi_preapproval',
              'TransactionType' => 'WT',
          );
          return $this->submitTransaction($payload, 'cmpi_baseserver_api');
      }
code: public function preApproval(
          $longAccessToken,
          HpsOrderData $orderData = null
      ) {
          $payload = array(
              'LongAccessToken' => $longAccessToken,
              'SubMsgType' => 'cmpi_preapproval',
              'TransactionType' => 'WT',
          );
          return $this->submitTransaction($payload, 'cmpi_baseserver_api');
      }
code_tokens: public function preApproval ( $ longAccessToken , HpsOrderData $ orderData = null ) { $ payload = array ( 'LongAccessToken' => $ longAccessToken , 'SubMsgType' => 'cmpi_preapproval' , 'TransactionType' => 'WT' , ) ; return $ this -> submitTransaction ( $ payload , 'cmpi_baseserver_api' ) ; }
docstring: 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
docstring_tokens: Gives Merchants the ability to provide the consumer the opportunity to pre - select their checkout options before completing checkout .