public static function getAllTerminals() { $api = new Api\GetAllTerminals(); if (isset($options['hash'])) { $api->setHash($options['hash']); } $result = $api->doRequest(); return new Result\Status($result); }
/** * 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); }