LabourOrder class

One entry of a LabourOrderList's data.

Inheritance

Constructors

LabourOrder({LabourOrderAccount? account, bool? allowContract, Object? billingAddress, LabourOrderBillingPreferences? billingPreferences, String? billingStartDate, List<LabourOrderCommunicationPreference?>? communicationPreferences, Object? createdBy, String? createdOn, LabourOrderCurrency? currency, LabourOrderCustomForm? customForm, Object? customerPurchaseOrderId, Object? description, Object? discountProfile, String? displayName, String? id, Object? invoiceNote, Object? lastUpdatedBy, String? lastUpdatedOn, Object? manager, String? name, String? nextBillingFromDate, String? object, String? orderStartDate, String? orderType, Object? origin, Object? originalTotal, bool? preOrder, bool? priceTaxInclusive, bool? quoteConverted, bool? quoteOrder, Object? referralAccount, Object? salesRep, Object? shippingAddress, double? shippingCost, Object? shippingProfile, String? status, LabourOrderTimeZone? timeZone, int? version})
const

Properties

account → LabourOrderAccount?
final
allowContract → bool?
final
billingAddress → Object?
Untyped: null in every record measured.
final
billingPreferences → LabourOrderBillingPreferences?
final
billingStartDate → String?
final
communicationPreferences → List<LabourOrderCommunicationPreference?>?
final
createdBy → Object?
Untyped: null in every record measured.
final
createdOn → String?
final
currency → LabourOrderCurrency?
final
customerPurchaseOrderId → Object?
Untyped: null in every record measured.
final
customForm → LabourOrderCustomForm?
final
description → Object?
Untyped: null in every record measured.
final
discountProfile → Object?
Untyped: null in every record measured.
final
displayName → 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 → Object?
Untyped: null in every record measured.
final
lastUpdatedBy → Object?
Untyped: null in every record measured.
final
lastUpdatedOn → String?
final
manager → Object?
Untyped: null in every record measured.
final
name → String?
final
nextBillingFromDate → String?
final
object → String?
final
orderStartDate → String?
final
orderType → String?
final
origin → Object?
Untyped: null in every record measured.
final
originalTotal → Object?
Untyped: null in every record measured.
final
preOrder → bool?
final
priceTaxInclusive → bool?
final
quoteConverted → bool?
final
quoteOrder → bool?
final
referralAccount → Object?
Untyped: null in every record measured.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
salesRep → Object?
Untyped: null in every record measured.
final
shippingAddress → Object?
Untyped: null in every record measured.
final
shippingCost → double?
final
shippingProfile → Object?
Untyped: null in every record measured.
final
status → String?
final
timeZone → LabourOrderTimeZone?
final
topLevelFields → Set<String>
Fields that sit beside the envelope rather than inside it.
no setterinherited
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) → LabourOrder?