Exemple #1
0
 public static function getAllTerminals()
 {
     $api = new Api\GetAllTerminals();
     if (isset($options['hash'])) {
         $api->setHash($options['hash']);
     }
     $result = $api->doRequest();
     return new Result\Status($result);
 }
Exemple #2
0
 /**
  * Get all terminals linked to the service
  *
  * @return Result\Terminals
  */
 public static function getAllTerminals()
 {
     $api = new Api\GetAllTerminals();
     $result = $api->doRequest();
     return new Result\Terminals($result);
 }