public function getWalletInfo(UserAccount $userAccount, $vendor)
    {
        $result = $this->getAccountInfos($userAccount, $vendor);

        return new AccountInfo(
            $result['user_account_id'],
            $result['user_space_id'],
            $result['identified'] === 1,
            $result['callback_salt'],
            $result['message']
        );
    }
public function getWalletInfo(UserAccount $userAccount, $vendor)
    {
        $result = $this->getAccountInfos($userAccount, $vendor);

        return new AccountInfo(
            $result['user_account_id'],
            $result['user_space_id'],
            $result['identified'] === 1,
            $result['callback_salt'],
            $result['message']
        );
    }
public function getWalletInfo ( UserAccount $ userAccount , $ vendor ) { $ result = $ this -> getAccountInfos ( $ userAccount , $ vendor ) ; return new AccountInfo ( $ result [ 'user_account_id' ] , $ result [ 'user_space_id' ] , $ result [ 'identified' ] === 1 , $ result [ 'callback_salt' ] , $ result [ 'message' ] ) ; }
Return the hipay account information.

@param VendorInterface $vendor

@return AccountInfo HiPay Wallet account information

@throws Exception
Return the hipay account information .