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>
13 lines
660 B
TypeScript
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>;
|
|
}
|