init
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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,
|
||||
) { }
|
||||
}
|
||||
Reference in New Issue
Block a user