Booking class

The booking body.

Inheritance

Constructors

Booking({BookingAccount? account, bool? allowContract, BookingBillingAddress? billingAddress, BookingBillingPreferences? billingPreferences, String? billingStartDate, String? billingStartDayOfMonth, List<BookingCommunicationPreference?>? communicationPreferences, BookingContractProperties? contractProperties, Object? createdBy, String? createdOn, BookingCurrency? currency, BookingCustomForm? customForm, String? customerPurchaseOrderId, String? description, BookingDiscountProfile? discountProfile, String? displayName, String? id, String? invoiceNote, Object? lastUpdatedBy, String? lastUpdatedOn, BookingManager? 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, BookingReferralAccount? referralAccount, BookingSalesRep? salesRep, BookingShippingAddress? shippingAddress, double? shippingCost, BookingShippingProfile? shippingProfile, String? status, BookingTimeZone? timeZone, int? version})
const

Properties

account → BookingAccount?
final
allowContract → bool?
final
billingAddress → BookingBillingAddress?
final
billingPreferences → BookingBillingPreferences?
final
billingStartDate → String?
final
billingStartDayOfMonth → String?
final
communicationPreferences → List<BookingCommunicationPreference?>?
final
contractProperties → BookingContractProperties?
final
createdBy → Object?
final
createdOn → String?
final
currency → BookingCurrency?
final
customerPurchaseOrderId → String?
final
customForm → BookingCustomForm?
final
description → String?
final
discountProfile → BookingDiscountProfile?
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?
final
lastUpdatedOn → String?
final
manager → BookingManager?
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 → BookingReferralAccount?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
salesRep → BookingSalesRep?
final
shippingAddress → BookingShippingAddress?
final
shippingCost → double?
final
shippingProfile → BookingShippingProfile?
final
status → String?
final
timeZone → BookingTimeZone?
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) → Booking?