OSID Logo
OSID Specifications
billing payment package
Version 3.1.0
Interfaceosid.billing.payment.PayerQuery
Implementsosid.OsidObjectQuery
osid.OsidTemporalQuery
Used Byosid.billing.payment.PayerQuerySession
osid.billing.payment.PayerSearchSession
osid.billing.payment.PayerSmartBusinessSession
osid.billing.payment.PaymentQuery
Description

This is the query for searching payers. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchResourceId
Description

Sets the resource Id for this query.

Parametersosid.id.IdresourceId a resource Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearResourceIdTerms
Description

Clears the resource Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsResourceQuery
Description

Tests if a ResourceQuery is available.

Returnboolean true if a resource query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetResourceQuery
Description

Gets the query for a resource. Multiple retrievals produce a nested OR term.

Returnosid.resource.ResourceQuery a resource query
ErrorsUNIMPLEMENTED supportsResourceQuery() is false
Complianceoptional This method must be implemented if supportsResourceQuery() is true.
MethodclearResourceTerms
Description

Clears the resource terms.

Compliancemandatory This method must be implemented.
MethodmatchCustomerId
Description

Sets the customer Id for this query.

Parametersosid.id.IdcustomerId a customer Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT customerId is null
Compliancemandatory This method must be implemented.
MethodclearCustomerIdTerms
Description

Clears the customer Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCustomerQuery
Description

Tests if a CustomereQuery is available.

Returnboolean true if a customer query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCustomerQuery
Description

Gets the query for a customer. Multiple retrievals produce a nested OR term.

Returnosid.billing.CustomerQuery a customer query
ErrorsUNIMPLEMENTED supportsCustomerQuery() is false
Complianceoptional This method must be implemented if supportsCustomerQuery() is true.
MethodmatchAnyCustomer
Description

Matches payers with any related customer.

Parametersbooleanmatch true to match payers with any related customer, false to match payers with no customer
Compliancemandatory This method must be implemented.
MethodclearCustomerTerms
Description

Clears the customer terms.

Compliancemandatory This method must be implemented.
MethodmatchUsesActivity
Description

Matches payers using their activity account.

Parametersbooleanmatch true to match payers using an activity, false otherwise
Compliancemandatory This method must be implemented.
MethodclearUsesActivityTerms
Description

Clears the activity terms.

Compliancemandatory This method must be implemented.
MethodmatchUsesCash
Description

Matches payers using cash.

Parametersbooleanmatch true to match payers using cash, false otherwise
Compliancemandatory This method must be implemented.
MethodclearUsesCashTerms
Description

Clears the cash terms.

Compliancemandatory This method must be implemented.
MethodmatchCreditCardNumber
Description

Matches credit card numbers.

Parametersstringnumber a credit card number
osid.type.TypestringMatchType a string match type
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT number not of stringMatchType
NULL_ARGUMENT number or stringMatchType is null
Compliancemandatory This method must be implemented.
MethodmatchAnyCreditCardNumber
Description

Matches payers with any credit card.

Parametersbooleanmatch true to match payers with any credit card, false to match payers with no credit card
Compliancemandatory This method must be implemented.
MethodclearCreditCardNumberTerms
Description

Clears the credit card number terms.

Compliancemandatory This method must be implemented.
MethodmatchCreditCardExpiration
Description

Matches credit card expirations between the given date range inclusive.

Parametersosid.calendaring.DateTimefrom start of date range
osid.calendaring.DateTimeto end of date range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyCreditCardExpiration
Description

Matches payers with any credit card expiration date.

Parametersbooleanmatch true to match payers with any credit card expiration, false to match payers with no credit card expiration
Compliancemandatory This method must be implemented.
MethodclearCreditCardExpirationTerms
Description

Clears the credit card expiration terms.

Compliancemandatory This method must be implemented.
MethodmatchCreditCardCode
Description

Matches credit card security codes.

Parametersstringcode a credit card code
osid.type.TypestringMatchType a string match type
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT code not of stringMatchType
NULL_ARGUMENT code or stringMatchType is null
Compliancemandatory This method must be implemented.
MethodmatchAnyCreditCardCode
Description

Matches payers with any credit card security code.

Parametersbooleanmatch true to match payers with any credit card security code, false to match payers with no credit card security code
Compliancemandatory This method must be implemented.
MethodclearCreditCardCodeTerms
Description

Clears the credit card code terms.

Compliancemandatory This method must be implemented.
MethodmatchBankRoutingNumber
Description

Matches bank routing numbers.

Parametersstringnumber a bank routing number
osid.type.TypestringMatchType a string match type
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT number not of stringMatchType
NULL_ARGUMENT number or stringMatchType is null
Compliancemandatory This method must be implemented.
MethodmatchAnyBankRoutingNumber
Description

Matches payers with any bank routing number.

Parametersbooleanmatch true to match payers with any bank routing number, false to match payers with no bank routing number
Compliancemandatory This method must be implemented.
MethodclearBankRoutingNumberTerms
Description

Clears the bank routing number terms.

Compliancemandatory This method must be implemented.
MethodmatchBankAccountNumber
Description

Matches bank account numbers.

Parametersstringnumber a bank account number
osid.type.TypestringMatchType a string match type
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT number not of stringMatchType
NULL_ARGUMENT number or stringMatchType is null
Compliancemandatory This method must be implemented.
MethodmatchAnyBankAccountNumber
Description

Matches payers with any bank account number.

Parametersbooleanmatch true to match payers with any bank account number, false to match payers with no bank account number
Compliancemandatory This method must be implemented.
MethodclearBankAccountNumberTerms
Description

Clears the bank account number terms.

Compliancemandatory This method must be implemented.
MethodmatchBusinessId
Description

Sets the business Id for this query to match payers assigned to businesses.

Parametersosid.id.IdbusinessId the business Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT businessId is null
Compliancemandatory This method must be implemented.
MethodclearBusinessIdTerms
Description

Clears the business Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsBusinessQuery
Description

Tests if a BusinessQuery is available.

Returnboolean true if a business query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetBusinessQuery
Description

Gets the query for a business. Multiple retrievals produce a nested OR term.

Returnosid.billing.BusinessQuery the business query
ErrorsUNIMPLEMENTED supportsBusinessQuery() is false
Complianceoptional This method must be implemented if supportsBusinessQuery() is true.
MethodclearBusinessTerms
Description

Clears the business terms.

Compliancemandatory This method must be implemented.
MethodgetPayerQueryRecord
Description

Gets the payer query record corresponding to the given Payer record Type.Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypepayerRecordType a payer record type
Returnosid.billing.payment.records.PayerQueryRecord the payer query record
ErrorsNULL_ARGUMENT payerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(payerRecordType) is false
Compliancemandatory This method must be implemented.