/** * Get the instance url. * * @return string */ public function instanceUrl() { return is_null($this['id']) ? '/v1/account' : parent::instanceUrl(); }
/** * This is a special case because the application fee endpoint has an * underscore in it. The parent `className` function strips underscores. * * @param string $class * * @return string */ public static function className($class = '') { return parent::className(); }