Frontend | Backend | Api

Invoices\Models\Frontend\Item

Item

Method Description Returns
getCurrency() Get the currency Currency
getAmountAsMoney() Get the amount as a Money object Money
getUnitAmount() Get the unit amount Money
getTaxAsMoney() Get the tax as a Money object Money
getUnitTax() Get the unit tax Money
getQuantityRefunded() Get the quantity refunded int
getPendingOrSuccessfullyRefundedItems() Get the pending or successfully refunded items array
getId() int
getType() string
getCode() string
getText() string
getQuantity() int
getQuantityUnit() string
getTax() string
getTaxRate() string
getAmount() string
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getInvoice() Invoice
getRefundItems() Collection (RefundItem)
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool
isVersionedModel() Check whether a model is versioned bool