Order class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
Order(dynamic id, dynamic createdAt, dynamic updatedAt, dynamic objectType, dynamic mode, Address? buyerAddress, List<
CarrierAccount> ? carrierAccounts, CustomsInfo? customsInfo, Address? fromAddress, bool? isReturn, List<Message> ? messages, List<OrderRate> ? rates, String? reference, Address? returnAddress, String? service, List<Shipment> ? shipments, Address? toAddress) -
Order.fromJson(Map<
String, dynamic> input) -
factory
Properties
- buyerAddress → Address?
-
final
-
carrierAccounts
→ List<
CarrierAccount> ? -
final
- createdAt → DateTime?
-
finalinherited
- customsInfo → CustomsInfo?
-
final
- fromAddress → Address?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
finalinherited
- isReturn → bool?
-
final
-
messages
→ List<
Message> ? -
final
- mode → String?
-
finalinherited
- objectType → String?
-
finalinherited
- prefix → String?
-
no setterinherited
-
rates
→ List<
OrderRate> ? -
final
- reference → String?
-
final
- returnAddress → Address?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → String?
-
final
-
shipments
→ List<
Shipment> ? -
final
- toAddress → Address?
-
final
- updatedAt → DateTime?
-
finalinherited
Methods
-
associatedOrderRate(
QuotedRate rate, {bool lockPrice = false}) → OrderRate? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited