SingleOrder class
Constructors
-
SingleOrder({required String sId, required String orderDate, required String orderId, required String? bookingId, required String? cancellationReason, required String? cancellationDate, required String? returnReason, required String? returnRequestedDate, required String? returnRejectionReason, required double shippingFees, required int? paymentStatus, required BillingAddress? billingAddress, required ShippingAddress? shippingAddress, required User? user, required double? subTotal, required double? totalGst, required double? totalAmount, required int? orderStatus, required List<
OrderItem> ? orderItem, required String? sTypename}) -
SingleOrder.fromJson(Map<
String, dynamic> json)
Properties
- billingAddress ↔ BillingAddress?
-
latefinal
- bookingId ↔ String?
-
latefinal
- cancellationDate ↔ String?
-
latefinal
- cancellationReason ↔ String?
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- orderDate ↔ String
-
latefinal
- orderId ↔ String
-
latefinal
-
orderItem
↔ List<
OrderItem> ? -
latefinal
- orderStatus ↔ int?
-
latefinal
- paymentStatus ↔ int?
-
latefinal
- returnReason ↔ String?
-
latefinal
- returnRejectionReason ↔ String?
-
latefinal
- returnRequestedDate ↔ String?
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippingAddress ↔ ShippingAddress?
-
latefinal
- shippingFees ↔ double
-
latefinal
- sId ↔ String
-
latefinal
- sTypename ↔ String?
-
latefinal
- subTotal ↔ double?
-
latefinal
- totalAmount ↔ double?
-
latefinal
- totalGst ↔ double?
-
latefinal
- user ↔ User?
-
latefinal
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