LabourOrder class
One entry of a LabourOrderList's data.
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?
-
final
- billingPreferences → LabourOrderBillingPreferences?
-
final
- billingStartDate → String?
-
final
-
communicationPreferences
→ List<
LabourOrderCommunicationPreference?> ? -
final
- createdBy → Object?
-
final
- createdOn → String?
-
final
- currency → LabourOrderCurrency?
-
final
- customerPurchaseOrderId → Object?
-
final
- customForm → LabourOrderCustomForm?
-
final
- description → Object?
-
final
- discountProfile → Object?
-
final
- displayName → String?
-
final
- envelopeKey → String?
-
The key the API wraps this record in -
'account'for{"account": {...}}.readRecordunwraps 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?
-
final
- lastUpdatedBy → Object?
-
final
- lastUpdatedOn → String?
-
final
- manager → Object?
-
final
- name → String?
-
final
- nextBillingFromDate → String?
-
final
- object → String?
-
final
- orderStartDate → String?
-
final
- orderType → String?
-
final
- origin → Object?
-
final
- originalTotal → Object?
-
final
- preOrder → bool?
-
final
- priceTaxInclusive → bool?
-
final
- quoteConverted → bool?
-
final
- quoteOrder → bool?
-
final
- referralAccount → Object?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- salesRep → Object?
-
final
- shippingAddress → Object?
-
final
- shippingCost → double?
-
final
- shippingProfile → Object?
-
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?