Order class

The order body.

Inheritance

Constructors

Order({OrderAccount? account, bool? allowContract, OrderBillingAddress? billingAddress, OrderBillingPreferencesEntry? billingPreferences, String? billingStartDate, String? billingStartDayOfMonth, List<OrderCommunicationPreference?>? communicationPreferences, OrderContractProperties? contractProperties, Object? createdBy, String? createdOn, OrderCurrency? currency, OrderCustomForm? customForm, String? customerPurchaseOrderId, String? description, OrderDiscountProfile? discountProfile, String? displayName, String? id, String? invoiceNote, Object? lastUpdatedBy, String? lastUpdatedOn, OrderManager? manager, String? name, String? nextBillingFromDate, String? nextBillingFromDateUtc, String? object, String? orderStartDate, String? orderType, String? origin, String? originalTotal, bool? preOrder, bool? priceTaxInclusive, bool? quoteConverted, bool? quoteOrder, OrderReferralAccount? referralAccount, OrderSalesRep? salesRep, OrderShippingAddress? shippingAddress, double? shippingCost, OrderShippingProfile? shippingProfile, String? status, OrderTimeZone? timeZone, int? version})
const

Properties

account → OrderAccount?
final
allowContract → bool?
final
billingAddress → OrderBillingAddress?
final
billingPreferences → OrderBillingPreferencesEntry?
final
billingStartDate → String?
final
billingStartDayOfMonth → String?
final
communicationPreferences → List<OrderCommunicationPreference?>?
final
contractProperties → OrderContractProperties?
final
createdBy → Object?
Untyped: never populated in the records measured.
final
createdOn → String?
final
currency → OrderCurrency?
final
customerPurchaseOrderId → String?
final
customForm → OrderCustomForm?
final
description → String?
final
discountProfile → OrderDiscountProfile?
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 → String?
final
lastUpdatedBy → Object?
Untyped: never populated in the records measured.
final
lastUpdatedOn → String?
final
manager → OrderManager?
final
name → String?
final
nextBillingFromDate → String?
final
nextBillingFromDateUtc → String?
final
object → String?
final
orderStartDate → String?
final
orderType → String?
final
origin → String?
final
originalTotal → String?
final
preOrder → bool?
final
priceTaxInclusive → bool?
final
quoteConverted → bool?
final
quoteOrder → bool?
final
referralAccount → OrderReferralAccount?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
salesRep → OrderSalesRep?
final
shippingAddress → OrderShippingAddress?
final
shippingCost → double?
final
shippingProfile → OrderShippingProfile?
final
status → String?
final
timeZone → OrderTimeZone?
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) → Order?

Constants

measuredFrom → const List<String>