Esempio n. 1
0
 /**
  * Returns the default currencies.
  *
  * @api
  * @author David Pauli <*****@*****.**>
  * @since 0.0.0
  * @return String|null Default currencies or null if the REST call does fail.
  */
 public function getDefaultCurrencies()
 {
     return Currencies::getDefault();
 }
Esempio n. 2
0
 /**
  * Returns the default currencies.
  *
  * @author David Pauli <*****@*****.**>
  * @return String|null Default currencies or null if the REST call does fail.
  * @since 0.0.0
  * @since 0.1.2 Add error reporting.
  */
 public function getDefaultCurrency()
 {
     self::errorReset();
     return Currencies::getDefault();
 }