Type alias CheckoutLocalization
Checkout
Localization
: { addAddonText
: string; billingPeriodsTitle
: string; changePlan
: string; checkoutButton
: { downgradeToFreeText
: string; nextText
: string; noChangesText
: string; updateText
: string; upgradeText
: string }; downgradeToFree
: { alertText
: ((params
: { plan
: Plan }) => string); freePlanHeader
: ((params
: { plan
: Plan }) => string); freePlanName
: ((params
: { plan
: Plan }) => string); freePlanPriceText
: ((params
: { plan
: Plan }) => string); paidPlanHeader
: ((params
: { plan
: Plan }) => string); paidPlanName
: ((params
: { plan
: Plan }) => string); paidPlanPriceText
: ((params
: { billingPeriod
?: BillingPeriod; plan
: Plan }) => string) }; newPaymentMethodBillingAddressTitle
: string; newPaymentMethodCardTitle
: string; newPaymentMethodText
: string; summary
: { addCouponCodeText
: string; addonsSectionTitle
: string; appliedCreditsTitle
: string; baseChargeText
: string | ((params
: { billingPeriod
: BillingPeriod }) => string); changesWillApplyAtEndOfBillingPeriod
: string | ((params
: { billingPeriodEnd
: Date }) => string); checkoutSuccessText
: string; couponCodeTitle
: string; creditsForUnusedTimeText
: ((params
: { credits
: string }) => string); discountText
: ((params
: { currency
: string; discountDetails
: SubscriptionPreviewDiscount }) => string); discountsSectionTitle
: string; onlyPayAsYouGoText
: string; payAsYouGoTooltipText
: string; planName
: ((params
: { plan
: Plan }) => string); proratedTotalDueText
: string; startsAtText
: string; taxTitle
: ((params
: { taxDetails
: SubscriptionPreviewTaxDetails }) => string); title
: string; totalBillingPeriodText
: ((params
: { billingPeriod
: BillingPeriod }) => string); totalDueText
: string; totalText
: string } }
Type declaration
-
addAddonText: string
-
billingPeriodsTitle: string
-
changePlan: string
-
checkoutButton: { downgradeToFreeText: string; nextText: string; noChangesText: string; updateText: string; upgradeText: string }
-
downgradeToFreeText: string
-
nextText: string
-
noChangesText: string
-
updateText: string
-
upgradeText: string
-
downgradeToFree: { alertText: ((params: { plan: Plan }) => string); freePlanHeader: ((params: { plan: Plan }) => string); freePlanName: ((params: { plan: Plan }) => string); freePlanPriceText: ((params: { plan: Plan }) => string); paidPlanHeader: ((params: { plan: Plan }) => string); paidPlanName: ((params: { plan: Plan }) => string); paidPlanPriceText: ((params: { billingPeriod?: BillingPeriod; plan: Plan }) => string) }
-
alertText: ((params: { plan: Plan }) => string)
-
- (params: { plan: Plan }): string
-
Returns string
-
freePlanHeader: ((params: { plan: Plan }) => string)
-
- (params: { plan: Plan }): string
-
Returns string
-
freePlanName: ((params: { plan: Plan }) => string)
-
- (params: { plan: Plan }): string
-
Returns string
-
freePlanPriceText: ((params: { plan: Plan }) => string)
-
- (params: { plan: Plan }): string
-
Returns string
-
paidPlanHeader: ((params: { plan: Plan }) => string)
-
- (params: { plan: Plan }): string
-
Returns string
-
paidPlanName: ((params: { plan: Plan }) => string)
-
- (params: { plan: Plan }): string
-
Returns string
-
paidPlanPriceText: ((params: { billingPeriod?: BillingPeriod; plan: Plan }) => string)
-
newPaymentMethodBillingAddressTitle: string
-
newPaymentMethodCardTitle: string
-
newPaymentMethodText: string
-
summary: { addCouponCodeText: string; addonsSectionTitle: string; appliedCreditsTitle: string; baseChargeText: string | ((params: { billingPeriod: BillingPeriod }) => string); changesWillApplyAtEndOfBillingPeriod: string | ((params: { billingPeriodEnd: Date }) => string); checkoutSuccessText: string; couponCodeTitle: string; creditsForUnusedTimeText: ((params: { credits: string }) => string); discountText: ((params: { currency: string; discountDetails: SubscriptionPreviewDiscount }) => string); discountsSectionTitle: string; onlyPayAsYouGoText: string; payAsYouGoTooltipText: string; planName: ((params: { plan: Plan }) => string); proratedTotalDueText: string; startsAtText: string; taxTitle: ((params: { taxDetails: SubscriptionPreviewTaxDetails }) => string); title: string; totalBillingPeriodText: ((params: { billingPeriod: BillingPeriod }) => string); totalDueText: string; totalText: string }
-
addCouponCodeText: string
-
addonsSectionTitle: string
-
appliedCreditsTitle: string
-
baseChargeText: string | ((params: { billingPeriod: BillingPeriod }) => string)
-
changesWillApplyAtEndOfBillingPeriod: string | ((params: { billingPeriodEnd: Date }) => string)
-
checkoutSuccessText: string
-
couponCodeTitle: string
-
creditsForUnusedTimeText: ((params: { credits: string }) => string)
-
- (params: { credits: string }): string
-
Parameters
-
params: { credits: string }
Returns string
-
discountText: ((params: { currency: string; discountDetails: SubscriptionPreviewDiscount }) => string)
-
discountsSectionTitle: string
-
onlyPayAsYouGoText: string
-
payAsYouGoTooltipText: string
-
planName: ((params: { plan: Plan }) => string)
-
- (params: { plan: Plan }): string
-
Returns string
-
proratedTotalDueText: string
-
startsAtText: string
-
-
title: string
-
totalBillingPeriodText: ((params: { billingPeriod: BillingPeriod }) => string)
-
- (params: { billingPeriod: BillingPeriod }): string
-
Returns string
-
totalDueText: string
-
totalText: string