OSID Logo
OSID Specifications
billing package
Version 3.0.0
Interfaceosid.billing.Category
Implementsosid.OsidObject
Used Byosid.billing.CategoryAdminSession
osid.billing.CategoryList
osid.billing.CategoryLookupSession
osid.billing.Item
Description

A Category is a group of Items .

MethodgetCategoryRecord
Description

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

Parametersosid.type.TypecategoryRecordTypethe type of category record to retrieve
Returnosid.billing.records.CategoryRecordthe category record
ErrorsNULL_ARGUMENTcategoryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(categoryRecordType) is false
CompliancemandatoryThis method must be implemented.