Adding billingPeriod
to ratePlans
in product-catalog
#5919
Unanswered
jamesgorrie
asked this question in
RFC
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently in
support-frontend
we calculate thebillingPeriod
based on a number of factors, mainly whichratePlan
is selected.We could include this value in the
product-catalogue-api
.Currently the Zuora API stores this per
productRatePlanCharges
. e.g.If we were going to transform like for like we might have:
This might be useful - but we don't often reference the charges on the rendering of the page.
A suggestion - could we hoist this value to be a property of the
ratePlan
if all thecharges.billingPeriod
are equal?What about if they aren't the same?
invalid
state in futurecharge.billingPeriod
but default toratePlan.billingPeriod
(or visa versa)Current values in Zuora
specificBillingPeriod: number
Example of this being used:
#5914
Beta Was this translation helpful? Give feedback.
All reactions