ModelInvoices module
Transaction
A model in the Invoices module, with 20 members for templates, 17 API properties and 20 members for admin templates.
Templates view
Properties 20
Take no arguments.
-
#
getAmountAsMoney() -
Money - Gets the amount as a Money object. Represents the raw transaction amount.
-
#
getAuthorizedAmountAsMoney() -
Money - Gets the authorized amount as a Money object. Represents the total authorized by this transaction and its children, minus any amounts that were subsequently voided or captured.
-
#
getCapturedAmountAsMoney() -
Money - Gets the captured amount as a Money object. Represents the total captured by this transaction and its children, minus any amounts that were subsequently refunded.
-
#
getVoidedAmountAsMoney() -
Money - Gets the voided amount as a Money object. Represents the total voided by this transaction and its children.
-
#
getRefundedAmountAsMoney() -
Money - Gets the refunded amount as a Money object. Represents the total refunded by this transaction and its children.
-
#
getId() -
?int -
#
getType() -
?string -
#
getStatus() -
?string -
#
getAmount() -
?string -
#
getData() -
?array -
#
getParent() -
?Transaction -
#
getChildren() -
?Collection<Transaction> -
#
getExternalId() -
?string -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.
API & Jobs view
API & JobsEach property is a key in REST API responses and job payloads. Its name is the template getter without get, is or has. Methods that need arguments are not available here.
Properties 17
Read-only values on the record.
-
#
authorizedAmountAsMoney -
Money - Gets the authorized amount as a Money object. Represents the total authorized by this transaction and its children, minus any amounts that were subsequently voided or captured.
-
#
capturedAmountAsMoney -
Money - Gets the captured amount as a Money object. Represents the total captured by this transaction and its children, minus any amounts that were subsequently refunded.
-
#
voidedAmountAsMoney -
Money - Gets the voided amount as a Money object. Represents the total voided by this transaction and its children.
-
#
refundedAmountAsMoney -
Money - Gets the refunded amount as a Money object. Represents the total refunded by this transaction and its children.
-
#
id -
?int -
#
type -
?string -
#
status -
?string -
#
amount -
?string -
#
data -
?array -
#
parent -
?Transaction -
#
children -
?Collection<Transaction> -
#
externalId -
?string
No members match the filter.
Admin view
AdminAvailable in cdna-admin templates. Copy an admin template into your site repository to change how this record is edited.
Properties 20
Take no arguments.
-
#
getAmountAsMoney() -
Money - Gets the amount as a Money object. Represents the raw transaction amount.
-
#
getAuthorizedAmountAsMoney() -
Money - Gets the authorized amount as a Money object. Represents the total authorized by this transaction and its children, minus any amounts that were subsequently voided or captured.
-
#
getCapturedAmountAsMoney() -
Money - Gets the captured amount as a Money object. Represents the total captured by this transaction and its children, minus any amounts that were subsequently refunded.
-
#
getVoidedAmountAsMoney() -
Money - Gets the voided amount as a Money object. Represents the total voided by this transaction and its children.
-
#
getRefundedAmountAsMoney() -
Money - Gets the refunded amount as a Money object. Represents the total refunded by this transaction and its children.
-
#
getId() -
?int -
#
getType() -
?string -
#
getStatus() -
?string -
#
getAmount() -
?string -
#
getData() -
?array -
#
getParent() -
?Transaction -
#
getChildren() -
?Collection<Transaction> -
#
getExternalId() -
?string -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.