mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 02:33:46 +00:00
* Rework implementation of payment method warnings * Move payment-method-warnings.component to module * Moved timer/subscribe to app.component * Remove unrelated refactoring * Remaining feedback * Add paymentMethodWarningsService tests * Thomas' feedback * fix tests * Use barrel file imports * Make banner work with new vault navigation * Matt's feedback
12 lines
596 B
TypeScript
12 lines
596 B
TypeScript
import { SubscriptionCancellationRequest } from "../../billing/models/request/subscription-cancellation.request";
|
|
import { OrganizationBillingStatusResponse } from "../../billing/models/response/organization-billing-status.response";
|
|
|
|
export abstract class BillingApiServiceAbstraction {
|
|
cancelOrganizationSubscription: (
|
|
organizationId: string,
|
|
request: SubscriptionCancellationRequest,
|
|
) => Promise<void>;
|
|
cancelPremiumUserSubscription: (request: SubscriptionCancellationRequest) => Promise<void>;
|
|
getBillingStatus: (id: string) => Promise<OrganizationBillingStatusResponse>;
|
|
}
|