SettingDTOOrder class
A DTO for the order model.
This class provides a common structure for all order DTOs, including an invoice prefix, invoice start number, guest order, can create order, minimum cart amount, and default cargo price. It also provides methods to convert the DTO to and from a JSON object.
Constructors
Properties
- canCreateOrder ↔ bool?
-
getter/setter pair
- createdAt ↔ String?
-
getter/setter pair
- defaultCargoPrice ↔ int?
-
getter/setter pair
- guestOrder ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pair
- invoicePrefix ↔ String?
-
getter/setter pair
- invoiceStartNumber ↔ String?
-
getter/setter pair
- minimumCartAmount ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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