A list of priced line items with billing and delivery addresses, forming the shared base for invoices, quotes and purchase orders. Holds the line items, addresses and reference information common to any payment document, and calculates sub-total, tax and total from its line items. Subclassed by InvoiceBean for invoice-specific fields such as status and due date.


Properties

PropertyReturnsDescription
billingAddressPaymentAddressThe billing address for this payment list.
cartIdLongThe id of the shopping cart this payment list was generated from, if any.
deliveryAddressPaymentAddressThe delivery address for this payment list.
descriptionStringA longer free-text description of the payment list.
extraField1StringA general-purpose free-text field for additional, integration-specific information.
extraField2StringA second general-purpose free-text field for additional, integration-specific information.
extraField3StringA third general-purpose free-text field for additional, integration-specific information.
issuedDateDateThe date the payment list was issued.
lineItemAttachmentsList<PaymentListLineItemAttachment>Files attached to the payment list's line items, such as supporting documents.
lineItemsList<PaymentLineItemBean>The priced line items making up this payment list.
numberStringThe unique document number for this payment list, such as an invoice or quote number.
paymentTaxTypePaymentTaxTypeHow tax is represented on the amounts in this payment list: not taxed, tax-inclusive or tax-exclusive.
referenceStringA free-text customer or purchase order reference for this payment list.
subTotalBigDecimalCalculates the ex-tax total of this payment list, being the sum of the sub-total of each line item.
taxBigDecimalCalculates the total tax on this payment list, being the sum of the tax amount of each line item.
titleStringA short title for the payment list, shown to the customer.
totalBigDecimalCalculates the grand total of this payment list, being the sum of the total amount (including tax) of each line item.

Methods

getNumber() · getTitle() · getDescription() · getLineItems() · getReference() · getLineItemAttachments() · getIssuedDate() · getSubTotal() · getTax() · getTotal() · getBillingAddress() · getDeliveryAddress() · getExtraField1() · getExtraField2() · getExtraField3() · getCartId() · getPaymentTaxType()

getNumber()

Returns: String

The unique document number for this payment list, such as an invoice or quote number.

getTitle()

Returns: String

A short title for the payment list, shown to the customer.

getDescription()

Returns: String

A longer free-text description of the payment list.

getLineItems()

Returns: List<PaymentLineItemBean>

The priced line items making up this payment list.

getReference()

Returns: String

A free-text customer or purchase order reference for this payment list.

getLineItemAttachments()

Returns: List<PaymentListLineItemAttachment>

Files attached to the payment list's line items, such as supporting documents.

getIssuedDate()

Returns: Date

The date the payment list was issued.

getSubTotal()

Returns: BigDecimal

Calculates the ex-tax total of this payment list, being the sum of the sub-total of each line item.

getTax()

Returns: BigDecimal

Calculates the total tax on this payment list, being the sum of the tax amount of each line item.

getTotal()

Returns: BigDecimal

Calculates the grand total of this payment list, being the sum of the total amount (including tax) of each line item.

getBillingAddress()

Returns: PaymentAddress

The billing address for this payment list.

getDeliveryAddress()

Returns: PaymentAddress

The delivery address for this payment list.

getExtraField1()

Returns: String

A general-purpose free-text field for additional, integration-specific information.

getExtraField2()

Returns: String

A second general-purpose free-text field for additional, integration-specific information.

getExtraField3()

Returns: String

A third general-purpose free-text field for additional, integration-specific information.

getCartId()

Returns: Long

The id of the shopping cart this payment list was generated from, if any.

getPaymentTaxType()

Returns: PaymentTaxType

How tax is represented on the amounts in this payment list: not taxed, tax-inclusive or tax-exclusive.

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