Links an Invoice to an InvoicePayment. Ie how much of the payment was against this invoice

Group: Database Entities

Implements: Serializable


Properties

PropertyReturnsDescription
adminOrgOrganisationThe account, ie the top level administrative organisation, this allocation belongs to. Always set, and lookups by id are scoped by it.
createdByProfileThe profile who made this allocation. Always set.
createdDateDateWhen the allocation was made, which can be later than the payment date if the payment was applied to the invoice after the event.
idLongThe database-assigned unique identifier for this allocation.
invoiceInvoiceThe invoice the money was applied to. Always set.
invoicePaymentInvoicePaymentThe payment the money came from. Always set. One payment can have several of these links, one per invoice it was spread across.
paymentAmountBigDecimalHow much of the payment was applied to this invoice, in the account's currency. The links for one payment should add up to no more than the payment's own amount.

Methods

getId()

Returns: Long

The database-assigned unique identifier for this allocation.

getAdminOrg()

Returns: Organisation

The account, ie the top level administrative organisation, this allocation belongs to. Always set, and lookups by id are scoped by it.

getInvoice()

Returns: Invoice

The invoice the money was applied to. Always set.

getInvoicePayment()

Returns: InvoicePayment

The payment the money came from. Always set. One payment can have several of these links, one per invoice it was spread across.

getCreatedBy()

Returns: Profile

The profile who made this allocation. Always set.

getCreatedDate()

Returns: Date

When the allocation was made, which can be later than the payment date if the payment was applied to the invoice after the event.

getPaymentAmount()

Returns: BigDecimal

How much of the payment was applied to this invoice, in the account's currency. The links for one payment should add up to no more than the payment's own amount.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.