OSID Logo
OSID Specifications
ordering package
Version 3.0.0
Release Candidate Preview
Interfaceosid.ordering.PriceSchedule
Implementsosid.OsidObject
osid.Aggregateable
Description

A PriceSchedule lists the price catalog.

MethodgetPriceIds
Description

Gets the Ids of the prices.

Returnosid.id.IdListthe price Ids
CompliancemandatoryThis method must be implemented.
MethodgetPrices
Description

Gets the prices.

Returnosid.ordering.PriceListthe prices
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetPriceScheduleRecord
Description

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

Parametersosid.type.TypepriceScheduleRecordTypethe type of price schedule record to retrieve
Returnosid.ordering.records.PriceScheduleRecordthe price schedule record
ErrorsNULL_ARGUMENT priceScheduleRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(priceScheduleRecordType) is false
CompliancemandatoryThis method must be implemented.