I have an Annual Subscription with one base plan and offer 7 days of free trial. According to migration note, I changed :
product.getFreeTrialPeriod()
to
product.getSubscriptionOptions().getFreeTrial()
Now the free trial is not shown in my app. Both the base plan & the offer are backward compatible.