OSID Logo
OSID Specifications
subscription rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.subscription.rules.SubscriptionEnablerForm
Implementsosid.OsidEnablerForm
Description

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

MethodgetSubscriptionEnablerFormRecord
Description

Gets the SubscriptionEnablerFormRecord corresponding to the given subscription enabler record Type.

Parametersosid.type.TypesubscriptionEnablerRecordTypea subscription enabler record type
Returnosid.subscription.rules.records.SubscriptionEnablerFormRecordthe subscription enabler form record
ErrorsNULL_ARGUMENT subscriptionEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(subscriptionEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.