OrderEdit class
- Annotations
-
- @JsonSerializable()
Constructors
-
OrderEdit({required String id, required String orderId, Order? order, List<
OrderItemChange> ? changes, String? internalNote, required String createdBy, String? requestedBy, String? requestedAt, String? confirmedBy, String? confirmedAt, String? declinedBy, String? declinedAt, String? declinedReason, String? canceledBy, String? canceledAt, double? subtotal, double? discountTotal, double? shippingTotal, double? giftCardTotal, double? giftCardTaxTotal, double? taxTotal, double? total, double? differenceDue, required String status, List<LineItem> ? items, String? paymentCollectionId, PaymentCollection? paymentCollection, required String createdAt, required String updatedAt}) -
OrderEdit.fromJson(Map<
String, dynamic> json) -
factory
Properties
- canceledAt ↔ String?
-
getter/setter pair
- canceledBy ↔ String?
-
getter/setter pair
-
changes
↔ List<
OrderItemChange> ? -
getter/setter pair
- confirmedAt ↔ String?
-
getter/setter pair
- confirmedBy ↔ String?
-
getter/setter pair
- createdAt ↔ String
-
getter/setter pair
- createdBy ↔ String
-
getter/setter pair
- declinedAt ↔ String?
-
getter/setter pair
- declinedBy ↔ String?
-
getter/setter pair
- declinedReason ↔ String?
-
getter/setter pair
- differenceDue ↔ double?
-
getter/setter pair
- discountTotal ↔ double?
-
getter/setter pair
- giftCardTaxTotal ↔ double?
-
getter/setter pair
- giftCardTotal ↔ double?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pair
- internalNote ↔ String?
-
getter/setter pair
-
items
↔ List<
LineItem> ? -
getter/setter pair
- order ↔ Order?
-
getter/setter pair
- orderId ↔ String
-
getter/setter pair
- paymentCollection ↔ PaymentCollection?
-
getter/setter pair
- paymentCollectionId ↔ String?
-
getter/setter pair
- requestedAt ↔ String?
-
getter/setter pair
- requestedBy ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippingTotal ↔ double?
-
getter/setter pair
- status ↔ String
-
getter/setter pair
- subtotal ↔ double?
-
getter/setter pair
- taxTotal ↔ double?
-
getter/setter pair
- total ↔ double?
-
getter/setter pair
- updatedAt ↔ String
-
getter/setter pair
Methods
-
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