OSID Logo
OSID Specifications
billing package
Version 3.0.0
Release Candidate Preview
Interfaceosid.billing.Business
Implementsosid.OsidCatalog
Description

A Business represents a collection of customers, categories, items, entries, and periods.

MethodgetBusinessRecord
Description

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

Parametersosid.type.TypebusinessRecordTypethe type of business record to retrieve
Returnosid.billing.records.BusinessRecordthe business record
ErrorsNULL_ARGUMENT businessRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(businessRecordType) is false
CompliancemandatoryThis method must be implemented.