OSID Logo
OSID Specifications
billing package
Version 3.0.0
Interfaceosid.billing.Period
Implementsosid.OsidObject
Used Byosid.billing.Entry
osid.billing.PeriodAdminSession
osid.billing.PeriodList
osid.billing.PeriodLookupSession
osid.billing.payment.Payment
osid.billing.payment.Summary
Description

A Period represents a billing period.

MethodgetDisplayLabel
Description

Gets a display label for this period which may be less formal than the display name.

Returnosid.locale.DisplayTextthe period label
CompliancemandatoryThis method must be implemented.
MethodhasOpenDate
Description

Tests if this period has an open date.

Returnbooleantrue if there is an open date associated with this period, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetOpenDate
Description

Gets the open date.

Returnosid.calendaring.DateTimethe open date
ErrorsILLEGAL_STATEhasOpenDate() is false
CompliancemandatoryThis method must be implemented.
MethodhasCloseDate
Description

Tests if this period has a close date.

Returnbooleantrue if there is a close date associated with this period, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCloseDate
Description

Gets the close date.

Returnosid.calendaring.DateTimethe close date
ErrorsILLEGAL_STATEhasCloseDate() is false
CompliancemandatoryThis method must be implemented.
MethodhasBillingDate
Description

Tests if this period has a billing date.

Returnbooleantrue if there is a billing date associated with this period, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetBillingDate
Description

Gets the billing date.

Returnosid.calendaring.DateTimethe billing date
ErrorsILLEGAL_STATEhasBillingDate() is false
CompliancemandatoryThis method must be implemented.
MethodhasDueDate
Description

Tests if this period has a due date.

Returnbooleantrue if there is a due date associated with this period, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetDueDate
Description

Gets the due date.

Returnosid.calendaring.DateTimethe due date
ErrorsILLEGAL_STATEhasDueDate() is false
CompliancemandatoryThis method must be implemented.
MethodgetPeriodRecord
Description

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

Parametersosid.type.TypeperiodRecordTypethe type of period record to retrieve
Returnosid.billing.records.PeriodRecordthe period record
ErrorsNULL_ARGUMENTperiodRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(periodRecordType) is false
CompliancemandatoryThis method must be implemented.