UNPKG

@sourceloop/ctrl-plane-subscription-service

Version:

Subscription management microservice for SaaS control plane.

12 lines (11 loc) 617 B
import { PaymentSourceDto } from '../models'; import { IService } from 'loopback4-billing'; import { BillingCustomerRepository } from '../repositories'; export declare class BillingPaymentSourceService { private readonly billingCustomerRepository; private readonly billingProvider; constructor(billingCustomerRepository: BillingCustomerRepository, billingProvider: IService); createPaymentSource(paymentSourceDto: PaymentSourceDto): Promise<PaymentSourceDto>; getPaymentSource(paymentSourceId: string): Promise<PaymentSourceDto>; deletePaymentSource(paymentSourceId: string): Promise<void>; }