OSID Logo
OSID Specifications
ordering rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.ordering.rules.PriceEnablerForm
Implementsosid.OsidEnablerForm
Description

This is the form for creating and updating PriceEnablers. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the PriceEnablerAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetPriceEnablerFormRecord
Description

Gets the PriceEnablerFormRecord corresponding to the given price enabler record Type.

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