OrderBodyDataModel class

Inheritance

Constructors

OrderBodyDataModel({OrderType? type, String? note, String? billingAddressId, String? shippingAddressId, List<CampaignDTO>? campaigns, AddressDTO? billingAddress, AddressDTO? shippingAddress, String? paymentMethod, String? deliveryDate})

Properties

billingAddress AddressDTO?
final
billingAddressId String?
final
campaigns List<CampaignDTO>?
final
deliveryDate String?
final
hashCode int
The hash code for this object.
no setterinherited
note String?
final
paymentMethod String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingAddress AddressDTO?
final
shippingAddressId String?
final
type OrderType?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFormData() Future<FormData?>?
Converts the body data model to a FormData object.
override
toPostJson() Map<String, dynamic>?
Converts the body data model to a JSON object for a POST request.
override
toPutJson() Map<String, dynamic>?
Converts the body data model to a JSON object for a PUT request.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited