Security, Privacy, AI and CSR information for all Piano products now lives in one place. Explore our Compliance Center.
Subscriptions
English French
English French

How to use the Option Object in Templates

The Option object in the My Account Library Components template can be used to display additional information about term upgrades in My Account.

Below is a list of variables available in this object.

termChangeOptionId: {{option.termChangeOptionId}}
toTermId: {{option.toTermId}}
toTermName: {{option.toTermName}}
toResourceName: {{option.toResourceName}}
toBillingPlan: {{option.toBillingPlan}}
billingTiming: {{option.billingTiming}}
includeTrial: {{option.includeTrial}}
description: {{option.description}}
immediateAccess: {{option.immediateAccess}}
prorateAccess: {{option.prorateAccess}}
toScheduled: {{option.toScheduled}}
fromScheduled: {{option.fromScheduled}}
fromTermName: {{option.fromTermName}}

A sample output can look like this:

Upgrade.jpg

Last updated: