getBestFreeTrial

fun getBestFreeTrial(offers: List<ProductDetails.SubscriptionOfferDetails>?): ProductDetails.SubscriptionOfferDetails?

Return

The longest free trial offer among the given offers. If no free trial is available, returns null.

Parameters

offers

: List of SubscriptionOfferDetails