PurchaseInvoiceRead class

The purchase invoice read body.

Inheritance

Constructors

PurchaseInvoiceRead({PurchaseInvoiceReadAccount? account, List<Object?>? activityLogs, String? alternateDueDate, String? alternateIssueDate, PurchaseInvoiceReadCreatedBy? createdBy, String? createdOn, PurchaseInvoiceReadCurrency? currency, List<PurchaseInvoiceReadCustomAttribute?>? customAttributes, Object? customForm, String? dueDate, String? id, String? issueDate, PurchaseInvoiceReadKpis? kpis, PurchaseInvoiceReadLastUpdatedBy? lastUpdatedBy, String? lastUpdatedOn, List<PurchaseInvoiceReadLine?>? lines, String? object, String? origin, String? paymentStatus, bool? priceTaxInclusive, PurchaseInvoiceReadPurchaseOrder? purchaseOrder, String? status, String? subtotal, String? tax, String? total, String? uuid, int? version})
const

Properties

account → PurchaseInvoiceReadAccount?
final
activityLogs → List<Object?>?
final
alternateDueDate → String?
final
alternateIssueDate → String?
final
createdBy → PurchaseInvoiceReadCreatedBy?
final
createdOn → String?
final
currency → PurchaseInvoiceReadCurrency?
final
customAttributes → List<PurchaseInvoiceReadCustomAttribute?>?
final
customForm → Object?
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
issueDate → String?
final
kpis → PurchaseInvoiceReadKpis?
final
lastUpdatedBy → PurchaseInvoiceReadLastUpdatedBy?
final
lastUpdatedOn → String?
final
lines → List<PurchaseInvoiceReadLine?>?
final
object → String?
final
origin → String?
final
paymentStatus → String?
final
priceTaxInclusive → bool?
final
purchaseOrder → PurchaseInvoiceReadPurchaseOrder?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String?
final
subtotal → String?
final
tax → String?
final
topLevelFields → Set<String>
Fields that sit beside the envelope rather than inside it.
no setterinherited
total → 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) → PurchaseInvoiceRead?