OSID Logo
OSID Specifications
billing payment package
Version 3.1.0
Interfaceosid.billing.payment.PayerSearchSession
Implementsosid.billing.payment.PayerQuerySession
Used Byosid.billing.payment.BillingPaymentManager
osid.billing.payment.BillingPaymentProxyManager
Description

This session provides methods for searching among Payers. The search query is constructed using the PayerQuery.

getPayersByQuery() is the basic search method and returns a list of Payers. A more advanced search may be performed with getPayersBySearch(). It accepts a PayerSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getPayersBySearch() returns a PayerSearchResults that can be used to access the resulting PayerList or be used to perform a search within the result set through PayerSearch.

This session defines views that offer differing behaviors for searching.

  • federated business view: searches include payers in businesses of which this business is an ancestor in the business hierarchy
  • isolated business view: searches are restricted to payers in this business

Payers may have a query record indicated by their respective record types. The query record is accessed via the PayerQuery.

MethodgetPayerSearch
Description

Gets a payer search.

Returnosid.billing.payment.PayerSearch the payer search
Compliancemandatory This method must be implemented.
MethodgetPayerSearchOrder
Description

Gets a payer search order. The PayerSearchOrder is supplied to a PayerSearch to specify the ordering of results.

Returnosid.billing.payment.PayerSearchOrder the payer search order
Compliancemandatory This method must be implemented.
MethodgetPayersBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.billing.payment.PayerQuerypayerQuery the payer query
osid.billing.payment.PayerSearchpayerSearch the payer search
Returnosid.billing.payment.PayerSearchResults the payer search results
ErrorsNULL_ARGUMENT payerQuery or payerSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED payerQuery or payerSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetPayerQueryFromInspector
Description

Gets a payer query from an inspector. The inspector is available from a PayerSearchResults.

Parametersosid.billing.payment.PayerQueryInspectorpayerQueryInspector a payer query inspector
Returnosid.billing.payment.PayerQuery the payer query
ErrorsNULL_ARGUMENT payerQueryInspector is null
UNSUPPORTED payerQueryInspector is not of this service
Compliancemandatory This method must be implemented.