OSID Logo
OSID Specifications
ordering rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.ordering.rules.PriceEnabler
Implementsosid.OsidEnabler
Description

A PriceEnabler describes the rules for making a Price effective.

MethodgetPriceEnablerRecord
Description

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

Parametersosid.type.TypepriceEnablerRecordTypethe type of price enabler record to retrieve
Returnosid.ordering.rules.records.PriceEnablerRecordthe price enabler record
ErrorsNULL_ARGUMENT priceEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(priceEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.