OSID Logo
OSID Specifications
ordering package
Version 3.1.0
Interfaceosid.ordering.PriceScheduleForm
Implementsosid.OsidObjectForm
osid.OsidAggregateableForm
Implemented Byosid.ordering.batch.PriceScheduleBatchForm
Used Byosid.ordering.PriceScheduleAdminSession
Description

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

Like all OsidForms, PriceScheduleForm is stateful and must not be accessed by multiple processing threads.

MethodgetListPriceMetadata
Description

Gets the metadata for the list price.

Returnosid.Metadata metadata for the list price
Compliancemandatory This method must be implemented.
MethodsetListPrice
Description

Sets the list price.

Parametersosid.financials.CurrencylistPrice the new list price
ErrorsINVALID_ARGUMENT listPrice is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearListPrice
Description

Clears the list price.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetRecurringIntervalMetadata
Description

Gets the metadata for the recurring interval.

Returnosid.Metadata metadata for the recurring interval
Compliancemandatory This method must be implemented.
MethodsetRecurringInterval
Description

Sets the recurring interval.

Parametersosid.calendaring.Durationinterval the new recurring interval
ErrorsINVALID_ARGUMENT interval is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearRecurringInterval
Description

Clears the recurring interval.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetPriceScheduleFormRecord
Description

Gets the PriceScheduleFormRecord corresponding to the given price schedule record Type.

Parametersosid.type.TypepriceScheduleRecordType the price schedule record type
Returnosid.ordering.records.PriceScheduleFormRecord the price schedule form record
ErrorsNULL_ARGUMENT priceScheduleRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(priceScheduleRecordType) is false
Compliancemandatory This method must be implemented.