Payment_Process2
[ class tree: Payment_Process2 ] [ index: Payment_Process2 ] [ all elements ]

Source for file Driver.php

Documentation is available at Driver.php

  1. <?php
  2. /**
  3.  * A driver interface
  4.  */
  5. interface Payment_Process2_Driver {
  6.  
  7.     /**
  8.      * Class constructor
  9.      *
  10.      * Initializes the driver's default state
  11.      */
  12.     public function __construct($options = array()HTTP_Request2 $request = null);
  13.  
  14.  
  15.     /**
  16.      * Translates an action into a localised string
  17.      *
  18.      * @param string $action One of the Payment_Process2::ACTION_* constants
  19.      *
  20.      * @return string|falseReturns false when it cannot translate
  21.      */
  22.     public function translateAction($action);
  23.  
  24.     public function process();
  25.     public function getStatus();
  26.  
  27.     /**
  28.      * Create a hash suitable for use with HTTP_Request2::addPostParameter();
  29.      *
  30.      * array('key' => 'value')
  31.      *
  32.      * @return mixed[] 
  33.      */
  34.     public function prepareRequestData();
  35. }

Documentation generated on Mon, 11 Mar 2019 15:40:37 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.