/**
  * Gets a list of locales supported by the SBP
  *
  * @return LocaleStruct[] array of locale details
  * @throws \Exception
  */
 public function getLocales()
 {
     try {
         $responseBody = $this->storeClient->doGetRequest("/locales");
     } catch (StoreException $se) {
         throw $this->translateExceptionMessage($se);
     }
     return $this->hydrator->hydrateLocales($responseBody);
 }