new project stable version
This commit is contained in:
29
lib/presentation/event/payment_confirm_event.dart
Normal file
29
lib/presentation/event/payment_confirm_event.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
import '../../domain/entities/payment_card.dart';
|
||||
|
||||
sealed class PaymentConfirmEvent {}
|
||||
|
||||
class PaymentConfirmStarted extends PaymentConfirmEvent {
|
||||
final int orderId;
|
||||
PaymentConfirmStarted(this.orderId);
|
||||
}
|
||||
|
||||
class PaymentCardChanged extends PaymentConfirmEvent {
|
||||
final PaymentCard card;
|
||||
PaymentCardChanged(this.card);
|
||||
}
|
||||
|
||||
class SelectBalancePressed extends PaymentConfirmEvent {}
|
||||
|
||||
class PayRide extends PaymentConfirmEvent {
|
||||
final int orderId;
|
||||
final int? cardId;
|
||||
final bool isBalance;
|
||||
final List<int> photoIds;
|
||||
|
||||
PayRide({
|
||||
required this.orderId,
|
||||
required this.cardId,
|
||||
required this.isBalance,
|
||||
required this.photoIds,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user