CreateOrderResponse class
创建订单响应
Constructors
- CreateOrderResponse({required bool success, OrderDetail? order, String? orderId, String? orderSn, String? outOrderSn, double? totalAmount, int? totalQuantity, String? message})
-
CreateOrderResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
final
- order → OrderDetail?
-
final
- orderId → String?
-
final
- orderSn → String?
-
final
- outOrderSn → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → bool
-
final
- totalAmount → double?
-
final
- totalQuantity → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited