OSID Logo
OSID Specifications
billing package
Version 3.1.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.TypecategoryRecordType the type of category record to retrieve
Returnosid.billing.records.CategoryRecord the category record
ErrorsNULL_ARGUMENT categoryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(categoryRecordType) is false
Compliancemandatory This method must be implemented.