OSID Logo
OSID Specifications
billing package
Version 3.0.0
Release Candidate Preview
Interfaceosid.billing.Category
Implementsosid.OsidObject
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_ARGUMENT categoryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(categoryRecordType) is false
CompliancemandatoryThis method must be implemented.