Interface | osid.billing.payment.SummarySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods for retrieving payment summaries. This lookup session defines several views:
The methods Summaries may have an additional records indicated by
their respective record types. The record may not be accessed
through a cast of the | ||
Method | getBusinessId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Business Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getBusiness | ||
Description |
Gets the | ||
Return | osid.billing.Business | the business | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupSummaries | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeSummaryView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenarySummaryView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedBusinessView | ||
Description |
Federates the view for methods in this session. A federated view will include summaries in catalogs which are children of this catalog in the business hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedBusinessView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts retrievals to this business only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCurrentSummaryForCustomer | ||
Description |
Gets the current | ||
Parameters | osid.id.Id | customerId | a customer Id |
Return | osid.billing.payment.Summary | the returned Summary | |
Errors | NOT_FOUND | customerId is not found | |
NULL_ARGUMENT | customerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSummariesForCustomer | ||
Description |
Gets a | ||
Parameters | osid.id.Id | customerId | a customer Id |
Return | osid.billing.payment.SummaryList | the returned Summary list | |
Errors | NULL_ARGUMENT | customerId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSummariesByPeriod | ||
Description |
Gets a | ||
Parameters | osid.id.Id | periodId | a period Id |
Return | osid.billing.payment.SummaryList | the returned Summary list | |
Errors | NULL_ARGUMENT | periodId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSummariesByPeriodForCustomer | ||
Description |
Gets a | ||
Parameters | osid.id.Id | customerId | a customer Id |
osid.id.Id | periodId | a period Id | |
Return | osid.billing.payment.SummaryList | the returned Summary list | |
Errors | NULL_ARGUMENT | customerId or periodId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPastDueSummaries | ||
Description |
Gets a | ||
Return | osid.billing.payment.SummaryList | the returned Summary list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSummaries | ||
Description |
Gets all | ||
Return | osid.billing.payment.SummaryList | a list of Summary | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |