src/Sulu/Bundle/ContactBundle/Api/Contact.php
public function getAccount()
    {
        $mainAccount = $this->entity->getMainAccount();
        if (!is_null($mainAccount)) {
            return new Account($mainAccount, $this->locale);
        }

        return;
    }
public function getAccount()
    {
        $mainAccount = $this->entity->getMainAccount();
        if (!is_null($mainAccount)) {
            return new Account($mainAccount, $this->locale);
        }

        return;
    }
public function getAccount ( ) { $ mainAccount = $ this -> entity -> getMainAccount ( ) ; if ( ! is_null ( $ mainAccount ) ) { return new Account ( $ mainAccount , $ this -> locale ) ; } return ; }
Returns main account.

@VirtualProperty
@SerializedName("account")
@Groups({"fullContact"})
Returns main account .