OSID Logo
OSID Specifications
billing payment package
Version 3.1.0
Interfaceosid.billing.payment.PaymentQuery
Implementsosid.OsidObjectQuery
Used Byosid.billing.payment.PaymentQuerySession
osid.billing.payment.PaymentSearchSession
osid.billing.payment.PaymentSmartBusinessSession
Description

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

MethodmatchPayerId
Description

Sets the payer Id for this query.

Parametersosid.id.IdpayerId a payer Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT payerId is null
Compliancemandatory This method must be implemented.
MethodclearPayerIdTerms
Description

Clears the payer Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsPayerQuery
Description

Tests if a PayerQuery is available.

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

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

Returnosid.billing.payment.PayerQuery the payer query
ErrorsUNIMPLEMENTED supportsPayerQuery() is false
Complianceoptional This method must be implemented if supportsPayerQuery() is true.
MethodclearPayerTerms
Description

Clears the payer 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.
MethodclearCustomerTerms
Description

Clears the customer terms.

Compliancemandatory This method must be implemented.
MethodmatchPeriodId
Description

Sets the biliing period Id for this query.

Parametersosid.id.IdperiodId a period Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT periodId is null
Compliancemandatory This method must be implemented.
MethodclearPeriodIdTerms
Description

Clears the billing period Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsPeriodQuery
Description

Tests if a PeriodQuery is available.

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

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

Returnosid.billing.PeriodQuery the period query
ErrorsUNIMPLEMENTED supportsPeriodQuery() is false
Complianceoptional This method must be implemented if supportsPeriodQuery() is true.
MethodmatchAnyPeriod
Description

Matches payments with any billing period.

Parametersbooleanmatch true to match payments with any period, false to match peyments with no period
Compliancemandatory This method must be implemented.
MethodclearPeriodTerms
Description

Clears the billing period terms.

Compliancemandatory This method must be implemented.
MethodmatchPaymentDate
Description

Matches payment dates 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.
MethodclearPaymentDateTerms
Description

Clears the payment date terms.

Compliancemandatory This method must be implemented.
MethodmatchProcessDate
Description

Matches process dates 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.
MethodmatchAnyProcessDate
Description

Matches payments with any process date.

Parametersbooleanmatch true to match payments with any process date, false to match peyments with no process date
Compliancemandatory This method must be implemented.
MethodclearProcessDateTerms
Description

Clears the process date terms.

Compliancemandatory This method must be implemented.
MethodmatchAmount
Description

Matches amounts between the given range inclusive.

Parametersosid.financials.Currencyfrom start of range
osid.financials.Currencyto end of 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.
MethodmatchAnyAmount
Description

Matches payments with any amount.

Parametersbooleanmatch true to match payments with any amount, false to match peyments with no amount
Compliancemandatory This method must be implemented.
MethodclearAmountTerms
Description

Clears the amount.

Compliancemandatory This method must be implemented.
MethodmatchBusinessId
Description

Sets the business Id for this query to match payments 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.
MethodgetPaymentQueryRecord
Description

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

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