9 required this.collection,
10 required this.priceUnit,
11 required this.product,
12 required this.quantityBilled,
13 required this.quantityReceived,
19 priceUnit: json[
'priceUnit']?.toDouble() ?? 0.0,
50 required this.billStatus,
51 required this.collectionConfirmRef,
52 required this.collectionOrderRef,
53 required this.confirmationDate,
56 required this.partnerId,
57 required this.paymentBillRef,
58 required this.receiptStatus,
69 name: json[
'name'] ??
'',
73 status: json[
'status'] ??
'',
104 required this.contactName,
106 required this.isCompany,
108 required this.parentId,
109 required this.partnerLatitude,
110 required this.partnerLongitude,
111 required this.street,
114 factory
Partner.fromJson(Map<String, dynamic> json) {
119 name: json[
'name'] ??
'',
123 street: json[
'street'] ??
'',
Map< String, dynamic > toJson()
final double quantityReceived
final Collection collection
CollectionVoucherDocumentModel({ required this.collection, required this.priceUnit, required this.product, required this.quantityBilled, required this.quantityReceived, })
final double quantityBilled
factory Partner fromJson(Map< String, dynamic > json)
final String partnerLongitude
Partner({ required this.contactName, required this.id, required this.isCompany, required this.name, required this.parentId, required this.partnerLatitude, required this.partnerLongitude, required this.street, })
Map< String, dynamic > toJson()
final String partnerLatitude
class CollectionVoucherDocumentModel billStatus
final String paymentBillRef
Collection({ required this.billStatus, required this.collectionConfirmRef, required this.collectionOrderRef, required this.confirmationDate, required this.id, required this.name, required this.partnerId, required this.paymentBillRef, required this.receiptStatus, required this.status, })
final String confirmationDate
final String collectionConfirmRef
final String receiptStatus
final String collectionOrderRef
Map< String, dynamic > toJson()