Merge pull request #21957 from overleaf/ls-compute-immediate-charge-for-subscription-update

compute immediate charge for subscription update

GitOrigin-RevId: 4e5162660b26e6e9db69827a59aa8e0048fa7d5d
This commit is contained in:
Liangjun Song
2024-11-22 09:05:12 +00:00
committed by Copybot
parent 583923a4d0
commit ac8d8d6edc
6 changed files with 120 additions and 14 deletions
@@ -2,10 +2,14 @@ export type SubscriptionChangePreview = {
change: SubscriptionChangeDescription
currency: string
paymentMethod: string
immediateCharge: number
nextPlan: {
annual: boolean
}
immediateCharge: {
subtotal: number
tax: number
total: number
}
nextInvoice: {
date: string
plan: {