part of 'payment_form_bloc.dart';

@freezed
class PaymentFormEvent with _$PaymentFormEvent {
  const factory PaymentFormEvent.setOrder(Order order) = _SetOrder;
  const factory PaymentFormEvent.setPaymentMethod(PaymentMethod paymentMethod) =
      _SetPayment;
  const factory PaymentFormEvent.submitted() = _Submitted;
  const factory PaymentFormEvent.submittedSplitBill({
    SplitType? splitType,
    String? customerId,
    String? customerName,
  }) = _SubmittedSplitBill;
}
