OSID Logo
OSID Specifications
billing package
Version 3.0.0
Release Candidate Preview
Interfaceosid.billing.ItemSearchOrder
Implementsosid.OsidObjectSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByCategory
Description

Specifies a preference for ordering the result set by the category.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsCategorySearchOrder
Description

Tests if a category search order is available.

Returnboolean true if a category search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCategorySearchOrder
Description

Specifies a preference for ordering the result set by the category.

Returnosid.billing.CategorySearchOrderthe category search order
ErrorsUNIMPLEMENTED supportsCategorySearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsCategorySearchOrder() is true.
MethodorderByAccount
Description

Specifies a preference for ordering the result set by the account.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsAccountSearchOrder
Description

Tests if an account search order is available.

Returnboolean true if an account search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAccountSearchOrder
Description

Specifies a preference for ordering the result set by the account.

Returnosid.financials.AccountSearchOrderthe account search order
ErrorsUNIMPLEMENTED supportsAccountSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsAccountSearchOrder() is true.
MethodorderByProduct
Description

Specifies a preference for ordering the result set by the product.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsProductSearchOrder
Description

Tests if a product search order is available.

Returnboolean true if a product search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetProductSearchOrder
Description

Specifies a preference for ordering the result set by the product.

Returnosid.ordering.ProductSearchOrderthe product search order
ErrorsUNIMPLEMENTED supportsProductSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsProductSearchOrder() is true.
MethodorderByAmount
Description

Specifies a preference for ordering the result set by the amount.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByDebit
Description

Specifies a preference for ordering the result set by debit.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByRecurringInterval
Description

Specifies a preference for ordering the result set by interval.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodgetItemSearchOrderRecord
Description

Gets the item search order record corresponding to the given item record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypeitemRecordTypean item record type
Returnosid.billing.records.ItemSearchOrderRecordthe item search order record
ErrorsNULL_ARGUMENT itemRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(itemRecordType) is false
CompliancemandatoryThis method must be implemented.