import { PaymentMethodEnum } from "../interface/payment";

export class paymentSucceedEvent {
  constructor(
    public readonly orderId: string,
    public readonly restaurantId: string,
    public readonly orderNumber: string,
    public readonly paymentMethod: PaymentMethodEnum,
    public readonly total: number
  ) { }
}



export class onlinePaymentSucceedEvent {
  constructor(
    public readonly paymentId: string,
    public readonly orderId: string,
    public readonly restaurantId: string,
    public readonly orderNumber: string,
    public readonly total: number,
  ) { }
}