import { Result } from '@/lib/contracts/Result'; import { DomainError, Service } from '@/lib/contracts/services/Service'; /** * 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 implements Service { constructor() {} async getPaymentById(paymentId: string): Promise> { return Result.ok({ id: paymentId, amount: 0 }); } }