OSID Logo
OSID Specifications
financials package
Version 3.1.0
Interfaceosid.financials.Account
Implementsosid.OsidObject
osid.Federateable
Used Byosid.billing.Item
osid.financials.AccountAdminSession
osid.financials.AccountList
osid.financials.AccountLookupSession
osid.financials.AccountNode
osid.financials.Summary
osid.financials.budgeting.BudgetEntry
osid.financials.posting.PostEntry
Description

An Account represents a general ledger account.

MethodisCreditBalance
Description

Tests if this account is a credit or debit account.

Returnboolean true if credits increase the balance, false if credits decrease the balance
Compliancemandatory This method must be implemented.
MethodgetCode
Description

Gets a code for this G/L account.

Returnstring an account code
Compliancemandatory This method must be implemented.
MethodgetAccountRecord
Description

Gets the account record corresponding to the given Account record Type.This method is used to retrieve an object implementing the requested record. The accountRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(accountRecordType) is true.

Parametersosid.type.TypeaccountRecordType the type of account record to retrieve
Returnosid.financials.records.AccountRecord the account record
ErrorsNULL_ARGUMENT accountRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(accountRecordType) is false
Compliancemandatory This method must be implemented.