コード例 #1
0
ファイル: Instore.php プロジェクト: patrickkivits/sdk
 public static function getAllTerminals()
 {
     $api = new Api\GetAllTerminals();
     if (isset($options['hash'])) {
         $api->setHash($options['hash']);
     }
     $result = $api->doRequest();
     return new Result\Status($result);
 }
コード例 #2
0
ファイル: Instore.php プロジェクト: ivodvb/sdk
 /**
  * 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);
 }