OSID Logo
OSID Specifications
billing payment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.billing.payment.PayerQuery
Implementsosid.OsidObjectQuery
osid.OsidTemporalQuery
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.IdresourceIda resource Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearResourceIdTerms
Description

Clears the resource Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsResourceQuery
Description

Tests if a ResourceQuery is available.

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

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

Returnosid.resource.ResourceQuerya resource query
ErrorsUNIMPLEMENTED supportsResourceQuery() is false
ComplianceoptionalThis method must be implemented if supportsResourceQuery() is true.
MethodclearResourceTerms
Description

Clears the resource terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCustomerId
Description

Sets the customer Id for this query.

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

Clears the customer Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCustomerQuery
Description

Tests if a CustomereQuery is available.

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

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

Returnosid.billing.CustomerQuerya customer query
ErrorsUNIMPLEMENTED supportsCustomerQuery() is false
ComplianceoptionalThis 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
CompliancemandatoryThis method must be implemented.
MethodclearCustomerTerms
Description

Clears the customer terms.

CompliancemandatoryThis method must be implemented.
MethodmatchUsesActivity
Description

Matches payers using their activity account.

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

Clears the activity terms.

CompliancemandatoryThis method must be implemented.
MethodmatchUsesCash
Description

Matches payers using cash.

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

Clears the cash terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCreditCardNumber
Description

Matches credit card numbers.

Parametersstringnumbera credit card number
osid.type.TypestringMatchTypea 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
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodclearCreditCardNumberTerms
Description

Clears the credit card number terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCreditCardExpiration
Description

Matches credit card expirations between the given date range inclusive.

Parametersosid.calendaring.DateTimefromstart of date range
osid.calendaring.DateTimetoend 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
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodclearCreditCardExpirationTerms
Description

Clears the credit card expiration terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCreditCardCode
Description

Matches credit card security codes.

Parametersstringcodea credit card code
osid.type.TypestringMatchTypea 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
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodclearCreditCardCodeTerms
Description

Clears the credit card code terms.

CompliancemandatoryThis method must be implemented.
MethodmatchBankRoutingNumber
Description

Matches bank routing numbers.

Parametersstringnumbera bank routing number
osid.type.TypestringMatchTypea 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
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodclearBankRoutingNumberTerms
Description

Clears the bank routing number terms.

CompliancemandatoryThis method must be implemented.
MethodmatchBankAccountNumber
Description

Matches bank account numbers.

Parametersstringnumbera bank account number
osid.type.TypestringMatchTypea 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
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodclearBankAccountNumberTerms
Description

Clears the bank account number terms.

CompliancemandatoryThis method must be implemented.
MethodmatchBusinessId
Description

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

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

Clears the business Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsBusinessQuery
Description

Tests if a BusinessQuery is available.

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

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

Returnosid.billing.BusinessQuerythe business query
ErrorsUNIMPLEMENTED supportsBusinessQuery() is false
ComplianceoptionalThis method must be implemented if supportsBusinessQuery() is true.
MethodclearBusinessTerms
Description

Clears the business terms.

CompliancemandatoryThis 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.TypepayerRecordTypea payer record type
Returnosid.billing.payment.records.PayerQueryRecordthe payer query record
ErrorsNULL_ARGUMENT payerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(payerRecordType) is false
CompliancemandatoryThis method must be implemented.