- Prefijo v2: MCH - TRACEABILITY-MASTER.yml creado - Listo para integracion como submodulo Workspace: v2.0.0 | SIMCO: v4.0.0
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>;
|
|
}
|