Invoice class

One invoice.

Inheritance

Constructors

Invoice({String? accountId, String? accountName, List<InvoiceActivityLog?>? activityLogs, String? alternateBillingEndDate, String? alternateBillingStartDate, String? alternateDueDate, String? alternateIssueDate, String? billingEndDate, String? billingStartDate, int? code, InvoiceCreatedBy? createdBy, String? createdOn, String? creditApplied, String? creditIssued, InvoiceCurrency? currency, List<Object?>? customAttributes, InvoiceCustomForm? customForm, List<Object?>? customObjects, String? customerPurchaseOrderId, double? discountAmount, String? due, String? dueDate, String? id, String? invoiceNote, List<Object?>? invoices, String? issueDate, Object? itemFulfillment, List<Object?>? itemFulfillments, Object? kpis, InvoiceLastPayment? lastPayment, InvoiceLastUpdatedBy? lastUpdatedBy, String? lastUpdatedOn, List<InvoiceLine?>? lines, String? message, Object? note, List<Object?>? notes, String? orderId, String? origin, String? outstanding, Object? pagination, String? paid, String? paymentApplied, String? paymentStatus, bool? priceTaxInclusive, String? recurringRateCount, Object? returnMerchandiseAuthorisation, List<Object?>? returnMerchandiseAuthorisations, String? shippingCost, String? status, String? subtotal, String? tax, String? taxTotal, String? total, String? type, String? usageRateCount, String? uuid, int? version, String? object, InvoiceAccount? account, InvoiceOrder? order})
const

Properties

account → InvoiceAccount?
final
accountId → String?
final
accountName → String?
final
activityLogs → List<InvoiceActivityLog?>?
final
alternateBillingEndDate → String?
final
alternateBillingStartDate → String?
final
alternateDueDate → String?
final
alternateIssueDate → String?
final
billingEndDate → String?
final
billingStartDate → String?
final
code → int?
final
createdBy → InvoiceCreatedBy?
final
createdOn → String?
final
creditApplied → String?
final
creditIssued → String?
final
currency → InvoiceCurrency?
final
customAttributes → List<Object?>?
final
customerPurchaseOrderId → String?
final
customForm → InvoiceCustomForm?
final
customObjects → List<Object?>?
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 setteroverride
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
invoices → List<Object?>?
final
issueDate → String?
final
itemFulfillment → Object?
final
itemFulfillments → List<Object?>?
final
kpis → Object?
final
lastPayment → InvoiceLastPayment?
final
lastUpdatedBy → InvoiceLastUpdatedBy?
final
lastUpdatedOn → String?
final
lines → List<InvoiceLine?>?
final
message → String?
final
note → Object?
final
notes → List<Object?>?
final
object → String?
final
order → InvoiceOrder?
final
orderId → String?
final
origin → String?
final
outstanding → String?
final
pagination → Object?
final
final
paymentApplied → String?
final
paymentStatus → String?
final
priceTaxInclusive → bool?
final
recurringRateCount → String?
final
returnMerchandiseAuthorisation → Object?
final
returnMerchandiseAuthorisations → List<Object?>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shippingCost → String?
final
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
usageRateCount → String?
final
uuid → 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) → Invoice?