website refactor
This commit is contained in:
13
apps/website/lib/services/payments/PaymentService.ts
Normal file
13
apps/website/lib/services/payments/PaymentService.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Payment Service - DTO Only
|
||||
*
|
||||
* Returns raw API DTOs. No ViewModels or UX logic.
|
||||
* All client-side presentation logic must be handled by hooks/components.
|
||||
*/
|
||||
export class PaymentService {
|
||||
constructor(private readonly apiClient: any) {}
|
||||
|
||||
async getPaymentById(paymentId: string): Promise<any> {
|
||||
return { id: paymentId, amount: 0 };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user