AccountInvoice class

One entry of a AccountInvoiceList's data.

Inheritance

Constructors

AccountInvoice({String? object, String? id, String? status, String? type, AccountInvoiceCustomForm? customForm, AccountInvoiceCurrency? currency, AccountInvoiceAccount? account, AccountInvoiceOrder? order, String? customerPurchaseOrderId, String? origin, String? invoiceNote, bool? priceTaxInclusive, String? paymentStatus, String? billingStartDate, String? alternateBillingStartDate, String? billingEndDate, String? alternateBillingEndDate, String? issueDate, String? alternateIssueDate, String? dueDate, String? alternateDueDate, String? subtotal, String? tax, String? taxTotal, String? total, String? paid, String? due, double? discountAmount, AccountInvoiceLastPayment? lastPayment, String? createdOn, String? lastUpdatedOn, AccountInvoiceCreatedBy? createdBy, AccountInvoiceLastUpdatedBy? lastUpdatedBy, int? version})
const

Properties

account → AccountInvoiceAccount?
final
alternateBillingEndDate → String?
final
alternateBillingStartDate → String?
final
alternateDueDate → String?
final
alternateIssueDate → String?
final
billingEndDate → String?
final
billingStartDate → String?
final
createdBy → AccountInvoiceCreatedBy?
final
createdOn → String?
final
currency → AccountInvoiceCurrency?
final
customerPurchaseOrderId → String?
final
customForm → AccountInvoiceCustomForm?
final
discountAmount → double?
final
due → String?
final
dueDate → String?
final
envelopeKey → String?
The key the API wraps this record in - 'account' for {"account": {...}}. readRecord unwraps it on the way in, toMap puts it back on the way out.
no setterinherited
fields → Map<String, Object?>
Every field this type declares, keyed by wire name, in the order it sends them.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
invoiceNote → String?
final
issueDate → String?
final
lastPayment → AccountInvoiceLastPayment?
final
lastUpdatedBy → AccountInvoiceLastUpdatedBy?
final
lastUpdatedOn → String?
final
object → String?
final
order → AccountInvoiceOrder?
final
origin → String?
final
final
paymentStatus → String?
final
priceTaxInclusive → bool?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String?
final
subtotal → String?
final
tax → String?
final
taxTotal → String?
final
topLevelFields → Set<String>
Fields that sit beside the envelope rather than inside it.
no setterinherited
total → String?
final
type → String?
final
version → int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
The body this DTO stands for, envelope included.
inherited
toString() → String
Set fields, values under a secret-named key masked.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromMap(Object? body) → AccountInvoice?