Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
collections_information_event.dart
Go to the documentation of this file.
1part of 'collections_information_bloc.dart';
2
3sealed class CollectionsInformationEvent extends Equatable {
5
6 @override
7 List<Object> get props => [];
8}
9
11 final String id;
19 final String? note;
22 final int restaurantId;
23
25 required this.id,
26 required this.collectionRequest,
27 required this.volumeDeclared,
28 required this.volumeCollected,
29 required this.recoveredDrum,
30 required this.depositedDrum,
31 required this.userId,
32 required this.reference,
33 required this.address,
34 required this.restaurant,
35 required this.restaurantId,
36 this.note,
37 });
38
39 @override
41}
42
44 final String id;
45 final DateTime invoiceDateDue;
52 final int? restaurantId;
53 final double volumeCollected;
54 final double volumeDeclared;
55
57 required this.id,
58 required this.invoiceDateDue,
59 required this.userId,
60 required this.voucherImage,
61 required this.containerImage,
62 required this.address,
63 required this.reference,
64 required this.restaurant,
65 required this.restaurantId,
66 required this.volumeCollected,
67 required this.volumeDeclared,
68 });
69
70 @override
72}
73
75 final String id;
77 final int userId;
79 final int? paymentModeId;
80 final int? contactId;
81
83 required this.id,
84 required this.invoiceDateDue,
85 required this.userId,
86 required this.signatureImage,
87 required this.paymentModeId,
88 required this.contactId,
89 });
90
91 @override
92 List<Object> get props => [userId, id, invoiceDateDue, signatureImage, paymentModeId ?? 0, contactId ?? 0];
93}
94
95class GetCollectionContactListEvent extends CollectionsInformationEvent {
96 final int restaurentId;
97
99 required this.restaurentId,
100 });
101
102 @override
103 List<Object> get props => [restaurentId];
104}
105
106class GetLowRatingResonsListEvent extends CollectionsInformationEvent {}
107
109 final int restaurentId;
110
112 required this.restaurentId,
113 });
114
115 @override
116 List<Object> get props => [restaurentId];
117}
118
119class SendCollectionRatingEvent extends CollectionsInformationEvent {
120 final String id;
123 final String? note;
124
126 required this.id,
127 required this.rate,
128 this.reasonId,
129 this.note,
130 });
131
132 @override
133 List<Object> get props => [id, rate, reasonId ?? '', note ?? ''];
134}
sealed class CheckInOutEvent extends Equatable userId
const GetCollectionContactListEvent({ required this.restaurentId, })
const SendCollectionConfirmationEvent({ required this.id, required this.invoiceDateDue, required this.userId, required this.voucherImage, required this.containerImage, required this.address, required this.reference, required this.restaurant, required this.restaurantId, required this.volumeCollected, required this.volumeDeclared, })
const SendCollectionRatingEvent({ required this.id, required this.rate, this.reasonId, this.note, })
const CollectionsInformationEvent()
override List< Object?> get props
final String volumeDeclared
const SendCollectionPaymentEvent({ required this.id, required this.invoiceDateDue, required this.userId, required this.signatureImage, required this.paymentModeId, required this.contactId, })
final String note
final String invoiceDateDue
const GetCollectionPaymentModeListEvent({ required this.restaurentId, })
final String collectionRequest
final int restaurantId
class GetCollectionContactListEvent extends CollectionsInformationEvent restaurentId
const SendCollectionInformationEvent({ required this.id, required this.collectionRequest, required this.volumeDeclared, required this.volumeCollected, required this.recoveredDrum, required this.depositedDrum, required this.userId, required this.reference, required this.address, required this.restaurant, required this.restaurantId, this.note, })
final String recoveredDrum
final String volumeCollected
final String restaurant
final String signatureImage
final String depositedDrum
class Partner String
String get(String locale)
final String address
abstract class UseCase< Type, Params > props