michangarrito/apps/backend/dist/modules/payments/payments.service.d.ts
rckrdmrd 48dea7a5d0 feat: Initial commit - michangarrito
Marketplace móvil para negocios locales mexicanos.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React Web)
- apps/mobile (Expo/React Native)
- apps/mcp-server (Claude MCP Server)
- apps/whatsapp-service (WhatsApp Business API)
- database/ (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:02 -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>;
}