public interface Billing extends OsidCatalog
A Billing
represents a collection of credits. Like all
OSID objects, a Billing
is identified by its Id
and any persisted references should use the Id.
Modifier and Type | Method and Description |
---|---|
BillingRecord |
getBillingRecord(Type billingRecordType)
Gets the record corresponding to the given
Billing
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
BillingRecord getBillingRecord(Type billingRecordType) throws OperationFailedException
Billing
record Type.
This method is used to retrieve an object
implementing the requested record. The billingRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(billingRecordType)
is true
.billingRecordType
- the type of billing record to retrieveNullArgumentException
- billingRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(billingRecordType)
is false
mandatory
- This method must be implemented.