michangarrito/apps/backend/dist/modules/payments/payments.service.d.ts
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

13 lines
660 B
TypeScript

import { Repository } from 'typeorm';
import { PaymentMethod } from './entities/payment-method.entity';
export declare class PaymentsService {
private readonly paymentMethodRepository;
constructor(paymentMethodRepository: Repository<PaymentMethod>);
findAll(tenantId: string): Promise<PaymentMethod[]>;
findOne(tenantId: string, id: string): Promise<PaymentMethod>;
getDefault(tenantId: string): Promise<PaymentMethod | null>;
initializeForTenant(tenantId: string): Promise<PaymentMethod[]>;
toggleActive(tenantId: string, id: string): Promise<PaymentMethod>;
setDefault(tenantId: string, id: string): Promise<PaymentMethod>;
}