ProductDetails.SubscriptionOfferDetails

public static final class ProductDetails.SubscriptionOfferDetails
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.ProductDetails.SubscriptionOfferDetails
Included in documentation by the annotations: @Annotations.ProductDetails

Represents the available purchase plans to buy a subscription product.

Summary

Public methods

List<String> getOfferTags()

Returns the offer tags associated with this Subscription Offer.

String getOfferToken()

Returns the offer token required to pass in launchBillingFlow to purchase the subscription product with these pricing phases.

ProductDetails.PricingPhases getPricingPhases()

Returns the pricing phases for the subscription product.

Inherited methods

Public methods

getOfferTags

public List<String> getOfferTags ()

Returns the offer tags associated with this Subscription Offer.

Returns
List<String>

getOfferToken

public String getOfferToken ()

Returns the offer token required to pass in launchBillingFlow to purchase the subscription product with these pricing phases.

Returns
String

getPricingPhases

public ProductDetails.PricingPhases getPricingPhases ()

Returns the pricing phases for the subscription product.

Returns
ProductDetails.PricingPhases