InvoiceLine class

One entry of a Invoice's lines.

Inheritance

Constructors

InvoiceLine({String? object, String? id, InvoiceLineItem? item, InvoiceLineTax? tax, InvoiceLineAccountingCode? accountingCode, String? itemUuid, String? itemId, String? itemName, String? itemChargeType, int? itemOrderQuantity, Object? itemUom, String? itemWarehouse, String? pricingSnapshotUuid, double? pricingSnapshotPrice, String? subtotal, String? total, List<Object?>? itemCustomAttributes, int? version, String? itemSerialOrBatchNumber, String? chargingStartDate, String? alternateChargingStartDate, String? chargingEndDate, String? alternateChargingEndDate})
const

Properties

accountingCode → InvoiceLineAccountingCode?
final
alternateChargingEndDate → String?
final
alternateChargingStartDate → String?
final
chargingEndDate → String?
final
chargingStartDate → 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
item → InvoiceLineItem?
final
itemChargeType → String?
final
itemCustomAttributes → List<Object?>?
Untyped entries: empty in every record measured.
final
itemId → String?
final
itemName → String?
final
itemOrderQuantity → int?
final
itemSerialOrBatchNumber → String?
Not sent on a line without a serialised item, where it reads null.
final
itemUom → Object?
Untyped: null in every record measured.
final
itemUuid → String?
final
itemWarehouse → String?
final
object → String?
final
pricingSnapshotPrice → double?
final
pricingSnapshotUuid → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subtotal → String?
final
tax → InvoiceLineTax?
final
topLevelFields → Set<String>
Fields that sit beside the envelope rather than inside it.
no setterinherited
total → 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) → InvoiceLine?