OrderModel class

Constructors

OrderModel({required String documentID, required String appId, MemberModel? customer, String? name, String? email, String? shipStreet1, String? shipStreet2, String? shipCity, String? shipState, String? postcode, String? country, bool? invoiceSame, String? invoiceStreet1, String? invoiceStreet2, String? invoiceCity, String? invoiceState, String? invoicePostcode, String? invoiceCountry, List<OrderItemModel>? products, double? totalPrice, String? currency, String? paymentReference, String? shipmentReference, String? deliveryReference, String? paymentNote, String? shipmentNote, String? deliveryNote, OrderStatus? status, String? timeStamp})

Properties

appId String
getter/setter pairoverride
country String?
getter/setter pair
currency String?
getter/setter pair
customer ↔ MemberModel?
getter/setter pair
deliveryNote String?
getter/setter pair
deliveryReference String?
getter/setter pair
documentID String
getter/setter pairoverride
email String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
invoiceCity String?
getter/setter pair
invoiceCountry String?
getter/setter pair
invoicePostcode String?
getter/setter pair
invoiceSame bool?
getter/setter pair
invoiceState String?
getter/setter pair
invoiceStreet1 String?
getter/setter pair
invoiceStreet2 String?
getter/setter pair
name String?
getter/setter pair
paymentNote String?
getter/setter pair
paymentReference String?
getter/setter pair
postcode String?
getter/setter pair
products List<OrderItemModel>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shipCity String?
getter/setter pair
shipmentNote String?
getter/setter pair
shipmentReference String?
getter/setter pair
shipState String?
getter/setter pair
shipStreet1 String?
getter/setter pair
shipStreet2 String?
getter/setter pair
status OrderStatus?
getter/setter pair
timeStamp String?
getter/setter pair
totalPrice double?
getter/setter pair

Methods

collectReferences({String? appId}) Future<List<ModelReference>>
override
copyWith({String? documentID, String? appId, MemberModel? customer, String? name, String? email, String? shipStreet1, String? shipStreet2, String? shipCity, String? shipState, String? postcode, String? country, bool? invoiceSame, String? invoiceStreet1, String? invoiceStreet2, String? invoiceCity, String? invoiceState, String? invoicePostcode, String? invoiceCountry, List<OrderItemModel>? products, double? totalPrice, String? currency, String? paymentReference, String? shipmentReference, String? deliveryReference, String? paymentNote, String? shipmentNote, String? deliveryNote, OrderStatus? status, String? timeStamp}) OrderModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) OrderEntity
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromEntity(String documentID, OrderEntity? entity) Future<OrderModel?>
fromEntityPlus(String documentID, OrderEntity? entity, {String? appId}) Future<OrderModel?>

Constants

id → const String
packageName → const String