CreateOrderRequest class
Constructors
-
CreateOrderRequest.new(String? business, String? client, num? billing_address_id, num? shipping_address_id, num? amount, String? status, dynamic reference, bool? is_oneclick, List<
OrderItem> ? items) - CreateOrderRequest.empty()
-
factory
-
CreateOrderRequest.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amount → num?
-
final
- billing_address_id → num?
-
final
- business → String?
-
final
- client → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- is_oneclick → bool?
-
final
-
items
→ List<
OrderItem> ? -
final
- reference → dynamic
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shipping_address_id → num?
-
final
- status → String?
-
final
Methods
-
copyWith(
{String? business, String? client, num? billing_address_id, num? shipping_address_id, num? amount, String? status, dynamic reference, bool? is_oneclick}) → CreateOrderRequest -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited