| Interface | osid.billing.CustomerSearchSession | ||
|---|---|---|---|
| Implements | osid.billing.CustomerQuerySession | ||
| Description | 
                 This session provides methods for searching among    This session defines views that offer differing behaviors for searching. 
  Customers may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | getCustomerSearch | ||
| Description | 
                     Gets a customer search.  | ||
| Return | osid.billing.CustomerSearch | the customer search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCustomerSearchOrder | ||
| Description | 
                     Gets a customer search order. The   | ||
| Return | osid.billing.CustomerSearchOrder | the customer search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCustomersBySearch | ||
| Description | 
                     Gets the search results matching the given search query using the given search.  | ||
| Parameters | osid.billing.CustomerQuery | customerQuery | the customer query | 
osid.billing.CustomerSearch | customerSearch | the customer search | |
| Return | osid.billing.CustomerSearchResults | the customer search results | |
| Errors | NULL_ARGUMENT |  customerQuery  or  customerSearch  is  
null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  customerQuery  or  customerSearch  is not of 
this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCustomerQueryFromInspector | ||
| Description | 
                     Gets a customer query from an inspector. The inspector 
                    is available from a   | ||
| Parameters | osid.billing.CustomerQueryInspector | customerQueryInspector | a customer query inspector | 
| Return | osid.billing.CustomerQuery | the customer query | |
| Errors | NULL_ARGUMENT |  customerQueryInspector  is  null   |                 |
| UNSUPPORTED |  customerQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |