| Interface | osid.financials.posting.PostEntry | ||
|---|---|---|---|
| Implements | osid.OsidObject | ||
osid.Subjugateable | |||
| Description |
A | ||
| Method | getPostId | ||
| Description |
Gets the post | ||
| Return | osid.id.Id | the payer Id | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPost | ||
| Description |
Gets the post to which this entry belongs. | ||
| Return | osid.financials.posting.Post | the post | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAccountId | ||
| Description |
Gets the G/L account | ||
| Return | osid.id.Id | the account Id | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAccount | ||
| Description |
Gets the G/L account to which this entry applies. | ||
| Return | osid.financials.Account | the account | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getActivityId | ||
| Description |
Gets the financial activity | ||
| Return | osid.id.Id | the activity Id | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getActivity | ||
| Description |
Gets the financial activity to which this entry applies. | ||
| Return | osid.financials.Activity | the activity | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAmount | ||
| Description |
Gets the amount. | ||
| Return | osid.financials.Currency | the amount | |
| Compliance | mandatory | This method must be implemented. | |
| Method | isDebit | ||
| Description |
Tests if the amount is a debit or a credit. | ||
| Return | boolean | true if this entry amount is a debit, false
if it is a credit | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntryRecord | ||
| Description |
Gets the post entry record corresponding to the given
| ||
| Parameters | osid.type.Type | postEntryRecordType | the type of post entry record to retrieve |
| Return | osid.financials.posting.records.PostEntryRecord | the post entry record | |
| Errors | NULL_ARGUMENT | postEntryRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(postEntryRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |