backend/lib/__hooks/index.ts
2025-05-14 21:45:16 +02:00

30 lines
820 B
TypeScript

export class AsyncHooksService {
/* [MODULES - SHOP] */
public async afterCheckout(): Promise<any> {
console.log('[NO ACTION] - afterCheckout');
}
public async afterOrderCancel(data,ctx): Promise<any> {
console.log('[NO ACTION] - afterCheckout');
}
public async afterOrdersMarkOneAsPaid(data,ctx): Promise<any> {
console.log('[NO ACTION] - afterCheckout');
}
public async afterOrdersMarkOneAsUnPaid(data,ctx): Promise<any> {
console.log('[NO ACTION] - afterCheckout');
}
public async afterOrdersReimbursed(data,ctx): Promise<any> {
console.log('[NO ACTION] - afterOrdersReimbursed');
}
/* [MODULES - EVENTS] */
public async afterCheckoutEvent(): Promise<any> {
console.log('[NO ACTION] - afterCheckout');
}
}