OrderRead class
The order read body.
Constructors
-
OrderRead({OrderReadAccount? account, List<
OrderReadActivityLog?> ? activityLogs, bool? allowContract, OrderReadBillingAddress? billingAddress, OrderReadBillingPreferences? billingPreferences, String? billingStartDate, String? billingStartDayOfMonth, List<OrderReadCommunicationPreference?> ? communicationPreferences, OrderReadContractProperties? contractProperties, Object? createdBy, String? createdOn, OrderReadCurrency? currency, List<OrderReadCustomAttribute?> ? customAttributes, OrderReadCustomForm? customForm, String? customerPurchaseOrderId, String? description, OrderReadDiscountProfile? discountProfile, String? displayName, String? id, String? invoiceNote, OrderReadKpis? kpis, Object? lastUpdatedBy, String? lastUpdatedOn, List<OrderReadLine?> ? lines, OrderReadManager? 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, Object? referralAccount, Object? salesRep, OrderReadShippingAddress? shippingAddress, double? shippingCost, List<Object?> ? shippingLineItems, Object? shippingProfile, String? status, String? subtotal, String? tax, OrderReadTimeZone? timeZone, String? total, int? version}) -
const
Properties
- account → OrderReadAccount?
-
final
-
activityLogs
→ List<
OrderReadActivityLog?> ? -
final
- allowContract → bool?
-
final
- billingAddress → OrderReadBillingAddress?
-
final
- billingPreferences → OrderReadBillingPreferences?
-
final
- billingStartDate → String?
-
final
- billingStartDayOfMonth → String?
-
final
-
communicationPreferences
→ List<
OrderReadCommunicationPreference?> ? -
final
- contractProperties → OrderReadContractProperties?
-
Sent for a contract order, on the create answer and on
getOrder.final - createdBy → Object?
-
Untyped: never populated in the records measured.
final
- createdOn → String?
-
final
- currency → OrderReadCurrency?
-
final
-
customAttributes
→ List<
OrderReadCustomAttribute?> ? -
final
- customerPurchaseOrderId → String?
-
final
- customForm → OrderReadCustomForm?
-
final
- description → String?
-
final
- discountProfile → OrderReadDiscountProfile?
-
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 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
- invoiceNote → String?
-
final
- kpis → OrderReadKpis?
-
final
- lastUpdatedBy → Object?
-
Untyped: never populated in the records measured.
final
- lastUpdatedOn → String?
-
final
-
lines
→ List<
OrderReadLine?> ? -
final
- manager → OrderReadManager?
-
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 → Object?
-
Untyped: never populated in the records measured.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- salesRep → Object?
-
Untyped: never populated in the records measured.
final
- shippingAddress → OrderReadShippingAddress?
-
final
- shippingCost → double?
-
final
-
shippingLineItems
→ List<
Object?> ? -
final
- shippingProfile → Object?
-
Untyped: never populated in the records measured.
final
- status → String?
-
final
- subtotal → String?
-
final
- tax → String?
-
final
- timeZone → OrderReadTimeZone?
-
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
Constants
-
measuredFrom
→ const List<
String>