Frontend | Backend | Api

Invoices\Models\Frontend\Transaction

Transaction

Method Description Returns
getCurrency() Get the currency Currency
getAmountAsMoney() Get the amount as a Money object Money
getAmountCaptured() The amount captured. This strictly matches captures and deducts any amounts which have been refunded. Money
getAmountAuthorized() Get the amount authorized. This strictly matches authorizations and deducts any amounts which have been voided or captured. Money
getAmountVoided() Get the amount which has been voided Money
getAmountRefunded() Get the amount refunded Money
getId() int
getExternalId() string
getType() string
getStatus() string
getAmount() string
getData() array
getCreated() Date the record was created. DateTime
getInvoice() Invoice
getParent() Transaction
getChildren() Collection (Transaction)
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