@sourceloop/ctrl-plane-subscription-service
Version:
Subscription management microservice for SaaS control plane.
10 lines (9 loc) • 544 B
TypeScript
import { PaymentSourceDto } from '../models/dto/payment-dto.model';
import { BillingPaymentSourceService } from '../services/billing-payment-source.service';
export declare class BillingPaymentSourceController {
private readonly billingPaymentSourceService;
constructor(billingPaymentSourceService: BillingPaymentSourceService);
create(paymentSourceDto: PaymentSourceDto): Promise<PaymentSourceDto>;
getPaymentSource(paymentSourceId: string): Promise<PaymentSourceDto>;
deleteById(paymentSourceId: string): Promise<void>;
}